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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305
|
[ Also see test.d/ChangeLog ]
2002-07-25 Scott Gifford <sgifford@tir.com>
* NEWS: Updated.
* AUTHORS, COPYING, ChangeLog, INSTALL, INTERCEPTTY, Makefile.am, Makefile.in, NEWS, PROTOCOL, README, acconfig.h, aclocal.m4, alarm.c, alarm.h, config.h.in, configure, configure.in, configure.scan, filedata.c, filedata.h, filesettings.c, filesettings.h, fstty.c, fstty.h, getopt.c, getopt.h, getopt1.c, install-sh, main.c, missing, mkinstalldirs, phonebook.c, phonebook.h, phonedump.out, proto.h, runtest, settings.c, settings.h, settings.test, settingstest, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, stsettings.c, stsettings.h, sysdep.h, sysdep1.c, sysdep1.h, test:
0.4 release
* configure: Generated.
* ChangeLog: Updated.
* README: Added Credits and Consulting sections.
* test: Fixed small bug when typing ? for help at first prompt.
Removed tests that use settings.
* configure.in, NEWS: Version bump.
2002-06-22 Scott Gifford <sgifford@tir.com>
* NEWS: Add some credits; version bump.
* main.c:
Temporarily remove (#ifdef out) settings code for interim release.
* README: Version bump.
Update name of test script.
Update usage.
Add email to list of fields.
2002-06-21 Scott Gifford <sgifford@tir.com>
* main.c: Don't require -t switch to write to new-style phonebook.
* configure.in: Version bump
* configure: generated.
2002-06-20 Scott Gifford <sgifford@tir.com>
* configure: generated.
* ChangeLog: Updated.
* stdata.c: Added missing include.
* ChangeLog, NEWS: Updated.
* configure.in: Version half-bump.
* stdata.c: Trim spaces from end of strings read from phone.
* stdata.c: Fix typo.
2002-06-19 Scott Gifford <sgifford@tir.com>
* configure: generated
* configure.in: version bump
* ChangeLog: Added comment about the new test.d/ChangeLog file.
* ChangeLog: Updated.
* stdata.c:
When reading phonebook entries, byte 5 is different in the new-style phonebooks.
* configure.in: Version half-bump.
* configure: generated.
* Makefile.in, configure: Generated.
* configure.in: Version bump.
* Makefile.am: Added test.d/emaillen.out to CLEANFILES.
* ChangeLog, NEWS: Updated.
* phonebook.c: Fix stupid mistake in startalk_phonebook_entry_is_empty.
* stdebug.c: errorf now returns -1 instead of 1.
* stdata.c:
Factor out phonebook reading code from startalk_initialize_stdata and
startalk_get_phonebook_entry into startalk_get_phonebook_buffer.
Use startalk_run_cmd instead of a read and a write where possible.
* startalk.c: Code cleanups and other minor changes.
* phonebook.h: Add new function startalk_phonebook_entry_is_empty.
* main.c:
startalk_get_phonebook_entry now returns NULL on error, and an empty
phonebook entry if it's empty.
* phonebook.c: Add new function startalk_phonebook_entry_is_empty.
Simplify startalk_empty_phonebook_entry.
* startalk.c: Fix up crappy_cleanstr to strcleandup.
Clean up error handling in startalk_readfor.
* startalk.c:
Change signedness stuff in a few places for better debugging info.
* runtest:
If test exits 111, it was skipped (for testing email when some phones
don't support it).
Minor whitespace rearrangements.
* main.c: Check st_pb_email_len instead of st_pb_unknown_len.
* phonebook.h: Add email support!
* filedata.c: Add email support!
Use some constants where hardcoded numbers were before.
* phonebook.c: Add email support!
Don't print company, name, etc. if there isn't one.
* stdata.c: Add email support!
* stdata.c: Do st_pb_unknown_len only in startalk_set_version.
Fix stupid memset arguement order error, which was making it do the
completely wrong thing!
2002-06-18 Scott Gifford <sgifford@tir.com>
* runtest:
Fix bug where tests were run multiple times with -destructive
(and probably -overwrite).
* configure: Generated.
* ChangeLog, NEWS: Updated.
* main.c:
Add undocumented -V option for manually setting phonebook version.
Change usage string to be ANSI-compliant (no more embedded newlines).
Fix bug where startalk_dump_phonebook_offsets is called before
the phonebook offsets are calculated.
* stdata.h: Add startalk_set_version.
* startalk.h: Remove a whole slew of blank lines from the end.
* startalk.h, stsettings.c:
Fix signedness issues so we compile with -pedantic.
* filesettings.c: Fix missing argument in warn statement.
* stdebug.c: Fix signedness issues so we compile with -pedantic.
* stdata.c: Fix signedness issues so we compile with -pedantic.
Add startalk_set_version.
Default st_pb_unknown_len to -1, and check for this value before
we use it (this allows us to set the version from the command-line,
and avoid probing for it if it's already set).
Fix signedness issues so we compile with -pedantic.
In startalk_remove_phonebook_entry, malloc sendbuf since we technically
can't initialize an array to a size only known at compile-time.
Factor out phonebook entry writing code from startalk_remove_phonebook_entry
and startalk_put_phonebook_entry into startalk_put_phonebook_buffer.
* startalk.c: Fix signedness issues so we compile with -pedantic.
Fix bug in checksum calculating routine that seemed to cause
problems writing to new-style phonebooks.
* configure.in: Version bump.
2002-06-18 Scott Gifford <sgifford@tir.com>
* runtest:
Fix bug where tests were run multiple times with -destructive
(and probably -overwrite).
* configure: Generated.
* ChangeLog, NEWS: Updated.
* main.c:
Add undocumented -V option for manually setting phonebook version.
Change usage string to be ANSI-compliant (no more embedded newlines).
Fix bug where startalk_dump_phonebook_offsets is called before
the phonebook offsets are calculated.
* stdata.h: Add startalk_set_version.
* startalk.h: Remove a whole slew of blank lines from the end.
* startalk.h, stsettings.c:
Fix signedness issues so we compile with -pedantic.
* filesettings.c: Fix missing argument in warn statement.
* stdebug.c: Fix signedness issues so we compile with -pedantic.
* stdata.c: Fix signedness issues so we compile with -pedantic.
Add startalk_set_version.
Default st_pb_unknown_len to -1, and check for this value before
we use it (this allows us to set the version from the command-line,
and avoid probing for it if it's already set).
Fix signedness issues so we compile with -pedantic.
In startalk_remove_phonebook_entry, malloc sendbuf since we technically
can't initialize an array to a size only known at compile-time.
Factor out phonebook entry writing code from startalk_remove_phonebook_entry
and startalk_put_phonebook_entry into startalk_put_phonebook_buffer.
* startalk.c: Fix signedness issues so we compile with -pedantic.
Fix bug in checksum calculating routine that seemed to cause
problems writing to new-style phonebooks.
* configure.in: Version bump.
2002-06-12 Scott Gifford <sgifford@tir.com>
* ChangeLog: Updated.
* filesettings.c:
Don't try to change settings for a readonly value unless we are
in test mode.
* NEWS: Updated.
* configure, Makefile.in: Automatically updated.
* configure.in: Version bump.
* stsettings.c:
Re-enable some settings now that we can support readonly
settings.
Validation code that runs right before writing, and takes
into account what is currently in the phone's memory.
* settings.test: Removed auto-lock.
* settings.test: New file.
* settings.h:
Re-enable some settings now that we can do read-only settings.
* settings.c:
Re-enabled some disabled settings now that we can handle readonly
settings.
* Makefile.am: Remove some additional temporary test files.
* PROTOCOL: Added a little information about settings.
2002-06-10 Scott Gifford <sgifford@tir.com>
* settingstest: New file.
* Makefile.am: Added settings test files to be cleaned up.
* test: Modified to work with new test naming conventions.
* runtest: Updated for new test naming convention.
* Makefile.am: Added runtest to EXTRA_DIST.
* startalk.h: Change startalk_run_cmd prototype.
* stdata.c: Change some debug levels.
* startalk.c: Change some debugging levels.
Change startalk_run_cmd to be more generally useful.
* stdebug.h: Added finished() function.
* stsettings.c: Comment out some items in the map that don't work.
Split up startalk_get_settings into startalk_get_settings and
startalk_parse_settings.
With -t -s -r, get a few buffers that we don't understand. They
are just dumped for analysis.
Use startalk_run_cmd instead of a read and write.
Validate entry before writing. I'm still not sure if this is a good
idea.
* stdebug.c: Made a bunch of things static.
Count the warnings in warn(), and exit with a status of 126 if
there were any warnings when we are finished.
* main.c: Minor formatting changes to MODE_* constants.
Add a new MODE_PARSETEST, which is like a read and write
combined with no phone. :) It tests the command-line options
and the file parsing code without using the phone, so it's safer
for our regression tests, and faster too. It uses the undocumented
-P flag.
Rewrite -c to be a special-case of -w -c.
Change some debugging levels.
If a file is read with -w and a range is specified with -n, entries
outside of that range are ignored from the file.
Don't special-case the default active-list for -w anymore.
Change invocation of startalk_run_cmd to new format.
Call finished() instead of exit at the end. It exits nonzero if there
were any warnings.
* filesettings.c: Moved setting names from here to settings.c
Use functions to access settings names, instead of the arrays
directly.
Use functions to search for setting names, instead of the arrays
directly.
Validate data before setting it.
* settings.h: Added function to check whether a setting is readonly.
Add a suite of functions for validating settings.
Add a function for finding the setting type and number by name.
Add a function to get the setting's name from it's type and number.
Add a new constant for the hightest legal type number.
Added some commented-out settings.
* settings.c: Moved settings named from filesettings.c to here.
Create array of the hightest-numbered setting of each type, for
easier looping and testing of setting numbers.
Create a function which returns whether or not a setting should
be readonly. That means that we can't write it, either because
the phone doesn't allow it or because we don't know how. In other
words, it's readonly for technical reasons, not policy reasons.
Add a suite of functions for validating settings.
Add a function for finding the setting type and number by name.
Add a function to get the setting's name from it's type and number.
2002-06-10 Scott Gifford <sgifford@tir.com>
* filesettings.c: Don't try to change settings for a readonly
value unless we are in test mode.
* settingstest: New file.
* Makefile.am: Added settings test files to be cleaned up.
* test: Modified to work with new test naming conventions.
* runtest: Updated for new test naming convention.
* Makefile.am: Added runtest to EXTRA_DIST.
* startalk.h: Change startalk_run_cmd prototype.
* stdata.c: Change some debug levels.
* startalk.c: Change some debugging levels.
Change startalk_run_cmd to be more generally useful.
* stdebug.h: Added finished() function.
* stsettings.c: Comment out some items in the map that don't work.
Split up startalk_get_settings into startalk_get_settings and
startalk_parse_settings.
With -t -s -r, get a few buffers that we don't understand. They
are just dumped for analysis.
Use startalk_run_cmd instead of a read and write.
Validate entry before writing. I'm still not sure if this is a good
idea.
* stdebug.c: Made a bunch of things static.
Count the warnings in warn(), and exit with a status of 126 if
there were any warnings when we are finished.
* main.c: Minor formatting changes to MODE_* constants.
Add a new MODE_PARSETEST, which is like a read and write
combined with no phone. :) It tests the command-line options
and the file parsing code without using the phone, so it's safer
for our regression tests, and faster too. It uses the undocumented
-P flag.
Rewrite -c to be a special-case of -w -c.
Change some debugging levels.
If a file is read with -w and a range is specified with -n, entries
outside of that range are ignored from the file.
Don't special-case the default active-list for -w anymore.
Change invocation of startalk_run_cmd to new format.
Call finished() instead of exit at the end. It exits nonzero if there
were any warnings.
* filesettings.c: Moved setting names from here to settings.c
Use functions to access settings names, instead of the arrays
directly.
Use functions to search for setting names, instead of the arrays
directly.
Validate data before setting it.
* settings.h: Added function to check whether a setting is readonly.
Add a suite of functions for validating settings.
Add a function for finding the setting type and number by name.
Add a function to get the setting's name from it's type and number.
Add a new constant for the hightest legal type number.
Added some commented-out settings.
* settings.c: Moved settings named from filesettings.c to here.
Create array of the hightest-numbered setting of each type, for
easier looping and testing of setting numbers.
Create a function which returns whether or not a setting should
be readonly. That means that we can't write it, either because
the phone doesn't allow it or because we don't know how. In other
words, it's readonly for technical reasons, not policy reasons.
Add a suite of functions for validating settings.
Add a function for finding the setting type and number by name.
Add a function to get the setting's name from it's type and number.
2002-06-09 Scott Gifford <sgifford@tir.com>
* stsettings.c: Better multibuffer support.
Added support for writing TYPE_UINT, TYPE_LANG, TYPE_SUINT.
Added support for reading TYPE_SUINT
Start of support for setting security features, but I still
can't figure out the command.
* settings.h: Fixed buffer size.
* startalk.c: Added writev support.
Use writev in startalk_writemsg.
This results in fewer system calls and easier error handling
(thanks to jch).
* stdata.c:
Add support for digits '#' and '*', and pseudo-digits 's' and 'n'.
Make some internal functions static.
Replace a memory-setting loop with memset.
* stdebug.h:
Added gcc-style __attribute__ s to printf-style functions for
format checking.
* settings.c, settings.h, filesettings.c, stsettings.c:
Added support for reading security settings (Lock code and Secure Code).
* startalk.c: Fix errorf argument bug.
* settings.h, settings.c:
Add beginnings of support for multiple buffers.
* stsettings.c: Add preliminiary support for multiple buffers.
Read second settings buffer, with PIN.
2002-06-08 Scott Gifford <sgifford@tir.com>
* settings.c: Added support for UINT type, LANG type.
* stsettings.c, settings.h, filesettings.c: Added tons more settings.
Added support for UINT type, LANG type.
* stsettings.c: Improved debugging messages.
* settings.h:
Removed generic setting-getter, added 3 type-specific ones.
This was needed to be able to get strings.
Add new types.
* settings.c:
Removed generic setting-getter, added 3 type-specific ones.
This was needed to be able to get strings.
Add support for strings, specifically the greeting.
* stsettings.c: Added more settings to map.
Fix code for writing uchar's
Add code to get/set greeting.
* stdata.h: Moved startalk_get_greeting to stsettings.c
Moved startalk_run_cmd to stdata.c
Moved startalk_dump_cmd to stdata.c
* startalk.h: Moved startalk_run_cmd from stdata.c
Moved startalk_dump_cmd from stdata.c
* stdata.c: Moved startalk_get_greeting to stsettings.c
Moved startalk_dump_cmd to startalk.c
Moved startalk_run_cmd to startalk.c
* Makefile.am: Added stuff for options.
* filedata.c: Added malloc error check.
* filesettings.h, filesettings.c: New file.
* startalk.c: Moved startalk_dump_cmd to here.
Moved startalk_run_cmd to here.
* settings.h, settings.c: New file.
* main.c: Added beginnings of settings support.
Changed stty flag from -s to -S.
Added -s flag to read/write settings instead of phonebook.
* stsettings.h, stsettings.c: New file.
2002-06-01 Scott Gifford <sgifford@tir.com>
* configure: Regenerated.
* ChangeLog: Updated.
* startalk.c: Better error reporting for error opening pcsphone device.
* phonebook.h, phonebook.c:
Add startalk_empty_phonebook_entry for possible future use.
* main.c:
Change meaning of -t flag slightly. Now, when used with another
flag, it enables some experimental features (like writing
to new-style phonebooks).
Check for new-format phonebook when writing, and abort if we find
it (unless -t flag is used)
* test: New file.
* runtest: A bit more information about -overwrite.
Change name from "test" to "runtest".
* Makefile.in: Automatically generated.
* ChangeLog: Updated.
* configure.in: Version bump.
* NEWS: Update version.
* NEWS: Updated.
* Makefile.am: Add .stdev and .stdev_new to CLEANFILES.
Add test script, for "make check".
* stdata.c: Fixed off-by-one error in startalk_remove_phonebook_entry
(now it actually works!)
* stdata.c:
Fix error not using constant in startalk_remove_phonebook_entry;
this seems to break it.
2002-06-01 Scott Gifford <sgifford@tir.com>
* startalk.c: Better error reporting for error opening pcsphone device.
* phonebook.h, phonebook.c:
Add startalk_empty_phonebook_entry for possible future use.
* main.c:
Change meaning of -t flag slightly. Now, when used with another
flag, it enables some experimental features (like writing
to new-style phonebooks).
Check for new-format phonebook when writing, and abort if we find
it (unless -t flag is used)
* test: New file.
* runtest: A bit more information about -overwrite.
Change name from "test" to "runtest".
* Makefile.in: Automatically generated.
* ChangeLog: Updated.
* configure.in: Version bump.
* NEWS: Update version.
* NEWS: Updated.
* Makefile.am: Add .stdev and .stdev_new to CLEANFILES.
Add test script, for "make check".
* stdata.c: Fixed off-by-one error in startalk_remove_phonebook_entry
(now it actually works!)
* stdata.c:
Fix error not using constant in startalk_remove_phonebook_entry;
this seems to break it.
2002-04-21 Scott Gifford <sgifford@tir.com>
* configure: Automatically generated.
* configure.in: Version bump.
* filedata.c: Change writes to stderr to warn() calls.
* filedata.c:
work properly with data files that don't end with a blank line.
* main.c: Change misleading error message.
2002-03-06 Scott Gifford <sgifford@tir.com>
* Makefile.in: automatically updated.
* Makefile.am, test:
Change *.out in test to *.ok, to avoid weirdness in make/automake.
* ChangeLog: Updated.
* stdebug.c: Fix off-by-one error.
* Makefile.in, configure: Automatically updated.
* configure.in: Version bump.
* NEWS, ChangeLog: Updated.
* Makefile.am: Add test.d/*.errs to CLEANFILES.
* test: Send error output to $testnum.errs.
* startalk.c: Fix stty debug output to go to STDERR.
* README: Change platforms tested disclaimer.
Update copyright.
Add information about TESTOPTS environment and test.
* phonebook.h, phonebook.c:
Add functions to print phonebook entries, numbers to specific
file handles.
* main.c:
Improve debugging of -d switch, so it doesn't just say "done!".
Fix debugging output of phonebook entry to go to STDERR.
* README: Added information about mailing list.
* stdata.c:
Actually look at response packet from phone when writing a phonebook
entry.
* startalk.c: Add more debugging info.
2002-03-06 Scott Gifford <sgifford@tir.com>
* stdebug.c: Fix off-by-one error.
* Makefile.in, configure: Automatically updated.
* configure.in: Version bump.
* NEWS, ChangeLog: Updated.
* Makefile.am: Add test.d/*.errs to CLEANFILES.
* test: Send error output to $testnum.errs.
* startalk.c: Fix stty debug output to go to STDERR.
* README: Change platforms tested disclaimer.
Update copyright.
Add information about TESTOPTS environment and test.
* phonebook.h, phonebook.c:
Add functions to print phonebook entries, numbers to specific
file handles.
* main.c:
Improve debugging of -d switch, so it doesn't just say "done!".
Fix debugging output of phonebook entry to go to STDERR.
* README: Added information about mailing list.
* stdata.c:
Actually look at response packet from phone when writing a phonebook
entry.
* startalk.c: Add more debugging info.
2002-03-02 Scott Gifford <sgifford@tir.com>
* configure: Automatically generated.
* ChangeLog: Updated.
* NEWS: Updated for 0.3pre2
* configure.in: Version bump.
* configure.in: Improve error message if lock directory is not found.
* configure, Makefile.in: Automatically generated.
* ChangeLog: Updated.
* NEWS: Updated for 0.3pre1.
* README: version bump.
* startalk.h: Corrected MAX_ENTRIES to 99 instead of 100.
* PROTOCOL: Add some information about new-format phonebook entries.
* README: Updated with information about test scripts
* Makefile.am: Updated to know about new test script.
* test: New file.
* stdata.h:
Added prototypes for startalk_initialize_stdata(), startalk_dump_phonebook_offsets().
* stdata.c:
Updates to support new phonebook format in newer StarTAC models.
Change all references to positions in the phonebook structure to
use constants (some of which may be defined as variables) to
get to specific positions.
Add a function startalk_initialize_stdata() which reads the first
phonebook entry, uses its size to determine the phonebook version,
and sets global variables appropriately.
Improve debugging information slightly.
Added startalk_dump_phonebook_offsets() to print out information we
think we know about the phonebook entry format.
* main.c: Added -e option to show empty entries.
Call startalk_initialize_stdata(), to give the stdata module
a chance to do initialization.
Add debugging call to startalk_dump_phonebook_offsets()
* configure.in: Add support for turning locks on and off.
Version bump.
2002-03-02 Scott Gifford <sgifford@tir.com>
* NEWS: Updated for 0.3pre2
* configure.in: Version bump.
* configure.in: Improve error message if lock directory is not found.
* configure, Makefile.in: Automatically generated.
* ChangeLog: Updated.
* NEWS: Updated for 0.3pre1.
* README: version bump.
* startalk.h: Corrected MAX_ENTRIES to 99 instead of 100.
* PROTOCOL: Add some information about new-format phonebook entries.
* README: Updated with information about test scripts
* Makefile.am: Updated to know about new test script.
* test: New file.
* stdata.h:
Added prototypes for startalk_initialize_stdata(), startalk_dump_phonebook_offsets().
* stdata.c:
Updates to support new phonebook format in newer StarTAC models.
Change all references to positions in the phonebook structure to
use constants (some of which may be defined as variables) to
get to specific positions.
Add a function startalk_initialize_stdata() which reads the first
phonebook entry, uses its size to determine the phonebook version,
and sets global variables appropriately.
Improve debugging information slightly.
Added startalk_dump_phonebook_offsets() to print out information we
think we know about the phonebook entry format.
* main.c: Added -e option to show empty entries.
Call startalk_initialize_stdata(), to give the stdata module
a chance to do initialization.
Add debugging call to startalk_dump_phonebook_offsets()
* configure.in: Add support for turning locks on and off.
Version bump.
2002-02-14 Scott Gifford <sgifford@tir.com>
* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
Snapshot for 0.2 build 1
* README: Version bump.
* NEWS: Updated for 0.2.
* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, CHANGES, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
0.2 release
* configure: Automatic update.
* configure.in: Version bump.
* configure: Automatic update.
* Makefile: Automatic updates.
* configure.in: Version bump.
* ChangeLog: Updated.
* main.c, stdata.c: Don't treat empty phonebook entries as errors.
* ChangeLog: Updated.
* stdebug.h: Added (void) to empty-parameter functions.
* configure: Automatic update.
* configure.in: Version bump.
* CHANGES: New file.
* ChangeLog: Updated.
* README: Added Related Projects section.
* README: Created Future section, Cable section.
* main.c: Adjusted debug level slightly.
2002-02-14 Scott Gifford <sgifford@tir.com>
* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
Snapshot for 0.2 build 1
* README: Version bump.
* NEWS: Updated for 0.2.
* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, CHANGES, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
0.2 release
* configure: Automatic update.
* configure.in: Version bump.
* configure: Automatic update.
* Makefile: Automatic updates.
* configure.in: Version bump.
* ChangeLog: Updated.
* main.c, stdata.c: Don't treat empty phonebook entries as errors.
* ChangeLog: Updated.
* stdebug.h: Added (void) to empty-parameter functions.
* configure: Automatic update.
* configure.in: Version bump.
* CHANGES: New file.
* ChangeLog: Updated.
* README: Added Related Projects section.
* README: Created Future section, Cable section.
* main.c: Adjusted debug level slightly.
2002-02-14 Scott Gifford <sgifford@tir.com>
* main.c, stdata.c: Don't treat empty phonebook entries as errors.
* ChangeLog: Updated.
* stdebug.h: Added (void) to empty-parameter functions.
* configure: Automatic update.
* configure.in: Version bump.
* CHANGES: New file.
* ChangeLog: Updated.
* README: Added Related Projects section.
* README: Created Future section, Cable section.
* main.c: Adjusted debug level slightly.
2002-02-09 Scott Gifford <sgifford@tir.com>
* stdata.h: Fix prototype error.
* main.c: Fix small calling bug.
* stdebug.c: Minor code cleanups.
* phonebook.h: Added some constants for name and company length.
* phonebook.c, main.c: Minor error handling cleanup.
* stdata.c: Minor error handling fixes.
* stdata.c: Minor code cleanups and fixes.
* startalk.h: Minor code cleanups.
* startalk.c: Minor code cleanups and fixes.
* proto.h: Added RCS header.
* phonebook.h: Minor code cleanups.
* phonebook.c: Minor code cleanups.
* main.c: Minor code cleanups and small corrections.
* fstty.h, fstty.c: Minor cleanups.
* alarm.c: Slight cleanups.
2002-02-08 Scott Gifford <sgifford@tir.com>
* filedata.c: Minor cleanups and small bug fixes.
* alarm.c: Add void to empty parameters.
Check more error returns.
* alarm.h: Add void to empty parameters.
* acconfig.h, aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, config.h.in, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, proto.h, README, stamp-h.in, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h, sysdep1.c, sysdep1.h, sysdep.h:
0.1.76 snapshot
* configure: Augogenerated.
* config.h.in: New file.
* Makefile.in: Autogenerated.
* Makefile.am: Added sysdep.h.
* configure.in: Version bump.
* startalk.h: Fix prototype error.
Remove dead code.
* startalk.c: Implemented a real timeout for startalk_write_timeout.
Change how timeouts work in various places so the timeout
isn't for any data coming in at all, but for the whole
thing to complete. This helps in the (common) case where the
phone is sending is a continuous stream of gibberish.
Correct some error handling bugs.
Make crappy_cleanstr less crappy.
Properly free memory from crappy_cleanstr.
Add serial setup code which calls functions stolen from minicom.
Seperate the various types of serial setups clearly---
minicom, stty, or old.
Update startalk_exit() to handle signals better.
Added a small amount of debugging info.
Make initialize code more robust (it seems to work every time now!)
More stolen ideas from minicom, including pausing before sending
AT strings. This has made initialization much slower.
Send a "leave data mode" packet on startup, to try and be more robust.
* main.c: Better support for defaults.
Better --help
Conditional use of stty settings/-s option.
Improved signal handling.
Try to connect multiple times before giving up.
* fstty.c: Minor error handling changes.
* configure.in: Added new code from minicom.
Add configure support for choosing which serialsetup method you
want to use.
* aclocal.m4: Autogenerated.
* Makefile.am: Added new code from minicom.
* aclocal.m4, alarm.c, alarm.h, AUTHORS, ChangeLog, configure, configure.in, configure.scan, COPYING, filedata.c, filedata.h, fstty.c, fstty.h, getopt1.c, getopt.c, getopt.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, phonedump.out, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
0.1.75 snapshot
* configure, Makefile.in: Autogenerated.
* stdebug.c:
Fix stupid off-by-one error, that caused compilation problems on
some BSDs.
* startalk.h: Minor corrections and cleanup.
* startalk.c: Implemented startalk_write_timeout with a real timeout.
Minor cleanups and corrections.
Fixed up exit and signal handler code.
Adde a bit more debugging information.
* Makefile.am: Added getopt, fstty, alarm stuff.
* main.c: Minor cleanup and corrections.
* configure.in: Bump version number.
* aclocal.m4: Automatically generated updates.
2002-02-05 Scott Gifford <sgifford@tir.com>
* main.c: Update documentation for -d option.
* stdebug.h: Add vreterr, and the now-required <stdarg.h>.
* stdebug.c: Add fflush() in debugf(), just in case.
Fix stupid bug in debugf() which made it completely break
when arguments were passed in.
Add vreterr() in the style of vprintf(), and re-implement reterr
in terms of it.
* fstty.h, fstty.c, alarm.h, alarm.c: New file.
* main.c: Support for new "-s" option, to specify stty(1) setup string.
Support for new "-i" option, to specify modem init string.
Fix stupid getopt bug.
Use local, included copy of getopt.
Fix stupid getopt bug.
Improve debugging support for command-line processing (used to
fix stupid getopt bug; maybe we'll remove it if we don't see
this problem crop up for awhile).
Add some malloc error checking that was missing.
Maximum debug level used is now 4.
Set up signal handler for alarms.
Improve debugging output in various other places.
* startalk.c: Reduce timeout to 10 seconds.
Fix startalk_read_timeout() to actually use a timeout.
Improve debugging and error reporting functionality in
startalk_readfor().
Add utility function crappy_cleanstr() to escape nonprintable
characters for display. It leaks memory, so should only be
used when a crash is imminent.
Raised debug level of checksums, since we seem to usually get
them right now, and they're just annoying clutter at lower
debug levels.
Don't use O_SYNC when opening serial port. I don't think it
does anything anyways, and it causes compilation problems
under some BSDs.
Change serial setup in startalk_open() to use stty(1), and use
the global variable "stty" to hold the settings.
Change some other serial setup stuff in startalk_open() to make
it more portable.
Improve debugging facilities in startalk_open().
Support in startalk_initialize() for using an init string, stored
in the global variable "modeminit".
Improve debugging facilities in startalk_initialize().
Improve debugging facilities in startalk_datamode().
Improve debugging facilities in startalk_reset().
2000-05-03 Scott Gifford <sgifford@tir.com>
* aclocal.m4, AUTHORS, ChangeLog, configure, configure.in, COPYING, filedata.c, filedata.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
Checkin for next version
* README: Added warning/disclaimer.
* aclocal.m4, AUTHORS, ChangeLog, configure, configure.in, COPYING, filedata.c, filedata.h, INSTALL, install-sh, INTERCEPTTY, main.c, Makefile.am, Makefile.in, missing, mkinstalldirs, NEWS, phonebook.c, phonebook.h, PROTOCOL, README, startalk.c, startalk.h, stdata.c, stdata.h, stdebug.c, stdebug.h:
Checkin for next version
* aclocal.m4, configure, COPYING, INSTALL, install-sh, Makefile.am, Makefile.in, missing, mkinstalldirs:
New file.
x
2000-05-03 Scott Gifford <sgifford@tir.com>
* main.c: Checkin for next version
2000-05-02 Scott Gifford <sgifford@tir.com>
* main.c: Added RCS Id string.
* main.c: Added version to help.
* main.c: Changed tests packets for -t.
Modified usage message slightly.
* main.c: Modified range code to let you use '90-' to indicate 90-end,
'-10' to indicate start-10.
* main.c: Corrected some documentation and usage stuff.
2000-05-02 sgifford@tir.com <sgifford@sglaptop.tir.com>
* main.c: Changed tests packets for -t.
Modified usage message slightly.
* README: Updated 'Usage' section.
* PROTOCOL: Good first draft.
* main.c: Modified range code to let you use '90-' to indicate 90-end,
'-10' to indicate start-10.
* phonebook.h, phonebook.c, filedata.c:
Modified to support FAX, QMARK, and expanded OTHER phone number types.
* main.c: Corrected some documentation and usage stuff.
2000-04-24 sgifford@tir.com <sgifford@sglaptop.tir.com>
* Makefile: Made Makefile code a bit cleaner.
Added compile option for electric fence.
* PROTOCOL: Fixed some problems noted in previous version.
Started including example packet dumps.
* README: Updated to reflect some renamed files.
* main.c:
Added code to try to catch and clean up after SIGSEGV, while still
dumping core.
* startalk.c: Small cosmetic change in debug output.
* filedata.c:
Fixed possible fencepost error in startalk_cleanup_from_file
if variable 'in' is a zero-length string.
* phonebook.c: Fixed potential problem with 32-character phone numbers.
Fixed stupid typo causing segfaults.
* Makefile: Changed name of source file 'st.c' to 'main.c'.
* main.c: Renamed 'st.c' to 'main.c'
* stdata.h, main.c, stdebug.h, startalk.c, stdata.c, filedata.c, phonebook.c, stdebug.c:
Fixed warnings with -Wall.
* filedata.c, filedata.h, phonebook.c, phonebook.h, stdata.h, stdata.c:
Changed all occurences of 'startac' to 'startalk'.
* Makefile: Changed all occurences of 'startac' to 'startalk'.
Renamed main executable from 'st' to 'startalk'.
* main.c: Changed all occurences of 'startac' to 'startalk'.
* startalk.c: Renamed from 'startac.c' to 'startalk.c'.
* startalk.h: Renamed from 'startac.h' to 'startalk.h'.
* startalk.h, startalk.c:
Changed all occurences of 'startac' to 'startalk'.
2000-04-23 sgifford@tir.com <sgifford@sglaptop.tir.com>
* PROTOCOL: Added some notes of things to be fixed.
* stdata.c: Interpret blank entries as delete commands.
Handle correctly case where there is no company for a phonebook entry.
* startalk.c:
Added some code that tries really hard to get the serial port
into a reasonable state before we start writing to it.
* main.c: Added signal handling to reset phone.
Added #defined constant for maximum entries in phonebook.
Refined code used when both writing and clearing out phonebook.
* PROTOCOL: New file.
2000-03-23 sgifford@tir.com <sgifford@sglaptop.tir.com>
* phonebook.h:
Changed STARTAC_PHONEBOOK_MAX to be defined as the same as MAX_ENTRIES.
* startalk.h: Added a #define for the maximum number of entries in the
phonebook.
* main.c: Added tons of options, rearranged much of code.
2000-03-20 sgifford@tir.com <sgifford@sglaptop.tir.com>
* stdebug.c:
Corrected case where a warn or die is done with no preceding errors.
* README: Added paragraph about phonebook entries with just position
attribute.
* stdebug.c: Removed a commented out line.
Added a #define'd constant for the number of columns in the packet
dump output.
2000-03-19 sgifford@tir.com <sgifford@sglaptop.tir.com>
* README: Minor rewording of copyright information.
2000-03-18 sgifford@tir.com <sgifford@sglaptop.tir.com>
* stdebug.h: Added new function.
* stdebug.c: Removed a few unused variables.
Added new errdump function, to print the error stack without exiting
the program, or printing WARNING before it.
* README: New file.
* startalk.c: Disallow filehandles below 3.
* stdebug.c: Fixed some more varargs problems.
* stdebug.c: Added va_end's for all va_start's.
2000-03-17 sgifford@tir.com <sgifford@sglaptop.tir.com>
* phonebook.c: Changed to use new debugging facilities in stdebug.c
* stdebug.c, stdebug.h: Added warn function.
* stdata.c: Cleaned up some code.
Rewrote error handling to use new facilities in stdebug.c
Changed return codes to be the same as in other functions --
0 for success, nonzero for failure.
* startalk.c: Rearranged debugging output to make it more clear.
* startalk.h: Changed 'char *' in startac_write_* to 'const char *'.
* stdebug.h: Added prototypes for new functions.
* main.c: Rewrote to use new debugging code.
Parse parameter to -d flag.
* stdata.c: Added startac_run_cmd.
* startalk.c: Cleaned up code.
Rewrote debugging and error handling to take advantage of new facilities
in stdebug.c
* stdebug.c: Added functions for error tracking.
setdebuglevel(newlevel) sets a level of debugging
debuglevel(testlevel) returns TRUE if we are debugging at or above testlevel,
FALSE otherwise.
debugf(minlevel, format, ...) prints the printf-style message to stderr
if we are debugging at minlevel or above.
die(format, ...) prints the printf-style message to stderr and exits.
It also prints any accumulated error messages.
reterr(ret, format, ...) adds the printf-style message to a buffer of errors,
which will be printed if we die(), and returns ret.
errorf(format, ...) like reterr(1, format, ...)
clearerrors() clears out the error buffer.
Also split up dumpbuf into dumpbuf_start, dumpbuf_cont, and dumpbuf_end, so
we can dump a buffer incrementally.
Re-implemented dumpbuf() in terms of dumpbuf_start() and dumpbuf_end().
* startalk.c: Removed debug line from startac_uninitialize.
2000-03-15 sgifford@tir.com <sgifford@sglaptop.tir.com>
* phonebook.c:
Added code for dealing with new pos field in startac_phonebook_entry.
* phonebook.h: Added position to startac_phonebook_entry.
* Makefile: Added files to O_FILES.
* filedata.h: New file.
* main.c: Rewrote to take command-line options.
Still isn't a distribution-quality program, but much closer.
* filedata.c: New file.
* stdata.c:
Added code to read the phone's response when writing an entry,
and debugging code for the response.
The debugging code needs to be made conditional somehow.
2000-03-12 sgifford@tir.com <sgifford@sglaptop.tir.com>
* stdata.h:
Added prototypes to add and delete phonebook entries from the phone.
* stdata.c: Added code to remove a phonebook entry.
* main.c: Modified test code to remove a phonebook entry, too.
* phonebook.h: Added #define's for different phone number types
Added prototypes of functions to add a phone number to an entry.
Added prototypes of functions to print phonebook entries and
numbers.
* phonebook.c:
Added code to print phonebook entries and numbers in an LDIF-like format.
* main.c: Modified to test writing a phonebook entry to the phone.
* stdata.c: Added code to write phonebook entries to the phone.
* stdebug.c, startalk.h, phonebook.h, stdata.h, phonebook.c, startalk.c, stdebug.h:
New file.
* main.c: Seperated into different files.
* stdata.c, Makefile: New file.
* main.c: Added a bunch of code for phonebooks.
About to split into seperate files.
* main.c: Added code to read phonebook entries from the phone.
* main.c: Automatically calculates checksums now.
Fixed some silly misunderstandings of how things work.
* main.c: Rewrote simple interface to use readmsg/writemsg throughout.
* main.c: New file.
--
$Id: ChangeLog,v 400.2 2002/07/25 09:35:17 sgifford Exp $
|