-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathChangeLog
2471 lines (1878 loc) · 90.2 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
2009-12-14 <[email protected]>
* contrib/Makefile.am (noinst_PROGRAMS): Added zvbi-dvbsubs.
* contrib/dvbsubs.c, contrib/dvbsubs.h: Added.
2009-06-10 <[email protected]>
* src/io-v4l2k.c (vbi_capture_v4l2k_new): Bug fix: Attempt to
log error after deleting capture struct with pointer to log
function.
* src/io-v4l2k.c (print_vfmt): Bug fix: Missing _vbi_log_printf()
parameter.
2009-05-27 <[email protected]>
* src/cc608_decoder.c: Renamed a few public symbols to reflect the
experimental nature of the module.
(stream_event, display_event): The event structs changed slightly.
(CC608_DECODER_LOG_INPUT): New test switch.
* src/cc608_decoder.h: Added experimental _vbi_event_cc608_page and
_vbi_event_cc608_stream structs.
* src/event.h: Added experimental _VBI_EVENT_CC608 and
_VBI_EVENT_CC608_STREAM for test/caption.c.
* src/Makefile.am (libzvbi_la_SOURCES): Added cc608_decoder.c,
cc608_decoder.h.
(libzvbi_la_SOURCES): Added event.c, event-priv.h.
* src/event.c, src/event-priv.h: New helper functions for
cc608_decoder.c.
* src/io-sim.c (vbi_capture_sim_load_caption),
test/cc608-test-stream.dtd: Removed the
unneeded long element names. Changed channel numbers to base
one as in EIA 608. Added a ts entity.
* test/cc-test-stream.dtd: Renamed to cc608-test-stream.dtd.
* test/sliced.c (capture_stream_sim_load_caption): Now available
in libzvbi 0.2 too.
* test/caption.c: Rewrote the whole thing and added an option to
test the new _vbi_cc608 decoder.
* test/decode.c (caption): CC dump code replaced by _vbi_cc608_dump().
2009-03-21 <[email protected]>
* src/cc608_decoder.c, src/cc608_decoder.h: New Closed Caption
decoder based on contrib/atsc-cc.c added to CVS.
2009-03-13 <[email protected]>
* src/pdc.h, examples/network.c (main): Cosmetical changes.
* test/decode.c: Enabled Teletext packet 8/30/1 decoding
because the required low-level functions are in the
library now.
* test/Makefile.am: Commented out the exoptest on explist and
test-unicode on unicode dependencies because of problems
with make distcheck.
* examples/Makefile.am (noinst_PROGRAMS): Added pdc2.
(TESTS): Added pdc2-test1.sh.
* src/pdc.c: Doxumented examples/pdc2.c.
* examples/pdc2-test1.sh: New test for pdc2.c.
* examples/pdc2.c: Renamed from pdc1.c, improved and checked
against the examples in EN 300 231.
* examples/pdc1.c: Renamed to pdc2.c and replaced by a simpler
example just demonstrating how to capture Program IDs.
2009-03-07 <[email protected]>
* test/decode.c: Corrected usage message, enabled packet 8/30/1
decoding.
2009-03-05 <[email protected]>
* test/test-pdc.cc: Replace time_min()/time_max() by macros.
* test/Makefile.am (TESTS, check_PROGRAMS): Added test-pdc.
2009-03-04 <[email protected]>
* test/Makefile.am (noinst_PROGRAMS): Added date tool.
* configure.in: Added tm_gmtoff check for test/date.c.
* test/date.c: New test/demo/example of VBI_EVENT_LOCAL_TIME
from branch 0.3.
* examples/Makefile.am (noinst_PROGRAMS): Added pdc1.
* examples/pdc1.c: New example for VBI_EVENT_PROG_ID.
* src/vbi.h (vbi_decoder): Added a vps_pid field to check for
PDC transmission errors.
* src/vbi.c (vbi_event_enable, vbi_decode): The function now
supports VBI_EVENT_LOCAL_TIME and VBI_EVENT_PROG_ID.
* src/packet.c (station_lookup): The vbi_cni_type definition
moved into network.h.
(vbi_decode_vps): The function now sends a VBI_EVENT_PROG_ID if
requested.
(vbi_decode_teletext, parse_8_30): The function now sends a
VBI_EVENT_LOCAL_TIME and VBI_EVENT_PROG_ID if requested.
* src/event.h: Added VBI_EVENT_LOCAL_TIME, VBI_EVENT_PROG_ID,
enum vbi_dst_state, struct vbi_local_time. Added local_time
and prog_id fields to struct vbi_event.
* test/decode.c: Permanently enabled VPS PDC decoding with
vbi_decode_vps_pdc().
* test/Makefile.am (TESTS, check_PROGRAMS): Added test-packet-830.
(test_vps_SOURCES): Replaced test-vps.c by test-vps.cc.
* test/test-common.h, test/test-common.cc (memcmp_zero):
Function added for test-packet-830.cc.
* test/test-vps.cc, test/test-packet-830.cc: New unit tests
from branch 0.3.
* test/test-vps.c: Replaced by test-vps.cc.
* doc/Doxyfile, doc/Doxyfile.in (FILE_PATTERNS):
Added packet-830.h, pdc.h.
* src/Makefile.am (libzvbi_la_SOURCES): Added network.h
(LIBZVBI_HDRS): Added network.h, pdc.h, packet-830.h.
* src/vps.h: A few modifications to make Doxygen happy. Renamed
_vbi_decode_vps_pdc() to vbi_decode_vps_pdc(). All VPS
functions are public now.
* src/vps.c: Updated the doxumentation.
(vbi_decode_vps_cni): Bug fix: Translation of CNI 0x0DC3 was
backwards.
(vbi_decode_vps_pdc, vbi_decode_dvb_pdc_descriptor): Removed
the PIL check to support unreal dates and times.
vbi_program_id.mi flag wasn't initialized.
(vbi_encode_vps_pdc, vbi_encode_dvb_pdc_descriptor):
vbi_program_id does not contain a broken down date and time
anymore. Changed the PIL check to support unreal dates and
times.
* src/packet-830.h: A few modifications to make Doxygen happy.
* src/packet-830.c: Updated the doxumentation and added a brief
explanation of Packet 8/30. Replaced a vbi_bcd2bin() call
because the function has insufficient precision in libzvbi 0.2.
* src/misc.h: Added TIME_MIN and TIME_MAX macros for the PDC
helper functions.
* src/pdc.h: Updated the doxumentation. vbi_program_id.cni_type is
back.
* src/pdc.c: Updated the doxumentation. Commented out some code
that would return not yet defined error codes.
2009-02-18 <[email protected]>
* src/sampling_par.c (_vbi_sampling_par_permit_service): Offset
check disabled, pending repair.
2009-02-16 <[email protected]>
* test/decode.c: Enabled VPS and Teletext 8/30-2 PDC decoding.
* src/vps.c, src/vps.h: Enabled PDC decoding for tests.
* src/packet-830.c, src/packet-830.h, src/pdc.c, src/pdc.h:
Added for PDC tests.
* src/Makefile.am (libzvbi_la_SOURCES): Added packet-830.c,
packet-830.h, pdc.c for tests.
2009-02-11 <[email protected]>
* test/exp-test.sh: Removed the VTX check because the VTX
module was disabled in 0.2.28.
* src/exp-txt.c (vbi_print_page_region): A debugging printf was
accidentally enabled.
* src/caption.c (update): Bug fix: Buffer overflow, patch by
Helen Buus.
* contrib/atsc-cc.c (init_capture_state): Use posix_memalign(),
memalign() or malloc() as available.
* configure.in: Added a memalign() and posix_memalign()
check. Bumped version to 0.2.34, incremented .so revision.
2008-09-11 <[email protected]>
* test/unicode-out-ref.txt: Updated.
* test/unicode.c: Print two more tables to reveal gaps
in the Teletext composed character conversion.
* src/lang.c: Bug fix: Teletext composed character table
was incomplete, patch by Marian Ďurkovič.
2008-09-03 <[email protected]>
* Release 0.2.33.
2008-09-03 <[email protected]>
* contrib/atsc-cc.c: Include our libzvbi.h, not the installed one.
* contrib/Makefile.am (bin_PROGRAMS): Compile zvbi-atsc-cc only if
the Linux DVB interface is available.
* configure.in: Added an ENABLE_DVB conditional to disable
zvbi-atsc-cc in contrib/Makefile.am. Bumped version to 0.2.33.
2008-08-20 <[email protected]>
* Release 0.2.32.
2008-08-19 <[email protected]>
* contrib/atsc-cc.c: Fix: Segfaulted if no station name was given.
* test/capture.c (main): If we output PES or TS, capture only
the services we can actually encode, so we don't get an error from
vbi_dvb_mux.
2008-08-17 <[email protected]>
* src/dvb/frontend.h, src/dvb/dmx.h: Updated.
* contrib/README: Added atsc-cc info.
* contrib/atsc-cc.c: Added.
* contrib/Makefile.am (bin_PROGRAMS): Added atsc-cc.c.
* configure.in: Bumped version to 0.2.32.
2008-07-26 <[email protected]>
* Release 0.2.31.
2008-07-22 <[email protected]>
* src/videodev.h, src/videodev2.h: Indentation pedantry.
* src/hammgen.c: Minor typo.
* src/ccfont2.xbm: Added a LGPLv2+ notice.
* test/cc-test-stream.dtd: Changed the license to GPLv2+.
* test/proxy-test.c, daemon/proxyd.c, daemon/chains.c:
Changed the license to GPLv2+ with Tom's permission.
* test/unicode-out-ref.txt: vbi_caption_unicode() fix.
* src/lang.c (vbi_caption_unicode): Fixed conversion of latin
small letter i with diaresis.
* README: Line feed cosmetics.
* configure.in: Bumped version to 0.2.31, incremented .so
revision.
2008-03-05 <[email protected]>
* Release 0.2.30.
2008-03-05 <[email protected]>
* configure.in: Incremented .so version along with the
return of vbi_unref_page(), vbi_is_cached() and
vbi_cache_hi_subno().
* src/vbi.c (vbi_is_cached, vbi_cache_hi_subno): Bug fix:
Restored these functions which were lost in 0.2.28.
* src/cache.h (vbi_is_cached, vbi_cache_hi_subno): Bug fix:
Restored these declarations which were lost in 0.2.28.
Restored the Public/Private markers.
2008-03-01 <[email protected]>
* test/.cvsignore: Added ctest*, cpptest*.
* test/unicode.c, test/ttxfilter.c, test/test-vps.c:
* test/test-raw_decoder.cc, test/test-hamm.cc:
* test/test-dvb_mux.cc, test/test-dvb_demux.cc:
* test/test-common.h, test/test-common.cc, test/sliced2pes.c:
* test/proxy-test.c, test/osc.c, test/glyph.c, test/export.c:
* test/explist.c, test/decode.c, test/ctest.c, test/cpptest.cc:
* test/cc-test-stream.dtd, test/capture.c, test/caption.c:
Line feed cosmetics.
* test/sliced.h, test/sliced.c: Resynched with branch 0.3.
* src/vt.h: Resynched with branch 0.3, adding
ttx_page_function_valid() and ttx_page_coding_valid() helpers.
* src/misc.h: Resynched with branch 0.3, adding function
attributes.
2008-02-26 <[email protected]>
* test/test-hamm.cc: Include stdlib.h and string.h to declare
rand() and memset(). Refactored to clarify which functions
are tested.
* src/hamm.h: Include macros.h, not misc.h.
* src/cache.c (_vbi_cache_put_page), src/cache.h: Resynched with
corrections on branch 0.3.
* configure.in: Bumped version to 0.2.30, incremented .so
revision.
2008-02-24 <[email protected]>
* Release 0.2.29.
2008-02-24 <[email protected]>
* src/xds_demux.h, src/vbi.h, src/macros.h, src/io.h:
* src/cache.h: ISO C89 does not permit a
comma at the end of an enumerator list.
* src/hamm.h (vbi_unpar8): ISO C89 does not permit an #if #cpu
test (and it probably didn't work as intended anyway).
* test/Makefile.am: Added strict ISO C89, C94, C99, and C++98
checks of the libzvbi header.
* configure.in: Added a gcc -std check for test/ctest.c and
test/cpptest.cc.
* test/test-common.h, src/xds_demux.h, src/vps.h:
* src/sliced_filter.h, src/sliced.h, src/sampling_par.h:
* src/pfc_demux.h, src/page_table.h, src/misc.h:
* src/macros.h, src/io.h, src/io-v4l.c, src/idl_demux.h:
* src/hamm.h, src/export.h, src/exp-txt.c, src/exp-gfx.c:
* src/dvb_mux.h, src/dvb_demux.h, src/conv.h, src/caption.c:
* src/cache.h, src/bit_slicer.h: Rewrote the GCC __attribute__
wrapper macros for compatibility with strict ISO C.
* src/exp-gfx.c (draw_row_indexed): Removed an unused parameter.
* test/test-common.cc (test_malloc):
* src/io-dvb.c: Muffle compiler warnings.
* src/exp-html.c: Include teletext_decoder.h instead of vt.h to
declare vbi_resolve_link().
* configure.in: Bumped version to 0.2.29, incremented .so
revision.
2008-02-22 <[email protected]>
* Release 0.2.28.
2008-02-22 <[email protected]>
* src/teletext.c (enhance): Bug fix: Row color transparency
toggling by display attribute triplet.
* configure.in: Incremented .so version to reflect the
src/hamm.c, src/bcd.h and src/exp-vtx.c changes.
2008-02-18 <[email protected]>
* examples/wss.c, examples/rawout.c, examples/network.c:
Changed the license to a 2-clause BSD-style license.
* src/xds_demux.h, src/xds_demux.c, src/wstfont2.xbm,
src/wss.h, src/wss.c, src/vps.h, src/vps.c,
src/vbi.c, src/trigger.h, src/trigger.c, src/teletext.c,
src/tables.h, src/tables.c, src/sliced_filter.h,
src/sliced_filter.c, src/sliced.h,
src/sampling_par.h, src/sampling_par.c, src/raw_decoder.h,
src/raw_decoder.c, src/pfc_demux.h, src/pfc_demux.c,
src/page_table.h, src/page_table.c, src/packet.c,
src/network-table.pl, src/macros.h, src/lang.h, src/lang.c,
src/io-v4l2.c, src/io-sim.h, src/io-sim.c, src/io-bktr.c,
src/intl-priv.h, src/idl_demux.h, src/idl_demux.c,
src/export.h, src/export.c, src/event.h, src/exp-txt.h,
src/exp-txt.c, src/exp-html.c, src/exp-gfx.h, src/exp-gfx.c,
src/format.h, src/dvb_mux.h, src/dvb_mux.c, src/dvb_demux.h,
src/dvb_demux.c, src/dvb.h, src/decoder.h, src/decoder.c,
src/conv.h, src/conv.c, src/ccfont2.xbm, src/cc.h,
src/caption.c, src/bit_slicer.h, src/bit_slicer.c,
src/bcd.h: Changed the license to LGPLv2+.
* src/search.h, src/search.c, src/vbi.h, src/vbi.c: Changed the
license to LGPLv2+ with Iñaki's permission. Could not contact
Edgar Toernig for permission but the file changed a lot and
only traces of AleVT remain.
* src/misc.h, src/misc.c: Changed the license to LGPLv2+ with
Iñaki's permission.
* src/proxy-msg.h, src/proxy-msg.c, src/proxy-client.h,
src/proxy-client.c, src/io.h, src/io.c, src/io-v4l2k.c,
src/io-v4l.c: Changed the license to LGPLv2+ with Tom's
permission.
* src/export.c: Disabled VTX export module. Improved
documentation.
* src/exp-vtx.c: Disabled for now because this code is
licensed under GPLv2+ and cannot be linked with the rest
of libzvbi, which is licensed under LGPLv2+.
* src/proxy-msg.c: Include videodev.h because videodev2k.h
won't do that anymore.
* src/proxy-msg.c, src/chains.c: Define __s64 and __u64 for
videodev2.h and videodev2k.h if not defined in asm/types.h.
* src/videodev2.h, src/videodev.h:
Replaced the file by a new uncopyrighted version because the
original was copied from the Linux kernel sources which are,
absent other declarations, licensed under GPLv2.
* src/io.h: Added "deprecated" attribute to vbi_capture_dvb_new()
function.
* src/macros.h (_vbi_deprecated): New macro for src/io.h
vbi_capture_dvb_new() declaration.
* src/io-dvb.c: Rewrote this code and changed license to
LGPLv2+.
* configure.in: Updated site_def.h defaults.
* src/vbi.h, src/vbi.c, src/search.c, src/teletext.c,
src/packet.c: src/cache.c, src/vt.h changed.
* src/Makefile.am (libzvbi_la_SOURCES): Added cache-priv.h,
dlist.h.
* src/bcd.h: Added vbi_bin2bcd(), vbi_bcd2bin() and
vbi_bcd_digits_greater() for src/cache.c.
* src/dlist.h, src/cache-priv.h: Added for src/cache.c.
* src/cache.h, src/cache.c: Replaced by new Teletext cache code
from branch 0.3 and changed license to LGPLv2+.
* src/vt.h: Resynched with branch 0.3.
* src/vt.h, src/teletext_decoder.h: Moved some definitions
from vt.h to new file teletext_decoder.h, so I can include
vt.h in cache-priv.h and cache-priv.h in teletext_decoder.h.
Changed the license to LGPLv2+. Could not contact Edgar
Toernig for permission but the file changed a lot and only
traces of AleVT remain.
* src/Makefile.am (libzvbi_la_SOURCES, LIBZVBI_HDRS):
Added teletext_decoder.h.
* src/hamm.c, src/hamm.h: Replaced the code from AleVT and changed
the license to LGPLv2+. Added a new function vbi_ham24p().
* test/test-hamm.cc: Added a test for the new vbi_ham24p() function.
* test/hamm.c, test/test-hamm.cc: Replaced hamm.c by test-hamm.cc.
* test/Makefile.am (TESTS, check_PROGRAMS): Replaced hamm by
test-hamm. Added test_hamm_SOURCES because the source is a C++
file.
* src/Makefile.am: Added hammgen and hamm-tables.h rule.
(BUILT_SOURCES, EXTRA_DIST, libzvbi_la_SOURCES): Added hamm-tables.h.
* test/export.c: The --default-cs option now works with libzvbi
0.2 as well.
* m4/autogen.sh: Fixed a typo.
* Makefile.am (EXTRA_DIST): Added COPYING.LIB.
* COPYING.LIB: Added.
* README: Updated licensing information. Added IRC link.
2008-02-17 <[email protected]>
* test/sliced.c (capture_stream_new): Capturing from a Linux DVB
device didn't work because we opened the buggy old interface
and a sampling format check in test/sliced.c failed.
* configure.in: Bumped version to 0.2.28, incremented .so revision.
2008-02-14 <[email protected]>
* Release 0.2.27.
2008-02-14 <[email protected]>
* test/test-unicode: New regression test for the Teletext and
Closed Caption to Unicode conversion functions.
* test/unicode-out-ref.txt: Reference output of test/unicode for
the test-unicode make check.
* test/unicode.c (main): Fixed vbi_caption_unicode() calls. Print
Closed Caption extended characters. Test vbi_caption_unicode()
boundary checks.
* test/Makefile.am (TESTS, check_SCRIPTS): Added test-unicode.
(EXTRA_DIST): Added unicode-out-ref.txt.
* src/network-table.h (vbi_cni_table): Updated from TS 101 231
rev. 2008-02.
2008-02-12 <[email protected]>
* src/lang.c (vbi_caption_unicode): Bug fix: Did not convert
special characters.
2007-12-03 <[email protected]>
* src/dvb_demux.c (demux_pes_packet): Bug fix: Did not skip start
codes with invalid stream_id 0x00 ... 0xBB, looping
forever. Discovered by Tom.
* test/Makefile.am: Added test-dvb_demux.cc.
* test/test-dvb_demux.cc: New regression test for start code bug.
* configure.in: Bumped version to 0.2.27, incremented .so revision
and added a strerror_r() check.
2007-12-02 <[email protected]>
* src/proxy-client.c: Fixed nasty bug: STDIN was closed after
connect failure due to close() on uninitialized sock_fd.
2007-11-27 <[email protected]>
* Release 0.2.26.
2007-11-26 <[email protected]>
* src/xds_demux.h, src/pfc_demux.h, src/pfc_demux.c,
src/idl_demux.h: Doxumentation fixes.
* doc/Doxyfile.in (FILE_PATTERNS): Added pfc_demux.h.
* src/xds_demux.h, src/vt.h, src/vps.h, src/sliced_filter.h,
src/sliced.h, src/sampling_par.h, src/pfc_demux.h,
src/page_table.h, src/misc.h, src/macros.h, src/io-v4l.c,
src/idl_demux.h, src/export.h, src/exp-txt.c, src/exp-gfx.c,
src/dvb_mux.h, src/dvb_demux.h, src/conv.h, src/caption.c,
src/bit_slicer.h: Use _vbi_attribute macro instead of
__attribute__ so we can safely disable it in libzvbi.h if
there are compiler problems.
* src/macros.h: Changed the dummy definitions of _vbi_nonnull,
_vbi_format, _vbi_pure and _vbi_alloc because GCC 2.95 aborts
with an error if __attribute__ has no parameters.
* src/sampling_par.c, src/raw_decoder.c, src/misc.h, src/macros.h,
src/lang.h, src/io-sim.c, src/hamm.h, src/exp-txt.h,
src/exp-gfx.h, src/dvb_mux.c, src/dvb_demux.c, src/decoder.h,
src/bcd.h: Renamed vbi_inline to _vbi_inline (private macro).
* README, BUGS: Updated.
2007-11-25 <[email protected]>
* test/sliced2pes.c: Must include unistd.h to declare optarg.
* src/export.h, src/misc.h: Include sys/types.h to define
(s)size_t.
* src/misc.h: Define SIZE_MAX if not in limits.h because this is
a C99(?) extension. Define __va_copy() if not in stdarg.h
because this is a GNU extension.
* src/io-sim.c: Added log2() fallback because this is a GNU
extension.
* configure.in: Fixed sincos() check, added log2() check.
2007-11-24 <[email protected]>
* src/vps.h, src/vps.c, src/teletext.c, src/tables.h,
src/tables.c, src/structpr.pl, src/sliced_filter.h,
src/sliced_filter.c, src/sliced.h, src/sampling_par.h,
src/sampling_par.c, src/raw_decoder.h, src/raw_decoder.c,
src/pfc_demux.h, src/pfc_demux.c, src/page_table.h,
src/page_table.c, src/packet.c, src/lang.h, src/lang.c,
src/io-v4l2k.c, src/io-v4l2.c, src/io-v4l.c,
src/io-sim.h, src/io-sim.c, src/io-bktr.c, src/idl_demux.h,
src/idl_demux.c, src/format.h, src/dvb_mux.h, src/dvb_mux.c,
src/dvb_demux.h, src/dvb_demux.c, src/decoder.h,
src/decoder.c, src/bit_slicer.h, src/bit_slicer.c: Changed
license from GPLv2 to GPLv2-or-later and updated the FSF
address.
* test, src, examples, contrib, README:
Updated the FSF address in the copyright notice.
* NEWS: Added the xpm_support changes.
Merged in from the xpm_support branch:
* test/exp-test.sh: Added for a quick export target test.
* test/export.c (do_export): Extended to test vbi_export_mem(),
vbi_export_alloc() and vbi_export_file().
(export_pdc, export_link): Replaced stdio by vbi_export output
functions.
(usage): Short form of --list changed from -i to -m.
* src/vbi.c (vbi_decoder_delete): Bug fix: Did not free() the
event handler structures.
* src/misc.h, src/misc.c (_vbi_shrink_vector_capacity)
(_vbi_grow_vector_capacity): New helper functions based on the
page_table.c code for the vbi_export output buffer functions.
* src/macros.h: Added __attribute__ format macro for
vbi_export_printf().
* src/exp-txt.c (iconv_formats): Bug fix: Did not free the iconv
structure after the endianess check failed.
* src/exp-html.c: Bug fix: Did not free the styles list on
error.
* src/exp-vtx.c (export), src/exp-txt.c (export),
src/exp-templ.c (export), src/exp-gfx.c (ppm_export),
src/exp-html.c (export): Replaced stdio output by vbi_export
buffer.
* src/export.h, src/export.c (initialize): New XPM module.
(_vbi_export_grow_buffer_space, vbi_export_flush, vbi_export_putc)
(vbi_export_write, vbi_export_puts, vbi_export_puts_iconv)
(vbi_export_puts_iconv_ucs2, vbi_export_vprintf, vbi_export_printf):
New helper functions replacing stdio for export modules.
(vbi_export_mem, vbi_export_alloc): New functions to export pages
into memory.
(vbi_export_stdio, vbi_export_file): Replaced stdio output by
vbi_export buffer.
(_vbi_export_malloc_error): New helper function.
* src/exp-gfx.c: Tom refactored the PNG code, added an XPM
export module and new transparency and title options to both
modules.
* src/decoder.h, src/exp-gfx.c: vbi_draw_cc_page_region() and
vbi_draw_vt_page_region() now support a palette
format. Contributed by Tom.
2007-11-13 <[email protected]>
* src/misc.c (_vbi_vasprintf): Bug fix: Save the va_list parameter
across vsnprintf() because the function may change it.
* src/conv.h, src/conv.c: Renamed strndup_iconv() to
_vbi_strndup_iconv() and made the function global for
vbi_export_puts_iconv().
2007-11-09 <[email protected]>
* src/dvb_demux.c: Updated dox to clarify vbi_dvb_demux_cor()
and vbi_dvb_demux_feed() are not interchangeable.
2007-11-05 <[email protected]>
* src/dvb_demux.c (vbi_dvb_demux_cor): Assert callback == NULL
to prevent mixed feed and coroutine calls.
* src/pfc_demux.h, src/idl_demux.h: Added function
__attributes__.
* src/xds_demux.h, src/xds_demux.c:
Added vbi_xds_demux_feed_frame().
* src/pfc_demux.h, src/pfc_demux.c:
Added vbi_pfc_demux_feed_frame().
* src/idl_demux.h, src/idl_demux.c:
Added vbi_idl_demux_feed_frame().
2007-11-04 <[email protected]>
* test/osc.c (short_options): Added -4 (proxy interface).
* test/capture.c (short_options): Added -x.
(usage): Documented -x --proxy option.
2007-11-03 <[email protected]>
* test/proxy-test.c: Bugfix setup of raw capture handling
* test/capture.c, osc.c: Added new command line option --proxy
* test/sliced.c, sliced.h: Added support for proxy interface type
2007-11-03 <[email protected]>
* test/sliced.h, test/sliced.c (write_stream_new, read_stream_new):
Added file_name parameter to open a named file instead of
standard input or output.
* test/ttxfilter.c, test/sliced2pes.c: Added an -i --input and
-o --output file name option for debugging purposes.
* test/export.c: Added an -i --input file name option for
debugging purposes.
* test/decode.c: Added an -i --input file name option for
debugging purposes. Renamed -i --idl option to -j.
* test/capture.c: Added an -o --output file name option.
* test/caption.c (main): read_stream_new() changed.
* src/dvb_demux.c (decode_timestamp): Print a debug message on
marker mismatch.
(valid_pes_packet_header): In debug messages say if header_length
and data_identifier have the expected value. Print a debug
message if the PES header flags mismatch or the PTS is missing.
* examples/wss.c (init_decoder): Bug fix: Possible overflow in
sampling rate calculation.
* test/export.c (parse_output_option): Drop the period from
filename_suffix because we add one later.
2007-11-02 <[email protected]>
* test/decode.c (page_function_clear_cb): Second and third
parameter were swapped.
(teletext): IDL-A data decoding didn't work because somehow
the vbi_idl_demux_feed() call was lost.
(usage): Option --idl-ch shortcut is -l, not -c anymore.
(main): Use strtol() base zero to permit C syntax numbers.
* src/pfc_demux.h (vbi_pfc_demux_cb): Bug fix: Second and third
parameter were swapped in the function prototype. Thanks Tom!
* contrib/ntsc-cc.c (read_test_stream): Skip raw data in test
streams.
2007-10-29 <[email protected]>
* src/teletext.c (vbi_format_vt_page): Bug fix: Must not store a
double width character in the last column.
2007-10-14 <[email protected]>
* src/dvb_mux.c, src/io-sim.c, src/raw_decoder.c,
src/sampling_par.c, test/capture.c, test/decode.c, test/export.c,
test/sliced.c, test/sliced2pes.c, test/test-dvb_mux.cc:
Resynched with 0.3 branch.
* src/sliced_filter.c (decode_teletext_packet_0): Bug fix: Keep
the very first page header and its timestamp, which is
important for subtitle timing.
* test/ttxfilter.c (filter_frame): Did not skip broken sliced
VBI lines, looping forever.
* test/README: Updated.
* test/export.c (main): Page number error message fix.
* src/misc.h: Replaced vbi_malloc, vbi_free etc macros by
pointers for fault injection during unit tests.
* test/test-common.h, test/test-common.cc (xmemdup): Added for
test-raw_decoder.
* test/test-dvb_mux.cc
(test_multiplex_sliced_packet_size_checks): Incorrect buffer
pointer check.
(test_mr_packet_size): Allocated zero size buffer.
* src/raw_decoder.h: Added new functions and changed struct
vbi3_raw_decoder.
* src/raw_decoder.c: Added support for sampling point recording.
(vbi3_raw_decoder_add_services): Inherit log function to bit slicer.
* src/io.h (struct vbi_capture): Added sampling_point() and debug()
methods for test/osc in 0.3.
* src/io-sim.h: Various new functions and flags.
* src/io-sim.c (signal_closed_caption): Added a flag to generate
the low amplitude signal observed by Rich for tests.
(vbi_raw_add_noise): New function to test the improved bit slicer.
(_vbi_capture_sim_get_flags, _vbi_capture_sim_set_flags): New
functions to modify the simulated VBI signal.
(vbi_capture_sim_add_noise): New option to simulate a noisy VBI
signal.
(sim_parameters, sim_debug): New capture methods to test the
bit slicer with simulated data. Used by test/osc in 0.3.
* configure.in: Added sincos() check for src/io-sim.c.
* test/sliced.h: Removed the old sliced file output functions.
(capture_stream_sim_set_flags): New function.
* test/sliced.c: Added generic support for sampling point
recording to examine the bit slicer.
(capture_stream_sim_set_flags): Added to simulate incorrect
signals in test tools.
* test/capture.c: Added --sim-noise option.
(cc_test): Cleaned up and documented the function.
* test/Makefile.am: Replaced raw_decoder.c by test-raw_decoder.cc.
* src/misc.c (_vbi_strlcpy): Was not BSD compatible.
* src/dvb_demux.c: Documentation improvements.
* src/Makefile.am (unrename): Exclude decoder.c.
2007-09-19 <[email protected]>
* src/io-v4l2k.c (restart_stream): Didn't initialize the
v4l2_buffer.memory field. Ignore VIDIOC_QBUF errors because the
buffer may be already enqueued.
(v4l2_stream): Didn't initialize the v4l2_buffer.memory field for
VIDIOC_QBUF. Just in case, also do that for VIDIOC_DQBUF.
(v4l2_stream_flush): Didn't initialize the v4l2_buffer.memory
field for VIDIOC_QBUF.
2007-09-16 <[email protected]>
* src/bit_slicer.c: Kicked averaging length back up to 16.
* test/capture.c: Ignore zero bytes during --cc-test.
2007-09-15 <[email protected]>
* src/bit_slicer.c: Reduced averaging length from 16 to 8 samples
for CC sampling at 27 MHz. Bug fix in sampling point recorder.
2007-09-14 <[email protected]>
* test/test-common.cc: VBI_VERSION_MINOR was undefined.
* test/export.c (usage), test/decode.c (usage),
test/capture.c (usage): #if VBI_VERSION within the _() macro
is not portable.
* src/io-sim.c: Replaced malloc() and free() calls by macros
for memory allocation tests.
* test/sliced.c: Extended the capture/raw_decoder analysis
functions to raw VBI files.
* src/raw_decoder.c (decode_pattern): Internal bit slicer interface
changed.
* src/bit_slicer.c: Added a sample averaging bit slicer for noisy
low bit rate signals.
2007-09-12 <[email protected]>
* test/sliced2pes.c: Moved the output functions into sliced.c.
Added --verbose option.
* test/sliced.c, test/sliced.h: Integrated capture and file output
functions, added support for raw capturing and raw VBI files.
More helper functions.
* test/export.c: Added --verbose option.
* test/capture.c: File helpers changed. Removed VPS decoder, which
is now part of the decode tool. Added raw capturing. Added a CC test
for Rich. Added, changed and removed a few options, added some
standard options. Moved the capture and output functions into
sliced.c.
* test/export.c, test/decode.c, test/caption.c: File helpers changed.
* src/sliced_filter.c, src/pfc_demux.c, src/page_table.c, src/misc.c,
src/idl_demux.c, src/dvb_mux.c, src/conv.c: Replaced malloc()
and free() calls by macros for memory allocation tests.
* src/dvb_mux.c (insert_sliced_data_units): Removed the unused
strict option to pass the unit test coverage test.
* test/test-dvb_mux.cc: Moved some helper functions into
test-common.cc, tried C++ to simplify things. Added a memory
allocation test.
* test/test-common.cc, test/test-common.h: New unit test helper
functions.
* test/Makefile.am (test_dvb_mux_SOURCES): Added test-common.cc,
test-common.h.
* src/sampling_par.c (_vbi_sampling_par_valid_log)
(_vbi_sampling_par_permit_service): Changed log
level from notice to info.
* src/bit_slicer.c: Commented out unused BIT_SLICER RGB8 code.
2007-09-07 <[email protected]>
* test/sliced.c (write_sliced), test/ttxfilter.c (filter_frame),
test/capture.c (binary_sliced): Produced wrong timestamps if a
frame did not contain data.
2007-09-02 <[email protected]>
* src/dvb_mux.c: Fixed typos in doxumentation.
* src/dvb_mux.c, src/dvb_demux.c: Added reference to
vbi_decode_dvb_pdc_descriptor(),
vbi_encode_dvb_pdc_descriptor().
* src/vps.h, src/vps.c: Added vbi_decode_dvb_pdc_descriptor(),
vbi_encode_dvb_pdc_descriptor() (not part of the API yet).
2007-09-01 <[email protected]>
* test/wss.c: Removed. This code went into examples/.
* test/README: Updated.
* test/ttxfilter.c (filter_frame), test/sliced2pes.c,
test/sliced.c: Added write_error_exit helper function.
* test/ttxfilter.c (main), test/sliced2pes.c (main), test/sliced.h,
test/sliced.c, test/decode.c (main): Moved the End of stream
messages back to the tools to allow a customized message in
test/export.
* test/export.c: Consolidated with its 0.3 counterpart.
* test/unicode.c, test/glyph.c: Replaced extern decls by includes.
* src/Makefile.am, src/sampling_par.h: Make vbi_videostd_set
public for dvb_mux.
* test/sliced2pes.c: Fixes.
2007-08-31 <[email protected]>
* src/dvb_mux.h: Missing markers for inclusion in libzvbi.h.
* test/test-vps.c, test/test-dvb_mux.cc: Added GPLv2+ blurb.
* test/sliced2pes.c: Use the new helper functions. Added support
for DVB PES & TS input streams and the standard options -h -q -V.
Added data identifier and min/max PES packet size options.
Added an option to generate a TS stream.
* test/capture.c: Use the new helper functions. Added PID
argument to -t (ts) option.
* test/Makefile.am (capture_SOURCES): Use helper functions.
* test/sliced.h, test/sliced.c: Fixed option_ts_pid to handle
64 bit result of strtoul().
* src/pfc_demux.c (vbi_pfc_demux_new): Dox fixed.
* src/page_table.h, src/page_table.c: Added doxumentation.
* test/test-dvb_mux.cc, src/dvb_mux.c, src/dvb_mux.h: On a second
thought vbi_dvb_mux_get_min/max_pes_packet_size sounds better.
2007-08-29 <[email protected]>
* test/Makefile.am (LDADD), contrib/Makefile.am (LDADD),
configure.in: Don't require libzvbi.a (bug #1692015).
* src/io-sim.c (warning): Missing __FILE__ parameter.
2007-08-27 <[email protected]>
* src/proxy-msg.c (vbi_proxy_msg_handle_read): printf size_t fix.
* src/dvb_mux.c (encode_stuffing): Fixed 64 bit pointer addition.
* src/misc.c, src/misc.h, src/intl-priv.h, src/conv.c:
Compile fixes.
* test/export.c: Replaced read loop etc by new read_stream helper
functions. Added support for DVB PES & TS streams and the
standard options -h -q -V.
* test/decode.c: Replaced read loop etc by new read_stream helper
functions. Added support for DVB TS streams. Replaced some other
functions by helpers. Added -q (quiet) switch. Renamed -m
(metronome) switch to -M, -T (time) to -m because -T is --ts
everywhere else.
* test/caption.c: Replaced read loop etc by new read_stream helper
functions.
* test/sliced.c, test/sliced.h: Added new helper functions.
Improved the sliced VBI file reading functions.
* test/capture.c (main): vbi_dvb_mux interface changed.
* test/test-dvb_mux.cc: New unit test for the vbi_dvb_mux
module. Phew!
* test/Makefile.am (TESTS, check_PROGRAMS): Added test-dvb_mux.
* src/sliced.h: Added extern C brackets for inclusion into
test-dvb_mux.cc.
* src/raw_decoder.c (vbi_sliced_name, vbi_sliced_payload_bits):
Returned nothing for VBI_SLICED_TELETEXT_B_L25_625.
* src/dvb_mux.c, src/dvb_mux.c: Rewrote this code and improved
the interface. Added better support for raw VBI data. Added a
minimum and maximum instead of one target PES packet size.
* src/dvb_demux.c, src/dvb_demux.h: Added _vbi_dvb_skip_data_unit(),
_vbi_dvb_demultiplex_sliced(), _vbi_dvb_ts_demux_new()
(experimental).
* src/Makefile.am (LIBZVBI_HDRS): Added dvb_mux.h.
* doc/Doxyfile.in (FILE_PATTERNS): Added dvb_mux.h.
* src/page_table.c, src/page_table.h: New module.
* src/misc.c, src/misc.h: Added _vbi_popcnt() for page_table.c.
* src/sliced_filter.c: Moved the Teletext page table into a new
module page_table.c because the code is useful for other
purposes.
* src/Makefile.am (libzvbi_la_SOURCES): Added page_table.c,
page_table.h.
* src/proxy-msg.c (vbi_proxy_msg_logger)
(vbi_proxy_msg_accept_connection):
Replaced sprintf() by the safer snprintf().
* test/osc.c (decode_ttx, dump_pil, decode_vps):
Replaced sprintf() by the safer snprintf().
* src/teletext.c (vbi_format_vt_page):
Replaced sprintf() by the safer snprintf().
* src/exp-txt.c (print_char):
Replaced sprintf() by the safer snprintf().
* daemon/proxyd.c (vbi_proxyd_signal_handler)
(vbi_proxyd_parse_argv):
Replaced sprintf() by the safer snprintf().
* src/trigger.c (parse_eacem, parse_atvef):
Replaced strncpy() by the faster a safer strlcpy().
* src/proxy-msg.c (vbi_proxy_msg_get_local_socket_addr)
(vbi_proxy_msg_accept_connection, vbi_proxy_msg_resolve_symlinks):
Replaced strncpy() by the faster a safer strlcpy().
* src/proxy-client.c (proxy_client_start_acq):
Replaced strncpy() by the faster a safer strlcpy().
* src/packet.c (vbi_decode_vps, parse_bsd):
Replaced strncpy() by the faster a safer strlcpy().
* src/io-v4l.c (v4l_new):
Replaced strncpy() by the faster a safer strlcpy().
* daemon/proxyd.c (vbi_proxyd_take_service_req)
(vbi_proxyd_take_message, vbi_proxyd_take_message):
Replaced strncpy() by the faster a safer strlcpy().
* src/misc.h: Undefined strncpy() and sprintf().
* autogen-maint.sh (CXXFLAGS): Same warnings as in CFLAGS,
except those which are not supported in C++.
2007-07-23 <[email protected]>
* src/sliced_filter.c, src/sliced_filter.h: Move the Teletext
filter code from test/ttxfilter.c here and improved it
somewhat. This not yet part of the library API.
* test/ttxfilter.c (main): Added some debugging code.
(main): Added -q (quiet) and -a (abort-on-error) option.
(filter_frame): Report parity/hamming errors and continue with
the next line instead of discarding the entire frame.
* src/misc.h (_vbi_vlog): New variadic counterpart of _vbi_log().
* src/misc.h, src/misc.c (_vbi_log_vprintf, _vbi_log_printf):
Context was only the function name. Added a file name
argument to make it unique.
* src/misc.c (vbi_log_on_stderr): Minor formatting fix.
(_vbi_log_vprintf, _vbi_log_printf):
* src/lang.c (vbi_caption_unicode): Clarified doxumentation.
* autogen-maint.sh: CFLAGS -Ox fixes.
2007-07-04 <[email protected]>
* test/ttxfilter.c: Added time option and a few other
improvements.
* src/io-dvb.c (dvb_init): Some drivers fail with O_RDWR.
Open with O_RDONLY instead.
* src/videodev2k.h: Don't use anonymous union, which is a GCC
extension.
* src/lang.c, src/export.c: Replaced GCC's __PRETTY_FUNCTION__
by __FUNCTION__.
* src/exp-gfx.c (draw_char): Added #if __GNUC__ around
#if #cpu conditional.
* src/conv.c (strndup_iconv_to_ucs2): Force a const cast in
iconv() call.
* src/vt.h: Don't typedef enum drcs_mode. Some compilers cannot
distinguish btw variable and type of same name.
* src/cache.c, src/cache.h: Don't typedef struct list, struct
node. Some compilers cannot distinguish btw variable and
type of same name.
* src/io-v4l2k.c, src/io-v4l2.c, src/io-dvb.c: Define __s64 and
__u64 if asm/types.h does not.
* configure.in: Check if asm/types.h defines __s64 and __u64
to compile with non-GCC compilers.
* m4/autogen.sh (REQUIRED_GETTEXT_VERSION): Bumped to 0.16.
* autogen-maint.sh: Added maintainer autogen.sh.
2007-07-04 gettextize <[email protected]>
* m4/iconv.m4: Upgrade to gettext-0.16.1.
* m4/lib-ld.m4: Upgrade to gettext-0.16.1.
* m4/lib-link.m4: Upgrade to gettext-0.16.1.
* m4/lib-prefix.m4: Upgrade to gettext-0.16.1.
* m4/nls.m4: Upgrade to gettext-0.16.1.
* m4/po.m4: Upgrade to gettext-0.16.1.
* m4/progtest.m4: Upgrade to gettext-0.16.1.