-
Notifications
You must be signed in to change notification settings - Fork 92
/
ChangeLog
2992 lines (1978 loc) · 102 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
2023-07-18 Rene Kita <[email protected]>
* etc.c: Fix OOB access due to multiple backspaces.
Origin: https://github.com/tats/w3m/pull/273
Bug-Debian: https://github.com/tats/w3m/issues/268
Bug-Debian: https://github.com/tats/w3m/issues/270 [CVE-2023-38252]
Bug-Debian: https://github.com/tats/w3m/issues/271 [CVE-2023-38253]
2023-01-29 Markus Hiereth <[email protected]>
* po/de.po: Update German message catalogue.
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029933#5
2023-01-21 Tatsuya Kinoshita <[email protected]>
* NEWS: Update NEWS to 0.5.3+git20230121.
2023-01-15 Tatsuya Kinoshita <[email protected]>
* scripts/w3mman/w3mman2html.cgi.in:
Add GROFF_NO_SGR=1 to w3mman2html.cgi for non-Debian groff.
Bug-Debian: https://github.com/tats/w3m/pull/238
Bug-Debian: https://github.com/tats/w3m/issues/201
* scripts/w3mman/w3mman2html.cgi.in:
Revert "Turn ansi escape sequences into html tags".
This reverts commit 44af9271e0e984544762e2212549f134c86b4418.
cf. https://github.com/tats/w3m/pull/238
2023-01-12 Tatsuya Kinoshita <[email protected]>
* fm.h, rc.c: Do not expand config value of tmp_dir.
* config.h.dist, config.h.in, configure, configure.ac, rc.c:
Use faccessat for rc_dir and tmp_dir.
* local.c: Allow writeLocalCookie even when no_rc_dir.
* main.c, rc.c: Call wtf_init in sync_with_option.
* rc.c: Avoid modifying read-only rc_dir.
* fm.h, main.c, proto.h, rc.c: Make tmp_dir if not found.
2023-01-09 Tatsuya Kinoshita <[email protected]>
* NEWS: Prepare NEWS for w3m 0.5.3+git202301XX.
* doc-de/FAQ.html, doc-jp/FAQ.html, doc/FAQ.html:
Remove obsolete documents.
* doc-de/FAQ.html, doc-de/MANUAL.html:
Wrap long lines to avoid Lintian warnings.
2023-01-07 Tatsuya Kinoshita <[email protected]>
* file.c: Only read a first title.
* file.c, fm.h: Revert "Only read title when in head".
This reverts commit 0189e8aa5c4c4919a9bbc4dcbe0e521aada51e3c.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020215
2023-01-06 Tatsuya Kinoshita <[email protected]>
* file.c: Indentation fix for HTMLtagproc1.
2023-01-06 Robert Alm Nilsson <[email protected]>
* file.c, fm.h: Only read title when in head.
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1020215
2023-01-06 Tatsuya Kinoshita <[email protected]>
* libwc/charset.c: Avoid locale sensitive tolower in wc_charset_to_ces.
2023-01-06 Sertaç Ö. Yıldız <[email protected]>
* libwc/charset.c:
Fix charset declaration parser fails with turkish locale.
Origin: https://bugzilla-attachments.redhat.com/attachment.cgi?id=160014
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=249675
* history.c: Use st_mtime instead of st_mtim.tv_sec to compile on macos.
cf. https://github.com/tats/w3m/pull/247
2023-01-06 Rene Kita <[email protected]>
* html.c, html.h, tagtable.tab: Recognize link targets in dfn elements.
Refactor html.c. Align in html.c.
Origin: https://github.com/tats/w3m/pull/259
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1018696
* Makefile.in, form.c, main.c, util.c, util.h:
Handle failed system calls.
* display.c, display.h, file.c, form.c, main.c, proto.h, terms.h:
Move declarations to appropiate header files.
Origin: https://github.com/tats/w3m/pull/257
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=398989
* entity.js, etc.c, table.c, tests/allentity.expected:
* tests/allentity.html: Skip soft hyphen when reading token.
Fix generated HTML for entity test.
Origin: https://github.com/tats/w3m/pull/256
Bug-Debian: https://github.com/tats/w3m/issues/224
Bug-Debian: https://github.com/tats/w3m/issues/258
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830173
* file.c: Check LESSOPEN to avoid undefined behaviour.
Refactor lessopen_stream.
Origin: https://github.com/tats/w3m/pull/254
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991608
2023-01-05 Markus Hiereth <[email protected]>
* po/de.po: Update German message catalogue.
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1011945#10
2023-01-05 Rene Kita <[email protected]>
* buffer.c: Exit with error if a new buffer can't be allocated.
Origin: https://git.sr.ht/~rkta/w3m/commit/1f88544c1a009ed2088ff20973bcfffe6cbcb5de
Bug-Debian: https://github.com/tats/w3m/pull/232
Bug-Debian: https://github.com/tats/w3m/pull/233
* history.c, history.h:
Merge history file if it was modified after start.
* history.h, proto.h: Move declarations to the appropriate header file.
* history.c: Add comment to explain placement of the ifdef.
* history.c, proto.h: Let loadHistory return an error code.
* history.c: Use 'goto fail' to remove code duplication.
Origin: https://github.com/tats/w3m/pull/247
Bug-Debian: https://github.com/tats/w3m/issues/176
2023-01-05 Alberto Fanjul <[email protected]>
* scripts/w3mman/w3mman2html.cgi.in:
Turn ansi escape sequences into html tags.
Origin: https://github.com/tats/w3m/pull/238
Bug-Debian: https://github.com/tats/w3m/issues/201
2023-01-04 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/it.po, po/ja.po, po/sv_SE.po, po/w3m.pot, po/zh_CN.po:
* po/zh_TW.po: Update PO strings.
* doc/MANUAL.html, doc/README.img, libwc/wc_types.h, main.c, rc.c:
English fixes.
cf. https://github.com/tats/w3m/pull/241
2023-01-04 Rene Kita <[email protected]>
* rc.c: Remove unused variable.
* table.c: Remove a warning for bzero with GCC 12.
* file.c: Fix potential null pointer dereference.
* .github/workflows/build.yml:
Don't error out on deprecated declaration warnings.
Origin: https://github.com/tats/w3m/pull/255
cf. https://github.com/tats/w3m/issues/252
2023-01-04 nico <[email protected]>
* doc/MANUAL.html, doc/w3m.1, fm.h, main.c, rc.c, terms.c:
Add high-intensity colors option and cli flag.
Origin: https://github.com/tats/w3m/pull/251
cf. https://github.com/tats/w3m/issues/250
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626291
2023-01-04 Trafficone <[email protected]>
* doc/README.SSL, doc/README.keymap, doc/README.menu: Translate from
doc-jp.
* doc/README.cookie, doc/README.func, doc/README.img, doc/README.m17n:
* doc/README.passwd: Clarified wording. Minor grammar changes.
Origin: https://github.com/tats/w3m/pull/241
2022-12-25 Tatsuya Kinoshita <[email protected]>
* configure: Update configure with acinclude.m4.
2022-12-25 Sam James <[email protected]>
* acinclude.m4: Fix configure tests broken with Clang 16.
Origin: https://github.com/tats/w3m/pull/248
2022-12-25 Rin Okuyama <[email protected]>
* image.c, terms.c:
For sixel, no need to round image size to multiple of character size.
Origin: https://github.com/tats/w3m/pull/246
* image.c: Display resized image for OSC 5379 (mlterm).
Origin: https://github.com/tats/w3m/pull/245
2022-12-25 Rene Kita <[email protected]>
* doc/README.siteconf: Say what the comment character is.
Use the comment character in Examples.
Origin: https://github.com/tats/w3m/pull/237
* main.c: Retry if loading of a file fails when argv_is_url.
Origin: https://github.com/tats/w3m/pull/235
Bug-Debian: https://github.com/tats/w3m/issues/210
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=537761
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=946440
2022-12-25 NRK <[email protected]>
* image.c: remove duplicate declaration.
* cookie.c, entity.c, file.c, frame.c, func.c, image.c, linein.c:
* mailcap.c, main.c, rc.c, rc.h, table.c, terms.c, terms.h:
* w3mbookmark.c, w3mhelperpanel.c:
fix all -Wmissing-prototypes warnings.
* file.c, history.c, history.h, indep.c, indep.h, mailcap.c, proto.h:
* rc.c, terms.c, url.c: fix some -Wstrict-prototypes warnings.
Origin: https://github.com/tats/w3m/pull/234
2022-12-25 Rene Kita <[email protected]>
* .github/workflows/build.yml:
Add GitHub Action to build source when pushing.
Origin: https://github.com/tats/w3m/pull/228
2022-12-21 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/it.po, po/ja.po, po/sv_SE.po, po/w3m.pot, po/zh_CN.po:
* po/zh_TW.po: Update PO strings.
2022-12-21 Rene Kita <[email protected]>
* etc.c, fm.h, history.c, rc.c:
Add option to set directory for temporary files.
Origin: https://github.com/tats/w3m/pull/219
cf. https://github.com/tats/w3m/issues/130
2022-12-21 Yash Lala <[email protected]>
* rc.c: Use `Strnew_charp()` to create `char *` instead of `strdup()`.
* rc.c:
refactor: Substitute some clunky code with a `strdup()`.
* doc/FAQ.html, doc/MANUAL.html, doc/w3m.1, rc.c:
Set `rc_dir` based on `W3M_DIR` environment variable.
Origin: https://github.com/tats/w3m/pull/207
cf. https://github.com/tats/w3m/issues/130
2022-12-20 Tatsuya Kinoshita <[email protected]>
* etc.c: Fix potential overflow in checkType.
* etc.c:
Fix m17n backspace handling causes out-of-bounds write in checkType.
[CVE-2022-38223]
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1019599
Bug-Debian: https://github.com/tats/w3m/issues/242
2022-04-29 Tatsuya Kinoshita <[email protected]>
* NEWS: Update NEWS for w3m 0.5.3+git20220429.
* config.guess, config.sub:
Update config.* with autotools-dev 20220109.1.
2022-04-25 NRK <[email protected]>
Cppcheck fixes
Origin: https://github.com/tats/w3m/pull/231
* regex.c: check bound _before_ making access.
* main.c: ensure map isn't NULL.
* Str.c: properly close va_list.
2022-04-19 Rene Kita <[email protected]>
Fix some more warnings
Origin: https://github.com/tats/w3m/pull/230
* w3mimg/x11/x11_w3mimg.c: Fix a warning about an unused variable.
* libwc/wtf.c: Cast away a warning.
Fix all warnings when building with -Wnull-dereference
Origin: https://github.com/tats/w3m/pull/229
* Makefile.in: Enable -Wnull-dereference by default.
* main.c: Exit if we cannot allocate a new tab during start.
* main.c: Fix potential null dereference.
* file.c: Fix potential null dereference.
* etc.c: Fix potential null dereference.
* file.c, frame.c, ftp.c, news.c:
Check return value of Str... functions.
* w3mimg/fb/fb_imlib2.c: Fix potential null pointer dereference.
* w3mimg/fb/fb.c: Check for NULL before dereferencing the pointer.
* buffer.c: Do not call fclose() on a NULL pointer.
* file.c: Check for NULL before dereferencing a pointer.
* file.c: Check for NULL before dereferencing a pointer.
* news.c: Remove null pointer dereference.
* file.c: Fix broken anchor with link number at EOL.
Origin: https://github.com/tats/w3m/pull/227
2022-04-15 Tatsuya Kinoshita <[email protected]>
* acinclude.m4, configure: Allow building without terminal library.
This reverts commit 0d3416e0c250a4f08206967634fb641e9c8e008c.
cf. https://github.com/tats/w3m/pull/221
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46629
* configure, configure.ac: Allow building without Perl.
This reverts commit a0c8de3f3fe0178d655af54737e50168586f87a3.
cf. https://github.com/tats/w3m/pull/221
* acinclude.m4, configure: Do not reject FreeBSD framebuffer.
This reverts commit cb3118b389b99eff001212c0d27a39f78c615a03.
cf. https://github.com/tats/w3m/pull/221
2022-04-10 Tatsuya Kinoshita <[email protected]>
* proto.h: Remove unused encodeB declaration.
* table.h: Remove unused MAX_WIDTH.
* ChangeLog, gitlog2changelog: Prefer https for GNU URLs.
2022-04-09 Rene Kita <[email protected]>
Fix all reported warnings when -Wall
Origin: https://github.com/tats/w3m/pull/222
Bug-Debian: https://github.com/tats/w3m/pull/216
* symbol.c: Cast away a warning under OpenBSD 7.0.
* Makefile.in: Enable -Wall by default.
* image.c: Use unsigned int for image size.
This removes a warning with -Wall.
* terms.c: Use cast to suppress warning.
* table.c: Initialize struct before use.
* buffer.c: Fix a potential buffer overflow.
When compiling with -Wformat-overflow=2 GCC reports:
note: 'sprintf' output between 16 and 35 bytes into a destination of size 32
* etc.c, proto.h: Let base64_encode() take a char *.
Throughout the whole code base only char * is passed, but a unsigned
char * is expected. This leads to several warnings.
Fix the interface and cast to unsigned char * internally to avoid any
changes to the behaviour.
* file.c: Explicitly cast to unsigned when passing to MD5().
* terms.c: Let strncpy write the null terminator.
* indep.c, indep.h: Take the correct char type in growbuf_append().
This change removes all warnings (-Wall) from this function.
* file.c: Fix warning for unused variable w/o MENU_SELECT.
* display.c, etc.c, file.c, linein.c, table.c:
Fix warning for unused variable without USE_M17N.
* Str.c, file.c, image.c, istream.c, main.c, menu.c, news.c:
Remove unused variable.
* scrsize.c, w3mbookmark.c, w3mhelperpanel.c:
Use main(void) when not taking arguments.
* main.c, mktable.c, proto.h, w3mbookmark.c, w3mhelperpanel.c:
Use standard conforming main() definition.
* local.c, main.c: Suppress two warnings when compiling with tcc.
While there, add some comments to better understand the code flow in
localcgi_post().
* Makefile.in: Move OPTS to end of CFLAGS.
This allows the user to override default options.
2022-04-08 Rene Kita <[email protected]>
Add some missing checks to configure
Origin: https://github.com/tats/w3m/pull/221
* acinclude.m4, configure: Check for linux/fb.h when configuring.
* configure, configure.ac: Let configure fail if Perl is not in $PATH.
* acinclude.m4, configure: Let configure fail if no terminal library
is found.
* .gitignore: Ignore autom4te cache directory.
* posubst.in: Do not swallow errors from GCC.
Use strict and warnings in posubst.
Origin: https://github.com/tats/w3m/pull/220
2022-04-06 Tatsuya Kinoshita <[email protected]>
* po/it.po: Adjust spacing in menu strings.
cf. https://github.com/tats/w3m/issues/225
* po/zh_CN.po, po/zh_TW.po: Fix typo in menu strings.
2022-04-05 Markus Hiereth <[email protected]>
* po/de.po: Updated German message catalogue.
Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1003936#5
2022-04-05 Sebastian Rasmussen <[email protected]>
* po/LINGUAS, po/sv_SE.po: Add Swedish translation.
Origin: https://github.com/tats/w3m/pull/209
2022-02-19 Rene Kita <[email protected]>
* url.c: Check for end of string when parsing Gopher URLs.
Origin: https://github.com/tats/w3m/pull/218
Bug-Debian: https://github.com/tats/w3m/issues/199
2022-02-19 NRK <[email protected]>
* libwc/search.c: Fix wc_map_range_search() parameter type mismatch.
Origin: https://github.com/tats/w3m/pull/214
2022-02-19 Kuang-che Wu <[email protected]>
* fuzz/fuzz-conv.c: Improve fuzz-conv fuzzer.
Origin: https://github.com/tats/w3m/pull/204
2022-02-16 Rene Kita <[email protected]>
* acinclude.m4, configure: Do not use imlib2-config.
imlib2-config was dropped by Imlib2:
https://git.enlightenment.org/legacy/imlib2.git/commit/?id=e9d84bd2163e6fab494b5ce5cc8830a54ff97765
Origin: https://github.com/tats/w3m/pull/215
Bug-Debian: https://github.com/tats/w3m/issues/213
* file.c: Ignore tokens that look like HTML, but are not.
Origin: https://github.com/tats/w3m/pull/217
Bug-Debian: https://github.com/tats/w3m/issues/200
2021-10-26 Kuang-che Wu <[email protected]>
* istream.c: Fix StrStream memory leak.
Origin: https://github.com/tats/w3m/pull/203
2021-10-26 bptato <[email protected]>
Fix stack overflow due to closing dd tags
Origin: https://github.com/tats/w3m/pull/202
Bug-Debian: https://github.com/tats/w3m/issues/198
* file.c: Fix description title rendering (again).
* file.c:
Revert changes introducing #198 stack-overflow in HTMLlineproc0.
2021-10-26 Rene Kita <[email protected]>
* table.c: Ensure VLA size is at least one (again).
Origin: https://github.com/tats/w3m/pull/197
2021-09-18 Rene Kita <[email protected]>
* istream.c: Fix manipulation of ASN1_STRING.
Origin: https://github.com/tats/w3m/pull/193
2021-09-05 Rene Kita <[email protected]>
* table.c: Ensure VLA size is at least one.
Origin: https://github.com/tats/w3m/pull/192
Bug-Debian: https://github.com/tats/w3m/issues/51
2021-08-30 Tatsuya Kinoshita <[email protected]>
* scripts/w3mman/w3mman.in: Fix incorrect query string for `w3mman 7z`.
Bug-Debian: https://github.com/tats/w3m/issues/191
2021-08-19 Augusto Gunsch <[email protected]>
Update README.tab
Origin: https://github.com/tats/w3m/pull/189
* doc/README.tab: Fix wrong quote character.
* doc/README.tab: Make spacing more consistent.
* doc/README.tab: Update default tab navigation keybindings.
2021-07-17 Tatsuya Kinoshita <[email protected]>
* po/LINGUAS: Enable Italian translation.
* po/it.po, po/ja.po: Update PO information.
2021-07-17 Marco Scardovi <[email protected]>
* po/it.po: Add italian translation.
Origin: https://github.com/tats/w3m/pull/187
2021-07-03 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* file.c, fm.h, rc.c, table.c:
New option disable_center to disable center alignment.
Bug-Debian: https://github.com/tats/w3m/issues/175
Bug-Debian: https://github.com/tats/w3m/issues/185
2021-06-21 Tatsuya Kinoshita <[email protected]>
* doc/README.sixel: Add information of Debian's libsixel-bin package.
Bug-Debian: https://github.com/tats/w3m/pull/184
2021-06-05 Laurenz <[email protected]>
* doc-jp/README, doc/README: Fix link to hboehm's gc library.
Origin: https://github.com/tats/w3m/pull/183
2021-05-16 Tatsuya Kinoshita <[email protected]>
* fuzz/fuzz-conv.c:
Prevent GC warnings of repeated allocation in fuzzer.
2021-05-16 bptato <[email protected]>
* terms.c: Fix null pointer dereference in put_image_kitty.
Origin: https://github.com/tats/w3m/pull/182
Bug-Debian: https://github.com/tats/w3m/issues/181
2021-04-24 Tatsuya Kinoshita <[email protected]>
* file.c, fm.h: Prevent integer overflow due to fontstat.
* main.c: Check length of hostname with STR_SIZE_MAX.
2021-04-23 Tatsuya Kinoshita <[email protected]>
* etc.c, fm.h, local.c, main.c, proto.h, url.c:
Treat 127.0.0.1, [::1], and hostname as localhost.
2021-04-17 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* fm.h, rc.c, url.c:
New option localhost_only to restrict connections only to localhost.
Bug-Debian: https://github.com/tats/w3m/issues/117
2021-04-10 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* fm.h, rc.c, url.c:
New option cross_origin_referer to use origin only Referer.
* main.c, proto.h, url.c: Don't include username in Referer.
* main.c, url.c: Don't set Referer when data URI scheme.
2021-04-05 Tatsuya Kinoshita <[email protected]>
* etc.c: Use Strcatc and Strnulterm in base64_encode.
* Str.h: New macros Strcatc and Strnulterm.
2021-04-05 bptato <[email protected]>
* etc.c, file.c, proto.h, terms.c: Return Str from base64_encode.
Fix base64 padding could be applied incorrectly.
Fix extraction of first gif frame for animations in put_image_kitty.
Origin: https://github.com/tats/w3m/pull/177
2021-04-03 Tatsuya Kinoshita <[email protected]>
* file.c, table.c, table.h:
Limit size and number of tables to prevent integer overflow.
2021-03-30 Tatsuya Kinoshita <[email protected]>
* table.c, table.h: Treat table height as int instead of short.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
* history.c, history.h, textlist.c, textlist.h:
Treat textlist item number as int instead of short.
cf. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=838952
2021-03-29 Tatsuya Kinoshita <[email protected]>
* main.c: Prevent GC warnings of repeated allocation.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=746701
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=832407
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=862382
2021-03-27 Tatsuya Kinoshita <[email protected]>
* indep.c: Fix potential integer overflow in allocStr.
2021-03-26 Tatsuya Kinoshita <[email protected]>
* main.c: Ignore the "-" option to accept `w3m -` as "read from stdin".
Bug-Debian: https://github.com/tats/w3m/issues/87
2021-03-25 Tatsuya Kinoshita <[email protected]>
* fuzz/fuzz-conv.c: Explicitly call GC_gcollect() in fuzzer.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32453
* fuzz/fuzz-conv.c: Prevent memory leak in fuzzer.
2021-03-23 Tatsuya Kinoshita <[email protected]>
* Str.c: Reduce memory reallocation due to Strgrow.
* libwc/ucs.c:
Prevent unneeded memory allocation for language tags in libwc.
cf. https://oss-fuzz.com/testcase-detail/6275874304425984
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397
2021-03-22 Tatsuya Kinoshita <[email protected]>
* libwc/ucs.c: Prevent very long language tag in libwc.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32229
2021-03-21 Tatsuya Kinoshita <[email protected]>
* Str.c, Str.h: Check STR_SIZE_MAX in Strcat_char.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31804
2021-03-20 Tatsuya Kinoshita <[email protected]>
* Str.c: Prevent very small allocation in Str.c.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397
2021-03-19 Tatsuya Kinoshita <[email protected]>
* Str.c: Decrease STR_SIZE_MAX to prevent large memory usage.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31468
2021-03-14 Tatsuya Kinoshita <[email protected]>
* fuzz/fuzz-conv.c:
Include unistd.h for getpid() and unlink() in fuzzer.
* fuzz/fuzz-conv.c: Call wtf_init() in fuzzing.
2021-03-11 Tatsuya Kinoshita <[email protected]>
* libwc/ucs.c, libwc/ucs.h:
Prevent index overflow due to tag_map in libwc.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31936
2021-03-06 Tatsuya Kinoshita <[email protected]>
* fuzz/fuzz-conv.c: Set GC_oom_fn in fuzzing.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31500
* fuzz/fuzz-conv.c: Call GC_INIT() in fuzzing.
2021-03-06 bptato <[email protected]>
* terms.c: Fix file handle leaks in kitty and iTerm2 image display.
Origin: https://github.com/tats/w3m/pull/174
2021-03-04 Tatsuya Kinoshita <[email protected]>
* Str.c: Prevent redundant memory reallocation in Str.c.
* Str.c: Prevent unneeded Strgrow in Strinsert_char.
* Str.c: Consider Strgrow overflow in Strinsert_char.
2021-03-03 Tatsuya Kinoshita <[email protected]>
* Str.c: Prevent unneeded memory allocation in Strgrow.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31664
2021-03-02 Tatsuya Kinoshita <[email protected]>
* Str.c: Prevent large memory usage and null-deref in Str.c.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31579
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31589
2021-03-02 bptato <[email protected]>
Support named character references specified by the living standard
Origin: https://github.com/tats/w3m/pull/170
* entity.js, tests/allentity.html:
Use > instead of > in entity test generator.
* entity.js, tests/allentity.html:
Fix small mistakes in entity test generator.
* entity.js, entity.tab, tests/allentity.expected:
* tests/allentity.html:
Support single-codepoint HTML entities specified by whatwg.
https://html.spec.whatwg.org/multipage/named-characters.html#named-character-references
* entity.tab: Support period entity name.
2021-02-28 Tatsuya Kinoshita <[email protected]>
* Str.c: Prevent zero size allocation in Str.c.
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* doc-jp/README.SSL, fm.h, rc.c, url.c:
New option ssl_ca_default to explicitly use OpenSSL default paths.
* libwc/utf7.c, libwc/utf8.c:
Prevent unintentional integer overflow in libwc.
* Str.c: Prevent unintentional integer overflow in Strcat_charp_n.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31500 (not yet fixed)
* Str.c: Prevent unintentional integer overflow in Strgrow.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31467
2021-02-27 Tatsuya Kinoshita <[email protected]>
* Str.c: One more fix overflow due to Strgrow.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397 (not yet fixed)
2021-02-26 Tatsuya Kinoshita <[email protected]>
* Str.c: Fix potential overflow due to Str.c.
* Str.c: Fix integer overflow due to Strgrow.
Bug-Chromium: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=31397 (not yet fixed)
2021-02-24 Tatsuya Kinoshita <[email protected]>
* doc-jp/README.SSL: Simplify doc for SSL.
2021-02-24 davkor <[email protected]>
* fuzz/fuzz-conv.c:
Added initial fuzzer for integration with OSS-Fuzz.
Origin: https://github.com/tats/w3m/pull/169
Bug-Debian: https://github.com/tats/w3m/issues/165
2021-02-22 Tatsuya Kinoshita <[email protected]>
* url.c: Don't fallback when SSL_CTX_load_verify_locations fails.
* url.c:
Don't use SSL_CTX_set_default_verify_paths when not USE_SSL_VERIFY.
* acinclude.m4, config.h.dist, configure, doc-jp/README.SSL:
Disable --with-cafile by default to use OpenSSL default paths.
2021-02-21 Tatsuya Kinoshita <[email protected]>
* main.c: Don't use SECLEVEL when not OPENSSL_TLS_SECURITY_LEVEL.
* doc/w3m.1, main.c: Add eNULL to ssl_cipher when -insecure.
2021-02-21 bptato <[email protected]>
Improved iTerm2 image display + initial kitty image support
Origin: https://github.com/tats/w3m/pull/168
* image.c, rc.c, terms.c:
Convert images to PNG for kitty with ImageMagick.
* terms.c: Fix potential segfault.
* terms.c: Fix small images on kitty.
* etc.c, fm.h, image.c, rc.c, terms.c: Support kitty image protocol.
* etc.c, terms.c: Handle iTerm2 images more efficiently.
2021-02-17 Tatsuya Kinoshita <[email protected]>
* libwc/iso2022.c, w3mimgdisplay.c: Typo fix.
2021-02-16 Tatsuya Kinoshita <[email protected]>
* acinclude.m4, configure:
Add auto-detection for configure --with-migemo.
* acinclude.m4, configure: Prefer Imlib2 over GTK2 by default.
Bug-Debian: https://github.com/tats/w3m/issues/95
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=672121
* acinclude.m4, configure:
Indentation and wording fixes for configure --help.
2021-02-15 Tatsuya Kinoshita <[email protected]>
* acinclude.m4, configure: Wording fixes for configure --help.
* acinclude.m4, configure:
Accept configure --with-cafile without filename.
2021-02-14 bptato <[email protected]>
Improve description list rendering
Origin: https://github.com/tats/w3m/pull/167
Bug-Debian: https://github.com/tats/w3m/issues/162
* html.c: Fix a mistake I made with </dd> and </dt> tags.
* file.c, tests/dl.expected, tests/dl.html: Nested <dl>s.
* file.c, tests/dl.expected, tests/dl.html: Fix <dl compact>.
* tests/dl.expected, tests/dl.html: <dl> test.
* file.c, html.c, html.h, tagtable.tab:
Improve description list rendering.
2021-02-13 Tatsuya Kinoshita <[email protected]>
* acinclude.m4, configure: Minor fixes for ./configure --help.
* acinclude.m4, config.h.dist, config.h.in, configure:
* doc-jp/README.SSL, fm.h:
Add auto-detection of ssl_ca_file by configure.
New configure option --with-cafile to specify ssl_ca_file.
cf. gnutls-trustfiles in Emacs 27.1
<https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/net/gnutls.el?h=emacs-27.1#n106>
* doc-jp/README.SSL: Doc fix.
* url.c: Use ssl_ca_file and ssl_ca_path only when ssl_verify_server.
2021-02-12 Tatsuya Kinoshita <[email protected]>
* url.c: Check empty string conditions for ssl_ca_file and ssl_ca_path.
* url.c:
Fix OpenSSL default always overrides ssl_ca_file and ssl_ca_path.
2021-02-11 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* doc/w3m.1, main.c: Update wording for -debug option.
* doc/w3m.1: Update manpage for -insecure option.
* url.c: Mention -insecure option as a workaround for SSL error.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900984
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934493
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953045
* main.c: New option -insecure to use insecure SSL config options.
Alias for `-o ssl_cipher=ALL:@SECLEVEL=0 -o ssl_min_version=all
-o ssl_forbid_method= -o ssl_verify_server=0`.
* doc-jp/README.SSL: Typo fix for ssl_cipher.
* doc-jp/README.SSL, rc.c, url.c:
Update ssl_min_version to accept "all" and reject "SSLv2".
2021-02-11 bptato <[email protected]>
Support brotli content encoding
Origin: https://github.com/tats/w3m/pull/164
* config.h.dist: Update config.h.dist.
* config.h.in, file.c, html.h: Support brotli content encoding.
2021-02-10 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* doc-jp/README.SSL, fm.h: Disable TLSv1.0 and TLSv1.1 by default.
* url.c: Mention ssl_* options as a workaround for SSL error.
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900984
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934493
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=953045
* doc-jp/README.SSL, fm.h, rc.c, url.c:
New option ssl_min_version for OpenSSL 1.1.
* doc-jp/README.SSL, fm.h, rc.c, url.c:
New option ssl_cipher to specify ciphers for TLSv1.2 and below.
e.g. DEFAULT:@SECLEVEL=2, ALL:@SECLEVEL=0
2021-02-06 Tatsuya Kinoshita <[email protected]>
* po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po, po/zh_TW.po:
Update PO strings.
* rc.c: Update option setting strings for inline image display method.
2021-02-06 bptato <[email protected]>
Improved inline image protocol support
Origin: https://github.com/tats/w3m/pull/161
* rc.c: Clarify inline image setting's wording.
* etc.c: Use GC_MALLOC_ATOMIC_IGNORE_OFF_PAGE for allocating memory
for base64 encoding.
* etc.c, proto.h: base64_encode: fix input and output length types.
* etc.c, file.c, proto.h: Some cleanup for base64_encode.
* etc.c, file.c, fm.h, image.c, mimehead.c, proto.h, rc.c, terms.c:
Support iTerm2 graphics protocol, replace encodeB with base64_encode.
* image.c, rc.c: Avoid having external programs download images.
* fm.h, image.c, main.c, rc.c:
sixel and osc5379 image display protocols can be chosen in options.
2021-01-18 Tatsuya Kinoshita <[email protected]>
* file.c: Disable <section> behaves as <hr>.
Because displaying horizontal rules are redundantly and unneeded,
especially when sections are nested.
* Makefile.in: Use xz with -9e for the dist target.
2021-01-03 Tatsuya Kinoshita <[email protected]>
* NEWS: Indentation fix.
2021-01-02 Tatsuya Kinoshita <[email protected]>
* NEWS: Update NEWS for 0.5.3+git20210102.
2020-12-19 Tatsuya Kinoshita <[email protected]>
* doc-jp/README.siteconf, doc/README.siteconf:
Add examples of siteconf, set user_agent to Googlebot for Twitter.
2020-12-18 Tatsuya Kinoshita <[email protected]>
* po/zh_TW.po: Update PO-Revision-Date for zh_TW.
2020-12-18 Ambrose Li <[email protected]>
* file.c: q_level was never initialized, causing random test failures.
This should fix that.
Origin: https://github.com/tats/w3m/pull/159
* po/zh_TW.po: Translate new string.
Origin: https://github.com/tats/w3m/pull/158
2020-12-17 Tatsuya Kinoshita <[email protected]>
* doc-jp/README.siteconf, doc/README.siteconf:
Update examples of siteconf, forward twitter.com to nitter.net.
Because mobile.twitter.com without JavaScript is unusable anymore.
2020-12-16 Tatsuya Kinoshita <[email protected]>
* url.c: Use the default ciphers for OpenSSL 1.1 and later.
cf. https://bugs.launchpad.net/ubuntu/+source/w3m/+bug/1325674
https://src.fedoraproject.org/rpms/w3m/blob/36f14df378762a3a03a6a724583ca5b0ff618ed5/f/Fix-the-cipher-list-string-to-ensure-that-it-contain.patch
https://fedoraproject.org/wiki/Packaging:CryptoPolicies
2020-12-09 bptato <[email protected]>
Small Gopher fixes/improvements
Origin: https://github.com/tats/w3m/pull/157
* file.c: Fix Gopher binaries causing w3m to be stuck in download mode;
try to guess Gopher image type and fallback to png.
* file.c, url.c: Add support for Gopher items 5 and I.
2020-11-24 Tatsuya Kinoshita <[email protected]>
* po/POTFILES.in, po/de.po, po/ja.po, po/w3m.pot, po/zh_CN.po:
* po/zh_TW.po: Update PO.
* configure: Update configure by autoconf 2.69.
* config.h.dist, config.h.in, configure, configure.ac:
Define X_DISPLAY_MISSING when configure --without-x for Imlib2.
cf. https://github.com/NixOS/nixpkgs/commit/3cad8fba2958981307f94b865c2b970b95e10789
2020-11-22 Tatsuya Kinoshita <[email protected]>
* gitlog2changelog: Update example to use UTC for gitlog2changelog.
* acinclude.m4, config.h.dist, config.h.in, configure, configure.ac:
Drop HAVE_SYS_ERRLIST.
2020-11-22 Parag A Nemade <[email protected]>
* config.h.in:
Fix compilation error "too few arguments to function 'longjmp'".
Origin: https://src.fedoraproject.org/rpms/w3m/c/e7a12fa28cfbfbb0115ec74994092c1d3b8351d8?branch=master
Bug-MacPorts: https://trac.macports.org/ticket/61356
2020-11-22 Parag Nemade <[email protected]>
* etc.c, main.c: Fix FTBFS due to redefinition of sys_errlist.
Origin: https://src.fedoraproject.org/rpms/w3m/c/99f30870caac12a3949b6736aa70b7233f4414d5?branch=master
Bug-Fedora: https://bugzilla.redhat.com/show_bug.cgi?id=1038009
Bug-MacPorts: https://trac.macports.org/ticket/61356