-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
4286 lines (2889 loc) · 164 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
2019-10-28 Thomas Beierlein <tomjbe@gentoo.org>
* NEWS, ToDo: Update NEWS and ToDo files
2019-09-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/fldigixmlrpc.c, src/gettxinfo.c, src/globalvars.h, src/main.c,
test/data.c: Fix definition of 'rigmode' variable Newest version of hamlib
has an extended range of modei definitions and therefore defined it as
UInt64. That conflicts with the former definition of 'rigmode' as 32 bit int.
2019-09-29 Thomas Beierlein <tomjbe@gentoo.org>
* INSTALL: Fix dependencies for Debian like distributions Thx to Juajo EA8BGO
for reporting.
2019-09-18 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: Fix sideband selection An unnoticed constant caused wrong
sideband selection when switching to SSB. Moved SSB and CW settings to
functions.
2019-09-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, src/parse_logcfg.h, src/rules.c: Refactor parsing of
config files
* src/parse_logcfg.c, src/rules.c: rewording of startup messages
2019-09-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c, src/readqtccalls.c, src/rules.c,
src/sendqrg.c: Fix some minor display problems (Tnx HA5CQZ) - unify
capitalisation - do not use fixed display positions - show voice keyer
messages only in verbose mode
2019-09-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/audio.c, src/background_process.c, src/bandmap.c,
src/bands.c, src/callinput.c, src/changefreq.c, src/changepars.c,
src/clusterinfo.c, src/err_utils.c, src/fldigixmlrpc.c, src/freq_display.c,
src/grabspot.c, src/lancode.c, src/main.c, src/parse_logcfg.c, src/rules.c,
src/searchlog.c, src/sendbuf.c, src/sendqrg.c, src/showinfo.c,
src/splitscreen.c, src/ui_utils.c, src/writecabrillo.c: apply astylerc rules
2019-09-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/startmsg.c, src/startmsg.h: Change handling of verbose
startup * Do no longer slow down display of infos. Instead ask for
continuation before clearing the screen. That gives time to read the
messages. * Message display checks for enough room to display. If screen
gets full clear and start anew from above (after a small delay or
confirmation).
* src/getmessages.c, src/getmessages.h, src/main.c: Refactor check for first
run of TLf in new directory * Test it quite early. Show GPL and set
'verbose' mode.
2019-09-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c: Fix color settings for TERM=xterm-256color
2019-09-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/lancode.c: fix missing ntoh conversion
2019-07-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/background_process.h, src/changepars.c,
src/logit.c: Fix Simulator mode for CQWW contest. - Fix sidetone management
(Do not change own frequency during QSO and make random change of sidetone
for other station working - Add a little timing space before getting called
by other station - Refactor management of simulation stages - Improve logic
to turn on/off of simulator mode
2019-07-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c: Make sure INFO messages can be read at least 1 second
2019-07-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/logit.c, src/recall_exchange.c: Recall old exchange only if exchange
field is empty If RECALL_MULTS is set keep the content of the exchange field
if not empty. Also do not empty the exchange field if no old exchange could
be found.
2019-07-06 zcsahok <ha5cqz@freemail.hu>
* src/main.c: improve command line argument handling Switched to Argp as it
provides a number of features (usage, version, error messages, long
arguments, ...) out of the box. The original issue was that argument option
had to be written without space (-fmyfile.dat). Now both this, the "normal'
format (-f myfile.dat), and the long format (--config=myfile.dat) are also
supported.
2019-06-23 zcsahok <ha5cqz@freemail.hu>
* src/changefreq.c, src/freq_display.c, src/freq_display.h: fix frequency
adjustment function (Ctrl-F) Replace key_get() with key_poll(). In order to
avoid flickering the order of freq_display() and time_update() was reversed.
Minor code cleanup was done in freq_display.c. Ctrl-F is now completely live
in the sense that it also takes over freq changes from the rig. The cluster
display below Ctrl-F is also updated and the displayed values are all in
sync. For TRX there is a delay of 1 sec but that's tolerable as it's the
normal behavior.
2019-06-17 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: allow CQ<->S&P switch even if call input field is
non-empty
2019-06-14 zcsahok <ha5cqz@freemail.hu>
* src/cleanup.c: do not highlight exch field on CQ<->S&P
2019-06-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: Fix possible use of NULL pointer
2019-05-28 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Allow wider adjustment QRG of grabbed station The
reported QRG of spotted stations may not be exact. So after a grab of it from
the bandmap list you may want to adjust the QRG a little. On the other side
after a grab if you just tune away you would like the call input field to
become empty automatically. The patch widens the allowed adjustment to
+/-500 Hz. That should hopefully be enough. Problem reported by Fred DH5FS.
2019-05-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c, src/splitscreen.c, src/splitscreen.h, src/ui_utils.c,
src/ui_utils.h: Respect screensize for packet interface As panels do not
support screen resize we need some additional code to renew the packet window
and setup the split display.
2019-04-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/changepars.c, src/changepars.h, src/clusterinfo.c,
src/muf.c, src/ui_utils.c, test/test_clusterinfo.c: Respect vertical screen
size for informational pop up windows - propagation window - cluster info -
network info - multiplier info
2019-04-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Use full vertical screen size for bandmap display Fix
display of bandmap info and menu. Position adapts to size of screen
* src/clear_display.c, src/main.c: Respect vertical screen size for main
window
2019-03-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c, src/getwwv.c, src/lancode.c, src/lancode.h,
src/showinfo.c, src/splitscreen.c: Display of infos and errors always on
bottom line of window. Fix the display position for the following items: -
error messages - infoline with country information - new WWV/WCY
announcements - talk command input - send cluster command
2019-05-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/grabspot.c, src/time_update.c: Fixup display of TRX
and MEM info - Remove arbitrary remnants just before the displayed values -
Erase fields if not rig control is available.
2019-03-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/ui_utils.c: Handle KEY_RESIZE Pick up new screen size after resize of
terminal window and redraw display
2019-05-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/err_utils.c: Simplify wipe of info line
2019-04-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/grabspot.c: Fix display of MEM frequency
* src/grabspot.c, src/sendqrg.c: Fix wrong prototyp declarations After the
switch to use freq_t for all frequency values there was a type mismatch for
send_bandswitch parameter.
2019-04-03 zcsahok <ha5cqz@freemail.hu>
* src/qrb.c: fix get_qrb return value
* src/qrb.c, src/qrb.h, src/showinfo.c, src/showinfo.h: show only valid DX
info
2019-03-25 Thomas Beierlein <tomjbe@gentoo.org>
* Refactor handling of warnings, errors and informational messages * Factor
out common sequences for better readability * Allows to change place and
mode of display in an easy way. That will be needed for resizing the
display.
2019-03-28 zcsahok <ha5cqz@freemail.hu>
* test/data.c: fix bandfrequency in test/data.c
2019-03-24 zcsahok <ha5cqz@freemail.hu>
* src/background_process.c, src/lancode.c: fix FREQMSG
* switch to use of freq_t
2019-02-17 Thomas Beierlein <tomjbe@gentoo.org>
* tlf.1.in: Add documentation for Multiplier aliases
2019-02-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/getexchange.c, src/makelogline.c, src/readcalls.c: Fix mult handling
for SECTION_MULT and SERIAL+SECTION With the possibility to use aliases for
section entries we need to record the original entered comment in log. The
recognized section gets recorded in the section column. Tlf now use the
recorded section for building the reached multiplier list during read of an
existing log file. Respect also alias settings for parsing of QSO sections
in getexchange() and checkexchange().
2019-01-27 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h, test/test_addmult.c: Add new function to look
for best match in given possible mult The function check if mult name or one
of its aliases is a substring of the searchstring and returns the best
matching length. If the returned length is equal the searchsting length then
we have an exact match.
2019-01-26 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, test/test_addmult.c: Add parsing of alias list
2019-01-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addmult.h: Change internal representation of possible
multipliers The change allows to associate each multiplier with a list of
aliases. If the alias is used it will be counted for the according
multiplier.
* src/addmult.c, src/addmult.h, src/changepars.c, src/getexchange.c,
src/globalvars.h, src/searchlog.c, test/test_addmult.c: Make handling of
possible mults opaque Concentrate implementation dateils in addmult.c.
Introduce getter functions for access to mult number and to mult name.
2018-10-11 Eric Tamme <eric.tamme@onsip.com>
* src/lancode.c, src/parse_logcfg.c, tlf.1.in: Add lan port config directive
- Allows to specify on which port number TLF is listening for incoming
broadcasts from other instances. - Allows even to run multiple instances of
TLF on the same server.
2019-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* share/help.txt, src/changepars.c, src/main.c, src/parse_logcfg.c, tlf.1.in:
Drop SCAN related data - S-METER keyword and variables - clean up man page
and help.txt
2019-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c, tlf.1.in: Add CALLMASTER= keyword to parser and man
page. Allow loading from different callmaster database file
2019-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* ToDo, share/logcfg.dat: Add ToDo list for version 1.4
2019-01-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c, test/test_searchlog.c: Refactor lookup of zonenumber -
2019-01-02 Thomas Beierlein <tomjbe@gentoo.org>
* test/test_searchlog.c: Add tests for USEPARTIAL call suggestions If
USEPARTIAL is set and there is only one matching call in already worked
stations or in callmaster database use it as suggestion for callinput.
2018-12-30 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c: Fix zone display for old behaviour If multiplier is WAZ
or ITU zone the following algorithm is used: - First try to pick up the
zone from the comment string of the selected QSOs. Use the last one found. -
If no QSO with zoneinfo is found use zone_export (set by getctydata()
according to the country information. - If there are a zoneinfo field, but
it is not readable as zonenumber use either the zone from zone_fix
(calculated from the actual exchange field) or again from zone_export. That
allows an override of the calculated zone. NOTE: The algorithm has some
drawbacks. * If a single station has a different zone number than the normal
ones i it is not guaranteed, that we use this number. * If a zonenumber is
found during scan of former QSOs it is no longer possible to use the override
for searchlog operation. Show that zone number on lower line of search
window and use it to check for already worked zones.
2018-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c: Factor out display of search results
* src/searchlog.c: Factor out display of partials
* src/searchlog.c: fix display for WARC bands
2018-12-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/searchlog.c, test/test_searchlog.c: Factor out display related code -
Drawing of search window - Display of call info for 'hiscall' fragment -
converting bandstring to display line Add testcode for last function
* src/searchlog.c, test/test_searchlog.c: Factor out filtering of Log for
relevant QSOs
* src/searchlog.c, test/test_searchlog.c: Add first testcode for searchlog()
function Test basics of filtering relevant QSOs from log file based on
'hiscall'. Factor out preparation of display results for search window.
Simplify.
* src/searchlog.c: Drop DL1YFK "worked window" patch. The dropped code did
not change anything relevant. The lookup for qsos in question before was
always exact, so a 'best match' makes no sense.
* src/checklogfile.c, test/test_checklogfile.c: extend test_checklogfile()
and adapt tested code checklogfile() now guarantees that the logline is
terminated by \n
2018-12-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, test/test_checklogfile.c: added test_checklogline.c and
fix handling of wrong line length Prepares for refactoring and tightens
requests to the checking As a first step checklogfile should guarantee a
correct linelength of each log line.
2018-12-06 Thomas Beierlein <tomjbe@gentoo.org>
* src/checklogfile.c, src/editlog.c, src/getmessages.c, src/setparameters.c:
Refactor logedit() function - Drop use of checklogfile() in not needed
places. - Adapt checklogfile() for use with logedit() Do not exit program if
file not found. Use ncurses for all text output. - Use existing
checklogfile() to check the log after editing Original code was a copy of
that function with small adaption wrt text output and error handling. Be
aware that the functionality is still broken as before.
2018-12-05 zcsahok <ha5cqz@freemail.hu>
* configure.ac: switch to C99 mode Gives us more room for better coding,
e.g. 'bool' type, for-loop variables on the fly and other useful things.
2018-11-28 Thomas Beierlein <tb@forth-ev.de>
* src/editlog.c: Fix assertion after edit of logfile Stop background
processing also during edit of log file
2018-11-20 Thomas Beierlein <tb@forth-ev.de>
* test/Makefile.am: Use CMOCKA_LIBS for locating library
2018-11-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c: Fix compiler warning from clang Calculation the difference
of two unsigned numbers gives an unsigned result. clang warns that doing an
abs() of it makes no sense. Thanks Nate N0NB for reporting.
2018-11-03 Nate Bargmann <n0nb@n0nb.us>
* src/clear_display.c, src/log_to_disk.c: Show blanks instead of '---' in
NO_RST mode It looks like this patch only replaces the '---' string seen on
the log entry line with ' ' and does not replace those characters in the
log file where they are needed for proper Cabrillo generation. Testing is
necessary.
* rules/arrlss: Correct transposition of check and section rules/arrlss Per
http://www.arrl.org/sweepstakes the proper format for the sent exchange is:
# A % 83 CT where sending my call is also a required part of the exchange.
Added commented ALT macros that were available in CT. Added NO_RST as it is
not used in ARRL SS.
2018-11-01 zcsahok <ha5cqz@freemail.hu>
* src/sendqrg.c: fix SegV on missing RIGPORT
2018-10-22 Thomas Beierlein <tomjbe@gentoo.org>
* add tests for reading QTC lines - make qtc_line global to ease test
2018-10-20 Thomas Beierlein <tomjbe@gentoo.org>
* configure.ac: Fix requested cmocka version. Check for cmocka test framework
and warn if not installed
2018-10-18 zcsahok <ha5cqz@freemail.hu>
* fix config.h usage
* make hamlib mandatory
2018-10-16 Thomas Beierlein <tomjbe@gentoo.org>
* INSTALL: add build dependencies to install instructions
* NEWS: Fix typo
2018-10-13 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/fldigixmlrpc.c, src/fldigixmlrpc.h, src/main.c: move
variable to related file
2018-10-12 Eric Tamme <eric@uphreak.com>
* src/parse_logcfg.c: fix missing comma in command array
2018-09-30 Ervin Hegedus <airween@gmail.com>
* src/callinput.c, src/fldigixmlrpc.c, src/main.c: BMAUTOADD adds callsign to
bandmap when Fldigi set it. Show correct CTY info when call comes from
Fldigi. Changed RTTY-REV mode freq calc.
2018-09-28 Thomas Beierlein <tomjbe@gentoo.org>
* Makefile.am, test/Makefile.am, test/test_initial_exchange.c: Fix 'make
distcheck' 'make distcheck' does an VPATH install where the build directory
is not the source directory. That failed for data file used during unit
tests.
2018-09-27 Thomas Beierlein <tomjbe@gentoo.org>
* test/Makefile.am: add missing files to test/Makefile.am and
src/Makefile.am
* src/checkparameters.c, src/writeparas.c, src/writeparas.h, tlf.1.in: Fix
assertion if no .paras file exists during start
2018-09-23 Thomas Beierlein <tomjbe@gentoo.org>
* AUTHORS, INSTALL: update INSTALL and AUTHORS file
2018-08-09 Stephen Hurd <shurd@sasktel.net>
* src/audio.c, src/background_process.c, src/callinput.c, src/changepars.c,
src/checklogfile.c, src/deleteqso.c, src/editlog.c, src/fldigixmlrpc.c,
src/freq_display.c, src/getexchange.c, src/getmessages.c, src/gettxinfo.c,
src/keyer.c, src/logview.c, src/muf.c, src/parse_logcfg.c, src/qtcwin.c,
src/readcalls.c, src/score.c, src/scroll_log.c, src/sendbuf.c,
src/sendqrg.c, src/show_help.c, src/splitscreen.c, src/write_keyer.c:
Fix warnings. While many of these return codes should be checked, none of
them actually are, so having the return codes stored in variables is
pointless.
Create IGNORE() macro to ignore ignored unused results warnings.
2018-09-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/rules.c: make memory allocation error fatal
2018-08-10 Stephen Hurd <shurd@sasktel.net>
* test/data.c, test/test_sendbuf.c: Update the DIGIMODE tests for
PrepareSPcall() tests. Add digi_message to data in tests.
* tlf.1.in: Add documentation for DKF1..DKF12, ALT_DK1..ALT_DK10, DKCQM,
DKSPM, DKSPC
* src/autocq.c, src/callinput.c, src/getexchange.c, src/globalvars.h,
src/keyer.c, src/listmessages.c, src/logit.c, src/main.c,
src/messagechange.c, src/parse_logcfg.c, src/rules.c, src/sendbuf.c,
src/sendbuf.h, src/sendspcall.c, src/writeparas.c: Use separate messages for
RTTY than CW RTTY contests use a space, not newline at end of messages and
should start with a CR. To enable starting with CR, add a | character that
is translated to CR Add config keys DKF1..DKF12, ALT_DK1..ALT_DK10, DKCQM,
DKSPM, DKSPC Default values are the CW message with | at the start and the
trailing newline changed to a space. Note that in callinput.c, in SSB mode,
ENTER on a dupe when NOB4 is not set would send F7 message in CW. This now
sends the voice F7 message instead since that was likely the intent. New
function send_standard_message(int) added which sends the passed message
number using the current trxmode (cw, voice, or digi). Also added is
send_keyer_message(int) which works as above, but in voice mode will still
send CW. This is used by the CW keyer. LIST and MESSAGE will now show/edit
the DIGI messages in DIGI mode. In CW and voice modes, the CW messages will
be shown/changed.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/background_process.c, src/background_process.h, src/edit_last.c,
src/editlog.c, src/globalvars.h, src/logit.c, src/main.c,
src/setparameters.c, src/writeparas.c: Use condition variables to start/stop
the background process. Testing a global in a loop without volatile can
cause various issues with optimizers. Further, the sleep(1) granularity made
the background task unresponsive. Instead, use condition variables and
mutexes to allow waiting for the background thread to be restarted, then
running immediately when the condition occurs.
2018-09-16 Stephen Hurd <shurd@sasktel.net>
* src/dxcc.c, src/dxcc.h, src/getctydata.c: Use stdbool.h for booleans.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/calledit.c, src/callinput.c, src/dxcc.c, src/dxcc.h, src/getctydata.c,
src/getctydata.h, src/grabspot.c, src/showinfo.c, src/showinfo.h: Support CT9
cty.dat files This adds three new overrides, lat/lon, continent, and time
offset. showinfo() now needs a prefix, so create add a getctydata_pfx()
function which returns the prefix rather than the country. If a callsign in
cty.dat starts with an '=', it will only use exact matching, not prefix
matching. To allow backward compatibility, Tlf remembers if it saw any '='
prefixes and if so, find_full_match() will only match those. If there were
no '=' prefixes, the behaviour is as before, and it will match any prefix.
2018-09-17 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/gettxinfo.c, src/sendqrg.c: Fix wrong includes and
possible NULL pointer problem.
2018-08-09 Stephen Hurd <shurd@sasktel.net>
* src/main.c: There are more than two valid TERM values... Remove the hack
which replaced any TERM value that wasn't "xterm" with "rxvt". Forcing rxvt
means that if the terminal is not rxvt compatible, all kinds of ncurses
things would break. The most common difference is F1 - F4. rxvt uses
\E[11~, \E[12~, \E[13~ and \E[14~ while most modern xterm compatibles use
\E[OP, \E[OQ, \EOR, and \EOS respectively. xterm-color and xterm-256color
for example would suffer from this issue, and F1 to F4 would not work
correctly.
2018-09-16 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/fldigixmlrpc.c, src/fldigixmlrpc.h,
src/parse_logcfg.c: Rename fldigi_get() to fldigi_isenabled()
2018-08-10 Stephen Hurd <shurd@sasktel.net>
* src/background_process.c, src/changepars.c, src/fldigixmlrpc.c,
src/fldigixmlrpc.h, src/main.c, src/parse_logcfg.c: Clean up various race
conditions in fldigi stuff Furthermore have fldigi_xmlrpc_query() return -1
when use_fldigi is false. Returning success resulted in uninitialized data
being used by callers, making it unsafe to ever turn off fldigi from tlf.
2018-08-08 Stephen Hurd <shurd@sasktel.net>
* src/fldigixmlrpc.c: Fix text.get_rx. Was using start:end instead of
start:length Don't request more characters than we can accept. Copy all the
received bytes into the result, rather than one less than was received.
* src/readcalls.c: POSIX doesn't define the -w option It seems to be a GNU
extension, and doesn't seem to be needed in this use case. The FreeBSD uniq
utility doesn't support it.
* src/netkeyer.c, src/sockserv.c: Add missing socket headers. These are
necessary to build on at least FreeBSD, and likely many more systems. I'm
actually surprised Linux builds without them.
* src/getctydata.c: malloc() is defined in stdlib.h. stdlib.h has been the
correct header for malloc() since C89.
2018-06-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/background_process.c, src/changepars.c, src/fldigixmlrpc.c, src/main.c,
src/parse_logcfg.c: Drop unused variable and rename for better readability
2018-05-23 Ervin Hegedus <airween@gmail.com>
* doc/README.RTTY, src/background_process.c, src/changepars.c,
src/fldigixmlrpc.c, src/fldigixmlrpc.h, src/main.c, src/parse_logcfg.c,
src/rtty.c, tlf.1.in: Extend Fldigi interface
2018-05-03 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Fix bug in BMAUTO_ADD and BMAUTO_GRAB logic. After
logging a new contact in S&P mode the next station from bandmap you tune over
got falsely the spot frequency of that last logged station.
2018-03-30 Nate Bargmann <n0nb@n0nb.us>
* doc/Makefile.am, doc/Xresources, tlf.1.in: Update man page for more
consistency New keywords, commands, and configuration parameters are now in
bold while value descriptions and files and pathnames are in italics. Typed
strings are enclosed in double quotes while typed key names are enclosed in
single quotes. Tried to ensure that text is more clear and from an objective
point of discussion. Added a sample Xresources file for configuring Xterm
with Linux console compatible color scheme for use with Tlf.
2018-02-25 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcabrillo.c, test/test_cabrillo.c: Use freq2band() conversion. Adapt
test code
2018-02-24 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/bandmap.h, src/bands.c, src/bands.h: Move bandcorners
and freq2band() to bands.c
2018-01-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/bands.c, src/bands.h, src/callinput.c: Move next_band to bands.c
* src/bands.h, src/callinput.c, src/tlf.h: Move IsWarcIndex to bands.h
2018-01-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/addmult.c, src/addpfx.c, src/bandmap.c, src/bands.c,
src/bands.h, src/focm.c, src/globalvars.h, src/paccdx.c, src/readcalls.c,
src/showpxmap.c, src/showscore.c, src/showzones.c, src/tlf.h,
test/test_addcall.c, test/test_addmult.c, test/test_score.c: Move inxes[] to
bands.c and adapt test code
* src/Makefile.am, src/bands.c, src/bands.h: Add new files bands.c and
bands.h Will concentrate all band and frequency related definitions in one
place.
2018-03-28 Nate Bargmann <n0nb@n0nb.us>
* tlf.1.in: Add documentation for winkeydaemon (#92) The winkeydaemon adds
cwdaemon style support for K1EL "Win Keyers" and compatible devices such as
the Ham Gadgets Master Keyer 1.
2018-03-01 zcsahok <ha5cqz@freemail.hu>
* src/searchlog.c, src/searchlog.h: allow leading spaces in callmaster file
2018-02-23 zcsahok <ha5cqz@freemail.hu>
* src/addmult.c: allow space before comment in addmult
2018-02-23 Thomas Beierlein <tomjbe@gentoo.org>
* tools/.astylerc: add astyle formatting rules
* Reformat using .astylerc
2018-02-21 zcsahok <ha5cqz@freemail.hu>
* src/initial_exchange.c, src/initial_exchange.h: fix initial_exchange: allow
DOS line endings and multiple columns
2018-02-19 zcsahok <ha5cqz@freemail.hu>
* .gitignore, Makefile.am: create README from README.md
* README => README.md: added README.md
2018-02-08 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c, src/callinput.h: Fix wrong return value of callinput()
This PR fixes the "long CQ bug": when sending a longer series of unanswered
CQ's the cursor sometimes jumps to the exchange field. This causes F1 to send
your call instead of CQ, so the op has to press either Esc or Tab to get back
to CQ'ing. Quite annoying, but keeps op awake. :-) An Easter egg version of
this "feature" is: start tlf press F3 14 times CW keyer window pops up. The
bug is a result of two issues. In callinput() key codes returned as char
although they fit in an int only. E.g. F1 is 0x109 and F3 is 0x10B. On return
only the lower 8 bits are kept and thus F1 is transformed into a Tab/Ctrl-I
(0x09) and F3 into Ctrl-K (0x0B). callinput() is supposed to return to
logit() only when some non-local keypress is to be handled (e.g. Enter).
Instead it returns when its internal counter i reaches 14: for (i =
strlen(hiscall); i <= 13; i++) { The idea may have been an optimization to
avoid excessive calls to strlen and track call length in i. But this doesn't
bring anything as this check is done only once per keypress and in the inner
loop [while (x < 1)] strlen and other stuff is happening 100 times a second
anyway.
* src/logit.c, src/logit.h, src/main.c: Fix prototyp of logit() function Old
prototype was a remnant from starting 'logit()' as thread in former code.
2018-01-31 zcsahok <ha5cqz@freemail.hu>
* .gitignore, .travis.yml, Makefile.am, configure.ac, test/Makefile.am,
test/data.c, test/functions.c, test/generate_defs.pl, test/test.h,
test/test_locator2longlat.c, test/test_score.c, test/test_zone_nr.c:
introduce test framework based on cmocka
* test/test_addcall.c, test/test_dxcc.c, test/test_getctydata.c: ported some
more tests
2018-01-31 Thomas Beierlein <tomjbe@gentoo.org>
* .travis.yml: Add Travis-CI configuration file
2018-01-15 zcsahok <ha5cqz@freemail.hu>
* src/callinput.h, src/gettxinfo.c, src/gettxinfo.h: Factor out
band switching logic and change return type of gettxinfo()
2018-01-21 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: limit frequency polling to once per 200ms
2018-01-20 zcsahok <ha5cqz@freemail.hu>
* src/gettxinfo.c: use freq2band() for gettxinfo()
* src/bandmap.c, src/bandmap.h: Cleanup freq2band()
2018-01-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c: Fix band switching After introduction of BANDINDEX_OOB
the band up/down key did not work on upper and lower band (10->160 or
160->10)
2017-12-26 Ervin Hegedus <airween@gmail.com>
* src/logit.c: Removed the cleanup() from the end of the change_mode() In
case of SPRINTMODE the TU_MESSAGES was cut by the cleanup(). That is
wrong.
2017-12-26 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: BMAUTOGRAB only in S&P mode
2017-11-17 Ervin Hegedus <airween@gmail.com>
* src/background_process.c, src/cabrillo_utils.h, src/main.c, src/qtc_log.c,
src/qtc_log.h, src/readcabrillo.c: Refactor writing of QTC log file contest
and reading in cabrillo files are using the same code now.
2017-10-10 Ervin Hegedus <airween@gmail.com>
* src/globalvars.h, src/main.c, src/makelogline.c, src/readcabrillo.c:
Replaced time_ptr_cabrillo pointer to static struct
* src/main.c: Changed '-c' (convert) cli argument to '-i' (import)
2017-10-07 Thomas Beierlein <tomjbe@gentoo.org>
* src/cabrillo_utils.h, src/readcabrillo.c: pick up addition for QTC
conversion from HA2OS
2017-07-03 Ervin Hegedus <airween@gmail.com>
* src/Makefile.am, src/cabrillo_utils.c, src/cabrillo_utils.h,
src/getexchange.c, src/getexchange.h, src/globalvars.h, src/main.c,
src/makelogline.c, src/readcabrillo.c, src/readcabrillo.h,
src/writecabrillo.c: Add readcabrillo feature
2017-12-07 Ervin Hegedus <airween@gmail.com>
* doc/New_Bandmap.txt, src/parse_logcfg.c, tlf.1.in: Fixed BANDMAP
configuration directive (added 'O' option to string), added some
documentation
2017-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/bandmap.c, src/main.c: cleanup - Rely directly on the initialised list
2017-11-23 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c: Add CQ zone value to BM spot from INIT_EXCH list, if exists
2017-11-20 Ervin Hegedus <airween@gmail.com>
* src/bandmap.c, src/bandmap.h: New feature: hide/mark spots on BM if them
are multipliers
2017-12-05 tnalpgge <tnalpgge@users.noreply.github.com>
* tlf.1.in: Correct documentation on Enter key to match observed behavior
2017-12-02 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/showzones.c, src/time_update.c: move zones display to
using panels Old code blinks zone display in 2s interval. Tnx for reporting
Fred DH5FS.
2017-12-01 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c: spawn $SHELL instead of sh Use user's setting instead of
plain sh when opening a shell using '!'
2017-11-25 zcsahok <ha5cqz@freemail.hu>
* src/logview.c: Switch back to normal keypad mode in logview
2017-11-23 Thomas Beierlein <tomjbe@gentoo.org>
* share/callmaster, share/cty.dat: update callmaster database and cty.dat
Version are VER20171103 for callmaster VER20171122 for cty.dat
2017-10-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/parse_logcfg.c: fix wrong parsing of QTC= keyword
2017-07-04 Ervin Hegedus <airween@gmail.com>
* rules/tesla, share/cabrillo.fmt: Added Tesla memorial contest rule and
cabrillo format
2017-05-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/addpfx.c, src/bandmap.c, src/clear_display.c,
src/clusterinfo.c, src/gettxinfo.c, src/globalvars.h, src/main.c,
src/paccdx.c, src/score.c, src/searchlog.c, src/showscore.c, src/tlf.h: Add a
special OOB out_of_band entry
* Tlf normally recognizes the band in use from
rigs frequency. If the rig is outside of any band there is a indeterminate
state resulting in irregular characters on display and possible wrong entries
into the contest statistics. Tnx to Zoltan Csahok HA5CQZ for pointing out the
problem.
2017-06-14 Thomas Beierlein <tb@forth-ev.de>
* src/callinput.c: make skip of WARC-bands during contest more robust In
case of multiple neighboured WARC bands skip all until next contest band is
reached.
2017-05-29 zcsahok <ha5cqz@freemail.hu>
* src/callinput.c, src/gettxinfo.c: Refactor band switching code into a
common function.
2017-05-09 Ervin Hegedus <airween@gmail.com>
* src/genqtclist.c, src/qtc_log.c, src/qtcwin.c, src/writecabrillo.c: Bugfix:
when QTC was set up as BOTH (eg. RTTY) the CABRILLO had created as wrong
format
2017-05-11 zcsahok <ha5cqz@freemail.hu>
* src/keyer.c, src/main.c, src/parse_logcfg.c: added option to use backspace
in the keyer window This is for the fast but not perfectly typers:
2017-04-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/readcalls.c: struct needs initialization
2017-04-10 Thomas Beierlein <tb@forth-ev.de>
* src/getctydata.c: factor out common code getctynr and getctydata uses the
same code to prepare the call and look it up in prefix table.
2017-04-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.h, src/setcontest.c: switch to getctynr() as we are only
interested in the number here
2017-04-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/dxcc.h, src/readctydata.c, src/readctydata.h: move
load_ctydata() to dxcc.c
2017-01-12 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.c: Refactor getctydata() code
2017-02-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/getctydata.c: fix inconsistent usage of getctydata() in
addcall2()
2017-03-18 Thomas Beierlein <tomjbe@gentoo.org>
* src/prevqso.c: resend report and qso nr with at least 3 digits
2017-03-01 Thomas Beierlein <tb@forth-ev.de>
* src/addmult.c, src/changepars.c, src/globalvars.h, src/main.c,
src/makelogline.c, src/readcalls.c, src/searchlog.c, src/showscore.c,
src/tlf.h: add a structure to represent worked multis
2017-02-23 Thomas Beierlein <tomjbe@gentoo.org>
* src/changepars.c, src/main.c, src/parse_logcfg.c, src/sendqrg.c: Allow
arbitrary long string for 'RIGPORT' keyword Tnx Ed W3NR for pointing out.
2017-02-09 Thomas Beierlein <tomjbe@gentoo.org>
* src/dxcc.c, src/dxcc.h: make usage of function more secure Only non
negative indices allowed. Check for out of bounds index. Return empty dummy
data if no element found.
2017-02-19 Thomas Beierlein <tomjbe@gentoo.org>
* src/addcall.c, src/addpfx.c, src/addpfx.h, src/makelogline.c,
src/readcalls.c: change interface to add_pfx() function gets now pfxstr to
add and bandindex for worked band. Makes function more independent if called
for data coming from LAN
2017-02-06 Thomas Beierlein <tomjbe@gentoo.org>
* doc/FAQ: add hints to correct own CQ zone to FAQ
* share/cty.dat: update cty.dat file
2017-02-04 Ervin Hegedus <airween@gmail.com>
* src/main.c, src/parse_logcfg.c, src/tlf.h: Removed unused UNIQUECALL values
2017-02-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/addmult.c, src/globalvars.h, src/makelogline.c, src/readcalls.c,
src/showscore.c: Added UNIQUE_CALL_MULTI handling
- unique call signs can now be counted as multis for allband or per band.
(Needed e.g. for minitest like contests).
* src/main.c, src/parse_logcfg.c, src/tlf.h, tlf.1.in: Accept
UNIQUE_CALL_MULTI keyword
2017-01-12 Ervin Hegedus <airween@gmail.com>
* src/addcall.c, src/main.c, src/parse_logcfg.c, src/readcalls.c,
src/searchlog.c, src/tlf.h, tlf.1.in: Added new feature: MINITEST keyword to
support the Mini CW test
Optional an argument may passed to MINITEST, instead of hardcoded value
2017-01-30 Thomas Beierlein <tomjbe@gentoo.org>
* macros/ax_with_curses_extra.m4: Better recognition of <panel.h>
If ax_with_ncurses finds a ncursesw instance the former code checks only for
<ncursesw/panelh>. If not there the search fails. That lead to problems at
least in Arch Linux which has only <panel.h> installed. The patched version
here checks first for <ncursesw/panel.h> and if not found also for
<panel.h>.
Tested for the following distributions: Gentoo, Debian 7..9, Linux Mint 17
and 18.1, Arch Linux, Ubuntu
* src/get_time.c: clarify function of get_time()
2017-01-20 Thomas Beierlein <tomjbe@gentoo.org>
* src/getctydata.c, tlf.1.in: Fix recognition of cq zone for 1Axxx stations
2017-01-15 Thomas Beierlein <tomjbe@gentoo.org>
* src/writecabrillo.c: fix warning about redefinition of _GNU_SOURCE
2017-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c: drop remnants of old 'keyerport' variable
* src/changepars.c, src/keyer.c, src/main.c, src/sendbuf.c,
src/speedupndown.c, src/stoptx.c, src/write_keyer.c: switch to new 'cwkeyer'
variable
* src/background_process.c, src/callinput.c, src/gettxinfo.c, src/keyer.c,
src/main.c, src/qtcwin.c, src/rtty.c, src/sendbuf.c, src/sendspcall.c,
src/stoptx.c, src/write_keyer.c: switch to new 'digikeyer' variable
2017-01-04 Thomas Beierlein <tomjbe@gentoo.org>
* src/main.c, src/parse_logcfg.c: prepare for separate keyers for CW and
digimode
2017-01-14 Thomas Beierlein <tomjbe@gentoo.org>
* src/getpx.c: better implementation of getpx()
- handles callsigns with only letters
- correct handling of callsigns with long numbers, e.g. DR2006Q or 9A800VZ
2017-01-06 Ervin Hegedus <airween@gmail.com>
* src/parse_logcfg.c: Fixed wrong parsing for EXCLUDE_MULTILIST parameters
2017-01-10 Thomas Beierlein <tomjbe@gentoo.org>
* src/readcalls.c: Fix test for countrynr in countrylist
As getctydata() has a sideeffect of changing 'countrynr' itself we need to
switch to use a local variable 'countrynr_tocheck' for the comparison.
2017-01-05 Thomas Beierlein <tomjbe@gentoo.org>
* src/callinput.c, src/getexchange.c, src/gettxinfo.c, src/qtcwin.c,
src/rtty.c: simplify logic to call 'show_rtty' Call 'show_rtty' whenever we
are in DIGIMODE.
2016-12-29 Thomas Beierlein <tomjbe@gentoo.org>
* src/sendqrg.c: add message if RIGPTT is not available for that rig
2016-08-14 Nate Bargmann <n0nb@n0nb.us>
* share/logcfg.dat, src/callinput.c, src/gettxinfo.c, src/main.c,
src/parse_logcfg.c, src/sendqrg.c, tlf.1.in: Enable Hamlib CAT PTT if wanted
and available
Introduce a new keyword for logcfg.dat, RIGPTT, which is a directive to test
for a Hamlib radio backend's PTT via CAT capability. If the backend reports
it is capable, Hamlib CAT PTT will be used in place of the netkeyer PTT
if Tlf is compiled with Hamlib support.
2016-12-22 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: output of cluster message needs a packet screen
Each cluster message (external or from internal network between multiple
loggers) will be processed in several steps: putting it on cluster screen,
looking for a personal conversation, adding to bandmap.
The change guarantees that it will only be added to the cluster screen if
such an object got initialized. (That would not be the case if we started
with the 'nopacket'-option or have no cluster configured).
2016-12-21 Thomas Beierlein <tomjbe@gentoo.org>
* src/splitscreen.c: Migrate packet screen to ncurses panels
Old implementation used a separate newterm call to get a separate display
for packet screen -- separate from normal logger display. It was quite a
hack but worked ok. In new ncurses6 newterm does no longer give us a
separate screen. So we had to switch to use ncurses panels for the
packet screen. A popup panel covers inow the whole screen when we switch
to packet. That window is split into two derived windows for display of
cluster messages and a second one for input - as did the old
implementation.
2016-12-13 Thomas Beierlein <tomjbe@gentoo.org>
* macros/ax_with_curses.m4, macros/ax_with_curses_extra.m4, src/Makefile.am:
Use new AX_WITH_CURSES macro
New macro uses pkg-config for detecting libs and cflags for programs
using ncurses and falls back to old finding out the
parameters 'by hand'. For TLF it fixes: - Using libtinfo if stripped out
from libncurses - Added feature_test_macros for correct color handling if