Debian Codegraph @

ChangeLog

raw
1 2010-01-10 Bill Poser <poser@bill-laptop>
2
3 * msort.c:
4 Now use new function names with prefix tre_ exported by libtre.
5
6 2009-08-23 Bill Poser <poser@bill-laptop>
7
8 * msort.c:
9 Removed unnecessary conditioning of Hybrid mapping code on LOCALE_SORT_ORDER.
10
11 2009-05-30 Bill Poser <[email protected]>
12
13 * msort.c:
14 Now reverse digits of Unix time before using as random number
15 seed so as to make the seed change visibly from run to run.
16
17 2009-01-26 Bill Poser <[email protected]>
18
19 * msort.c:
20 Changed type of ExclusionTables, fixing a bug
21 in the reporting of exclusions and saving considerable
22 memory when exclusions are used.
23
24 2009-01-13 Bill Poser <[email protected]>
25
26 * msg.tcl:
27 Labelled algorithm choices as stable and unstable.
28
29 * msort.c:
30 Added -Z option for copying the first record to the output without
31 sorting it. This is useful for files with a header.
32 Added a regression test for this option.
33
34 2008-12-05 Bill Poser <[email protected]>
35 Release 8.52.
36
37 * msort.c (GetKeys):
38 Don't bother to extract and store field if comparison type for key
39 is random since we aren't going to use it. This saves a little time
40 and possibly a good bit of storage.
41
42 * RegressionTests
43 Separated the tests whose success depends on locales
44 from the rest. The main set are run by "make test" as before.
45 To run the locale-dependent tests, type "make localetest".
46 The results appear in LocaleTestResults.
47
48 2008-11-02 Bill Poser <[email protected]>
49
50 * input.c (ReportReadError):
51 Changed stray explicit calls of gettext to calls
52 to macro _, which is properly conditioned.
53
54 2008-10-27 Bill Poser <[email protected]>
55
56 Added regression test for more complex substition.
57
58 2008-10-20 Bill Poser <[email protected]>
59
60 * msg.tcl (GetLogInfo):
61 Modified to accomodate modifications to msort.log.
62
63 * msort.c:
64 Corrected format specifier from d to u for printing number of records.
65 Moved closing of log to very end, avoiding problem of early closing,
66 and moved this into function CloseLog, which adds log-termination.
67
68 2008-10-19 Bill Poser <[email protected]>
69
70 * msort.c:
71 If one or more records have been discarded due to problems in key
72 extraction but the run is otherwise successful, the exit code is
73 now RECORDEXCLUDED rather than BADRECORD.
74
75 * misc.c:
76 Modified GetISO8601Key to handle an optional leading sign and
77 moved it into iso8601.c.
78
79 2008-10-18 Bill Poser <[email protected]>
80
81 * msort.c:
82 Made error-checking and reporting finer-grained in GetMonthNames.
83
84 Split time and iso8601 date/time regression tests so as not to
85 mix data with and without time zone offsets since mixing them causes
86 tests to fail if executed in some time zones.
87
88 2008-10-11 Bill Poser <[email protected]>
89 Release of version 8.51.
90
91 * msg.tcl:
92 Added setting of random number generator seed.
93 Added regression test for angles.
94 Added regression tests for collating sequences.
95
96 2008-10-08 Bill Poser <[email protected]>
97
98 * msort.c:
99 Moved completion log time stamp ahead of other information so
100 that it immediately follows start time stamp, facilitating comparison.
101
102 2008-10-05 Bill Poser <[email protected]>
103
104 * msort.c:
105 Moved initial log time stamp and key description to just before
106 point at which records are read.
107
108 2008-09-30 Bill Poser <[email protected]>
109
110 * msort.c:
111 Added -P option for setting randomization seed so that runs
112 will be reproducible.
113
114 Now report the randomization seed used in the log for future reference.
115
116 2008-09-28 Bill Poser <[email protected]>
117 Release of version 8.50.
118
119 * msort.c:
120 Fixed bug in which compound positional keys (those involving portions of more
121 than one field) were not properly null terminated, resulting in various sorts
122 of errors, including crashes.
123
124 Key specifications with a character offset of zero are now treated
125 as fatal errors and reported to the user.
126
127 Added 17 more regression tests.
128
129 2008-09-26 Bill Poser <[email protected]>
130 * configure.ac:
131 Made failure of check for libintl non-fatal.
132
133 * msort.c:
134 Made report of failure of key extraction on one or more records
135 subject to Verbose flag.
136
137 Added ISO8601 time/date stamps to beginning and end of log.
138
139 * msort.c (GetKeys):
140 Now trap fields with empty value, which previously
141 could cause segfaults.
142
143
144 2008-09-24 Bill Poser <[email protected]>
145 Release of version 8.49.
146
147 * RegressionTests
148 Added nine regression tests.
149
150 * README:
151 Added section on Dependencies, discussing use of non-standard
152 libraries and how to build the simplest configuration.
153
154 2008-09-22 Bill Poser <[email protected]>
155
156 * misc.c:
157 Eliminated direct call to libgmp, which should simplify installation.
158 Now get gmp version info from function in libuninum.
159
160 2008-09-21 Bill Poser <[email protected]>
161
162 * configure.ac:
163 Added check for libintl.
164
165 * msort.c:
166 Eliminated printing of message "Consult the log for details" if
167 logging is not enabled.
168
169 * strs.c (ws2u8):
170 Fixed bug resulting from allocation of insufficient memory.
171
172 * msort.c (GetWhiteSpaceDefinition):
173 Removed debugging line inadvertently left in.
174
175 (GetSubstitutions):
176 Removed inappropriate free of stack storage.
177
178 2008-09-20 Bill Poser <[email protected]>
179 Release of version 8.48.
180
181 * misc.c (GetISO8601Key):
182 Fixed bug that caused inappropriate return of error
183 if no numerical time zone offset is present.
184
185 (GetTimeKey):
186 Fixed bug that caused inappropriate return of error
187 from well-formed ISO8601 times.
188
189 (GetDateKey):
190 Fixed a bug that caused a segmentation fault if
191 an attempt was made to analyze as a date a string not
192 containing the expected first date component separator.
193
194 2008-09-19 Bill Poser <[email protected]>
195
196 * msort.c (CaseFoldTbl):
197 Updated case folding to Unicode 5.1.
198
199 * msort.c (DescribeKeys):
200 Added indication of use of only first character if that option is selected.
201
202 2008-07-30 Bill Poser <[email protected]>
203
204 * misc.c (ShowVersion):
205 Added information about system and machine type.
206
207 2008-07-14 Bill Poser <[email protected]>
208
209 * msort.c:
210 Added option for lexicographic sorts of using only the
211 first character (after subs, exclusions, etc.). This
212 emulates pre-modern alphabetization practice.
213
214 2008-07-10 Bill Poser <[email protected]>
215
216 * unicode.h:
217 Changed UTF32 etc. from standard types (unsigned long etc.) to
218 minimum size types (u_int32_t) for portability.
219
220 2008-06-30 Bill Poser <[email protected]>
221 Release of version 8.47.
222
223 * msort.c (ConstructSortOrder):
224 Fixed storage allocation bug when using utf8proc as per
225 patch by Steve Tinney.
226
227 2008-05-28 Bill Poser <[email protected]>
228
229 * msort.c:
230 Modified domain name processing to handle optional protocol
231 segment, which is treated as lowest priority component like
232 the username in an email address.
233
234 2008-05-23 Bill Poser <[email protected]>
235 Release of version 8.46.
236
237 * msort.c (ReverseDomainComponents):
238 Fixed bugs in rearrangement of email addresses.
239
240 2008-05-18 Bill Poser <[email protected]>
241
242 * msort.c (MapHybrid):
243 Fixed potential malloc bug (inconsistent use of long and int)
244
245 2008-05-14 Bill Poser <[email protected]>
246
247 * msort.c (GetKeys):
248 Fixed small bug in Turkic case folding.
249
250 2008-04-19 Bill Poser <[email protected]>
251
252 * manual.tex
253 Filled in missing text at end of section 10.7 (IP address
254 example).
255
256 2008-04-10 Bill Poser <[email protected]>
257
258 * msg.tcl:
259 Now check for Tk 8.5 and adapt font sizes accordingly.
260
261 2008-04-09 Bill Poser <[email protected]>
262
263 * msort.c:
264 Fixed ValidateCRange so as not to detect error when
265 first index of a character range is positive but second
266 index is negative, fixing bug reported by Jeppe Oland.
267
268 * misc.c:
269 Added ifdef for include of uninum.h as per patch
270 by Jeppe Oland. This eliminates a problem compiling
271 without libuninum if libuninum's header files are not
272 installed.
273
274 2008-01-27 Bill Poser <[email protected]>
275
276 * misc.c:
277 Moved include of nsdefs.h within ifdef for uninum
278 as per patch by Steve Tinney.
279
280 2007-10-05 Bill Poser <[email protected]>
281
282 * msort.c:
283 Changed license to GPL3.
284 Eliminated printing of version info when called with no arguments.
285
286 2007-10-02 Bill Poser <[email protected]>
287
288 * msort.c:
289 Added command-line options for specifying input and output
290 files. Also, if the specified input and output files are
291 the same, the input is now overwritten.
292
293 Added option of suppressing log.
294 Refactored so most writes to log are via PrintLog and wPrintLog.
295
296 2007-09-04 Bill Poser <[email protected]>
297
298 * misc.c (ShowVersion):
299 Now print version of glibc if present.
300
301 2007-09-02 Bill Poser <[email protected]>
302
303 * misc.c (GetTimeKey, GetISO8601Key): :
304 Added code for handling ISO 8601 time zone info.
305 Also, modified GetISO8601Key so that, like GetTimeKey,
306 it works on a UTF8 string.
307 The separators in ISO time-date strings are now optional,
308 as per the standard.
309
310
311 2007-09-01 Bill Poser <[email protected]>
312
313 * misc.c:
314 Added function TimezoneOffset for use in normalizing times
315 to UTC.
316
317 2007-06-08 Bill Poser <[email protected]>
318
319 * msort.c:
320 Now increase number of records by InitialMaxRecords
321 rather than half that number.
322
323 2007-03-28 Bill Poser <[email protected]>
324
325 * msort.c:
326 Now flush log during startup to preserve info on crashes.
327
328 2007-03-23 Bill Poser <[email protected]>
329 Release of version 8.40
330
331 * msort.c:
332 It is now possible to choose between the utf8proc and icu
333 libraries for normalization.
334
335 2007-03-21 Bill Poser <[email protected]>
336 Release of version 8.39.
337
338 * msort.c:
339 Added conditionals so that it is possible to use an
340 option to configure to compile msort without
341 libuninum or libgmp. This simplifies installation for those
342 who do not need this capability.
343
344 * misc.c (OpenFile):
345 Inability to open a file now causes an error exit.
346
347 2007-03-20 Bill Poser <[email protected]>
348
349 * msort.c (main):
350 Added unicode normalization of input records.
351 Added unicode normalization of tag regexps.
352 Added unicode normalization of exclusions read from files.
353 Added unicode normalization of exclusions read from command line.
354 Added unicode normalization of sort order file.
355 Added unicode normalization of substitutions.
356 Added unicode normalization of record separator.
357 Added unicode normalization of field separators.
358
359 * misc.c:
360 Renamed IdentifySelf to ShowVersion for consistency with other programs.
361 Added ICU version info to ShowVersion.
362
363 * uniio.c:
364 Unified uout.c and UTF8in.c into uniio.c.
365
366 2007-03-04 Bill Poser <[email protected]>
367
368 * msort.c:
369 Month names may now be used in the month field of dates,
370 with their ordering determined as with independent month names.
371
372 * misc.c (GetDateKey):
373 Added stricter error checking on number conversion so as
374 to reject ill-formed numbers in dates like "4b".
375
376 2007-02-28 Bill Poser <[email protected]>
377
378 * misc.c (GetDateKey):
379 Added ability to handle day of year keys.
380
381 2007-02-07 Bill Poser <[email protected]>
382
383 * msg.tcl (ExplainEndOfLineMarker):
384 Adapted list of number systems to livuninum version 2.1.
385
386 * info.c:
387 Adapted ListNumberSystems to libuninum version 2.1.
388
389 2007-01-26 Bill Poser <[email protected]>
390
391 * info.c (PrintLimits):
392 Made thousands separation consistent and ifdefed for C libraries that
393 do not support it.
394
395 * limits.h:
396 Abstracted multigraph numbers and improved comments.
397
398 * misc.c (IdentifySelf):
399 Version info now provides the version of all three of the
400 non-standard libraries used.
401
402 2007-01-25 Bill Poser <[email protected]>
403 Release 8.36.1
404
405 * configure.ac:
406 Changed AC_FUNC_MALLOC in configure.ac to AC_CHECK_FUNCS([...malloc...])
407 since on Ubuntu malloc apparently fails the GNU test of returning non-null
408 when passed an argument of zero. This causes the compilation to fail
409 on unresolved references to rpl_malloc.
410
411 * info.c misc.c:
412 Added includes of <uninum/unicode.h>.
413
414 2007-01-24 Bill Poser <[email protected]>
415
416 * msort.c (GetKeys):
417 Adapted to version 2.0 of libuninum by changing NS_RETURN_*
418 to NS_TYPE_*.
419
420 2007-01-12 Bill Poser <[email protected]>
421
422 * configure.ac:
423 Added configuration option --disable-comparisoncount
424 which removes the code that reports the number of comparisons.
425 This speeds things up a little bit for sorts involving a lot
426 of comparisons.
427
428 2007-01-09 Bill Poser <[email protected]>
429 Version 8.35 released.
430
431 * msort.c (main):
432 Added checks to several key-specific options to ensure that a key has
433 been specified earlier on the command line. This eliminates segfaults
434 when such incorrect command-lines are encountered. All key-specific
435 options are now covered. For some reason this check was missing
436 from a few of them. Also made error message more informative and
437 moved the check into a function.
438
439 * Makefile.am (AM_LDFLAGS):
440 Force linkage with gmp library. Apparently this is not taken care
441 of by the autoconf process on Mac OS X and OpenBSD.
442
443 2007-01-05 Bill Poser <[email protected]>
444 Version 8.34 released.
445
446 * msg.tcl:
447 Modified GUI to accomodate number system specification for
448 numeric string keys.
449
450 * msort.c (GetKeys):
451 Added support for number system specification for numeric string keys.
452
453 2006-12-31 Bill Poser <[email protected]>
454
455 * msort.c (GetKeys):
456 Modifed to use libuninum for non-Western numeric keys.
457
458 2006-12-29 Bill Poser <[email protected]>
459
460 * msort.c input.c:
461 Modified input routines to make more informative reports on
462 input errors including bad UTF-8.
463
464 2006-12-25 Bill Poser <[email protected]>
465
466 * msg.tcl (SetupKey):
467 Added support for writing system specification for numeric keys.
468
469 2006-12-24 Bill Poser <[email protected]>
470
471 * msort.c:
472 Added ability for numeric keys to use pretty much any number system,
473 with -y flag for specifying number system.
474
475 2006-12-18 Bill Poser <[email protected]>
476
477 * sorts.c (Compare):
478 Fixed bug that caused segfaults on numeric keys.
479
480 2006-12-17 Bill Poser <[email protected]>
481 * msort.c sorts.c:
482 Fixed subtle bug in multigraph mapping (MapNonHybridLI).
483
484 Redid the handling of non-locale-dependent hybrid keys,
485 which required modifications of both Compare and
486 GetKeys. This eliminates occasional, apparently random,
487 segfaults.
488
489 Corrected storage allocated for tmp in ExtractNum and ExtractTxt.
490
491 2006-12-10 Bill Poser <[email protected]>
492
493 * msort.c info.c:
494 Separated listing of informational options from other general
495 options in order to shorten the latter listing.
496
497 2006-12-09 Bill Poser <[email protected]>
498
499 * msort.c:
500 Modified domain name comparison to handle email addresses
501 as well, that is, domain names with a leading component separated
502 from the domain name by an at-sign.
503
504 Improved description of keys in log and added logging of domain name
505 comparison type.
506
507 2006-11-29 Bill Poser <[email protected]>
508
509 * msort.c:
510 Added domain name sort type.
511
512 2006-11-24 Bill Poser <[email protected]>
513
514 * msort.c (main):
515 The report of the command line by which msort was invoked is now indented slightly.
516
517 2006-10-09 Bill Poser <[email protected]>
518
519 * info.c (PrintDefaults):
520 Added default algorithm to list of defaults.
521
522 * info.c msort.c (PrintGNUEquivalences):
523 Added command line option -G which prints GNU sort equivalences.
524
525 * msort.c:
526 Added ifdef for alloca.h which fixes build problem on FreeBSD.
527
528 2006-09-17 Bill Poser <[email protected]>
529
530 * msg.tcl (PopupIPAEntryC):
531 Fixed non-functional uvular trill button.
532
533 2006-09-06 Bill Poser <[email protected]>
534
535 * msort.c (DescribeKeys):
536 Fixed Debian bug 383230 as per patch by [email protected]
537 (key index i instead of 0).
538
539 (main):
540 Fixed Debian bug 383232 as per patch by [email protected].
541 (Extra fclose on log.)
542
543 2006-08-10 Bill Poser <[email protected]>
544
545 * msort.c:
546 Updated case-folding to Unicode 5.0.
547
548 2006-08-09 Bill Poser <[email protected]>
549
550 * msort.c:
551 If there is only one record, we still mention that there
552 is no point in sorting only one record but we now
553 exit successfully after writing out that record.
554 This is necessary for non-interactive use.
555
556 2006-07-06 Bill Poser <[email protected]>
557
558 * input.c strs.c:
559 Modified to use new prefixed UTF8 error codes.
560
561 * Get_UTF32_From_UTF8i.c:
562 Patched to handle read interrupted in middle of UTF-8 sequence.
563
564 2006-05-22 Bill Poser <[email protected]>
565
566 * msg.tcl (About):
567 Changed help popups to toggle.
568
569 Made various sections of pages roll-up, reducing footprint.
570
571 2006-05-20 Bill Poser <[email protected]>
572
573 * msort.c (GetKeys):
574 Updated case-folding to Unicode 4.1.
575
576 Added the option of Turkic case-folding.
577
578 2006-05-18 Bill Poser <[email protected]>
579
580 * msort.c sorts.c record.h:
581 Revamped hybrid locale comparison, eliminating bugs.
582
583 2006-05-13 Bill Poser <[email protected]>
584
585 * msort.c (GetKeys):
586 Eliminated small memory leak (LocaleTempKey).
587
588 2006-05-12 Bill Poser <[email protected]>
589
590 * msg.tcl:
591 Added explanatory popups for conversion of stylistic variants and enclosed forms,
592 and stripping of diacritics.
593
594 * conversions.c:
595 Added Hebrew presentation forms to ConvertStylistic.
596 This required storage reallocation.
597
598 * msort.c (main):
599 Added option of just checking whether the input is sorted.
600
601 2006-05-12 Bill Poser <poser@S010600e0185aee1a>
602
603 * conversions.c:
604 Corrected a bug that erroneously converted "9" to "y"
605 when the option for converting stylistic equivalents
606 is used.
607
608 Superscript and subscript forms are now converted
609 to their plain equivalents.
610
611 2006-05-06 Bill Poser <[email protected]>
612
613 * info.c (PrintUsage):
614 Updated usage message to reflect split between help for global and
615 key-specific options.
616
617 2006-05-05 Bill Poser <[email protected]>
618
619 * msort.c:
620 Added support for month names.
621
622 Now distinguish count of well-formed records from count of input records,
623 which corrects record numbers output with error messages.
624
625 *passim:
626 Sorted out configuration conditions into three groups, LOCALE_SORT_ORDER,
627 LOCALE_MONTH_NAME, and LOCALE_GETTEXT, so that we now check for just
628 the right combinations.
629
630 2006-04-28 Bill Poser <[email protected]>
631 Added options for treating certain classes of characters as their "basic" counterparts:
632 (a) strip diacritics;
633 (b) treat enclosed characters as basic.
634 (c) treat stylistic variants as basic.
635 At present this includes the stylistic variants of the ASCII characters,
636 the Latin but non-ASCII symbols, the Arabic positional variants,
637 the half-width CJK punctuation, the half-width kana, and the half-width
638 hangul.
639
640
641 2006-04-21 Bill Poser <[email protected]>
642
643 * misc.c:
644 Eliminated minor memory corruption arising in DelimitNumber.
645
646 * msort.c:
647 Eliminated significant memory leakage from GetKeys.
648 Neatened up info generated about dynamic memory, comparisons, and record count.
649
650 2006-04-11 Bill Poser <[email protected]>
651
652 * info.c
653 Split PrintFlags into PrintGeneralFlags and PrintKeySpecificFlags.
654
655 2006-04-10 Bill Poser <[email protected]>
656
657 * msort.c (main):
658 Added long options if supported.
659
660 2006-04-08 Bill Poser <[email protected]>
661
662 * msg.tcl:
663 Changed 0xff to 255 in three color default settings
664 as a workaround to a bug in some MS Windows implementations
665 of Tcl.
666
667 2006-04-03 Bill Poser <[email protected]>
668 * msort.c:
669 If the argument to the -s flag is a locale name, the rules
670 of that locale are now used. If the argument to the -s
671 flag is "current" or "locale", the rules of the current
672 locale are used.
673
674 Added record of amount of memory dynamically allocated to log.
675
676 2006-03-26 Bill Poser <[email protected]>
677
678 * msort.c:
679 Fixed bug that prevented multigraph mapping from affecting
680 string length.
681
682 2006-03-09 Bill Poser <[email protected]>
683
684 * msort.c:
685 In atofwc now strip space characters so as to prevent
686 strto(l)d from reporting an error due to, e.g., a newline
687 following the number when records are not lines and fields
688 are not lines.
689
690 2006-03-05 Bill Poser <[email protected]>
691
692 * configure.ac:
693 Added check for libtre so that absence will be detected prior to
694 compilation.
695
696 2006-02-25 Bill Poser <[email protected]>
697 passim:
698 Added option of numeric string comparison.
699
700 2006-02-17 Bill Poser <[email protected]>
701 passim:
702
703 Key selection by position has been extended to allow keys to span
704 contiguous fields from one position to another, where a position
705 consists of a field number and a character offset. This makes key
706 selection by position approximately the same as in GNU sort. One
707 difference is that unlike GNU sort, msort permits field numbers to be
708 negative, indicating a count from the end. The other is that in msort
709 if only a single position is specified only that field is included in
710 the key, whereas in GNU sort the key extends from the specified
711 position to the end of the record.
712
713
714 2006-02-11 Bill Poser <[email protected]>
715 passim:
716 Adds to the permitted format for angles the sexagesimal format in which
717 the components are separated by whitespace rather than colon.
718
719 Fixes a bug affecting negative angles.
720
721
722 2006-02-08 Bill Poser <[email protected]>
723
724 * misc.c (GetAngleKey):
725 Added GetAngleKey.
726
727 msort.c:
728 Added support for angle key.
729
730 info.c:
731 Added info about angle key.
732
733
734 2006-02-05 Bill Poser <[email protected]>
735
736 * msort.c:
737 Moved the four sort functions, ancillary routines, and Compare
738 into sorts.c This required moving some definitions out of msort.c
739 into header files, including the creation of comparisons.h and keys.h.
740
741 * info.c:
742 Added command line option for fixed length records to option summary.
743
744 * msort.c:
745 Added support for fixed length records.
746
747 Fixed bug that added extra newlines to output.
748
749 * input.c:
750 Added GetFixedLengthRecord().
751
752 2006-02-04 Bill Poser <[email protected]>
753
754 * msort.c (main):
755 Added check of whether input is restricted to BMP if -B option is specified.
756
757 Added choice of algorithm, and added Mergesort and InsertionSort as possible algorithms.
758
759 Also added a configure option --(dis|en)able-allocaok, which controls
760 whether alloca is used in Mergesort. By default it is, but storage may be
761 allocated on the heap instead if alloca is buggy, as it is on some systems.
762
763 2006-01-17 Bill Poser <[email protected]>
764
765 * msort.c misc.c record.h:
766 Now use long double internally for numeric keys rather than double
767 if machine supports it.
768
769 Version 8.11
770
771 2006-01-17 Bill Poser <[email protected]>
772
773 * info.c (PrintLimits):
774 The maximum length of a numeric key is now listed as a limit.
775
776 2006-01-17 Bill Poser <[email protected]>
777
778 * msort.c (GetKeys):
779 Now check the conversion of numeric strings to internal floats for errors.
780 Fixed bug in which msort segfaulted if given a very long numeric string
781 as key.
782
783 Version 8.9
784
785 Carried out a thorough code-cleanup. Ran gcc with -Wall -pedantic and eliminated
786 all but 2 warnings.
787
788 Eliminated the restriction on number of keys.
789
790 Fixed a bug that made the widget for inserting characters
791 by their Unicode codepoint insert them into itself.
792
793 Version 8.8
794 Modified msort to make inability to open log file non-fatal.
795 It now tries to open a log in /tmp. Only if that fails
796 does it exit.
797
798 Updated msg to use improved font control panel.
799
800 Updated character entry widgets.
801
802 Updated configuration system.
803 Incompatibilities: character entry widget definition format
804 Boolean command names
805
806 Added binding on <<B3>> to all scrollable windows in which a significant number of
807 lines might appear that scrolls in larger increments than the left mouse button.
808
809 version 8.7
810 Added hybrid sort type.
811 Added random sort type.
812 Positional key field now defaults to key number.
813 Improved log/stderr info output.
814 Changed ComparisonCnt to long long to prevent overflow.
815
816 Right-click in trough of scale now changes font size by increment of five.
817 Improved the font control panel in various ways.
818
819 version 8.6.1
820 Fixes a bug in the exclusion entry widget in the GUI.
821
822 version 8.6
823 Added the ability to configure msg via an initialization file.
824 Added the ability to select fonts interactively.
825 Moved the toggle for balloon help from the Help menu to the
826 new Configure menu.
827 Considerable cosmetic improvement to the GUI.
828 Lines beginning with crosshatch in substitution files are now comments.
829 Fixed a bug in GetSubstitutions that truncated long substitutions.
830
831 Made a change that may result in browser execution working under MacOSX .
832 Minor tweaking of info messages.
833
834 version 8.5.1
835 Added include of stdlib to dstr.c in response to report of compiler warnings.
836
837 version 8.5
838 Added character ranges as keys to msort and msg.
839 Added regular expression substitution on keys.
840 Fixed a bug in Unicode case folding.
841 Added ability to specify CR (0x0D) as end-of-line character instead of LF (0x0A).
842 Rearranged General page.
843 Removed unused images and conditionals for using them.
844 Updated manual.
845 Removed DOS stuff from manual.
846
847 version 8.4
848 Fixed serious bug affecting numeric keys.
849 Fixed bug in msort that garbled copy of bad record when key extraction failed.
850 Improved detection of OS and base graphics system by msg.
851 Fixed bug in msg that triggered an error when the "How to Use this Program" popup
852 was popped up.
853 Added missing balloon help for save and cancel buttons of sort order file separator
854 control panel.
855 The Tk-Aqua adaptation of msg was improved. The command buttons are now positioned at the
856 top of the window and are available at all times, not just when the General page is selected.
857
858 2005/07/26 Bill Poser version 8.3
859 The GUI does a better job of identifying the operating system.
860 The GUI's adaptation to Tk-Aqua under Mac OS X has been improved.
861
862 2005/07/24 Bill Poser version 8.2
863 Added -W flag to allow the user to set which characters are treated
864 as separators in the sort order file.
865 Improved error messages regarding invalid UTF-8 input.
866 Modified msg to handle -W flag.
867 Fixed bug with optional keys.
868 Fixed bug in sort order specification in msg.
869 Fixed a bug in ASCII case-folding.
870 Updated manual page and reference manual.
871
872 2005-07-21 Bill Poser version 8.1
873 Fixed a bug that interfered with use of multigraphs.
874 Adds a modified configuration of msg adapted to the Aqua implementation of Tk.
875 msort can now be conditionally compiled without the internationalization and
876 localization libraries that are not available under Mac OS X.
877
878 2005-07-20 Bill Poser version 8.0
879 msort now accepts UTF-8 Unicode.
880 The command line flag -B was added.
881 This flag, if present, restricts the characters in the input
882 and sort order specifications to the BMP.
883 The command line flag -p was added.
884 This flag instructs msort not to make internal use of the
885 Unicode Private Use areas.
886 In GUI added character entry tools.
887 Replaced Henry Spencer regexp with TRE in msort.
888 Added help link for regular expression syntax.
889 Instead of just trying to use the default browser, msg now
890 works through a list of browsers, trying each in turn.
891
892 2005-05-20 Bill Poser version 7.1
893 It is now possible to reorder keys by dragging one button over the other.
894 Miscellaneous improvements in error-handling and error-reporting in msg.
895
896 2005-04-25 Bill Poser version 7.0
897 Eliminated the restriction of exclusions to lexicographic and string length keys.
898 Added iso8601 date/time combinations as a key type.
899 Added gui msg.tcl.
900
901 2005-04-24 Bill Poser version 6.20
902 Added case-folding option.
903 Changed default date format to International Date Format (y-m-d).
904
905 2005-04-22 Bill Poser version 6.19
906 Correct manual, man page, and option printout
907 to show date format as a key-specific option.
908
909 2005-02-03 Bill Poser version 6.18
910 Improved man page and reference manual.
911
912 2005-01-21 Bill Poser version 6.17
913 Eliminated -a option since it was not useful.
914
915 2003-12-15 Bill Poser version 6.14
916 Changed MAXMULTIGRAPHS in limits.h to 65279 from 65280. The maximum value now fits
917 within an unsigned short, as it should.
918
919 2003-11-19 Bill Poser version 6.13
920 Fixed bug in error message for bad position code in GetExclusions.
921
922 2003-11-14 Bill Poser version 6.12
923 Fixed bug in allocation of temporary storage and cleaned up a bit.
924
925 2003-11-11 Bill Poser version 6.11
926 Now allocate temporary storage for tag strings dynamically, eliminating
927 unlikely but possible overflow bug.
928
929 2003-02-27 Bill Poser version 6.10
930 Added test for field reduced to zero length by exclusions. If the field is
931 optional, such a field is treated as an optional field that was missing outright.
932 If not, the error is reported and execution aborted.
933 Also corrected error in Compare() that reversed the intended semantics of the
934 arguments to -o.
935
936 2003-02-24 Bill Poser version 6.9
937 Fixed bug that caused a crash when -t flag was used.
938
939 2003-02-22 Bill Poser version 6.8
940 Added comma delimitation of comparison count to make more readable.
941
942 2003-02-21 Bill Poser version 6.7
943 Fixed serious bug in storage reallocation for InputText.
944
945 2003-02-19 Bill Poser version 6.6
946 Now catch and abort on field numbered 0.
947
948 2003-02-18 Bill Poser version 6.5
949 Eliminated limit on record size by allocating dynamically.
950 Eliminated associated command line flag B.
951
952 2003-02-17 Bill Poser version 6.4
953 Eliminated external sort option.
954 Eliminated DOS-related conditional code.
955
956 2003-02-17 Bill Poser version 6.3
957 Added ability to sort on key size.
958 Added count of number of comparisons, which is useful for understanding what
959 is happening.
960 Added logging-report of global inversion of order.
961
962 2003-02-16 Bill Poser version 6.2 = RCS version 1.10 of msort.c
963 Modified DescribeKeys to produce more readable description of positional keys.
964
965 2003-02-16 Bill Poser version 6.1
966 Fixed bug that allowed no keys to be specified without specifying sort on whole record.
967 This resulted in a non-sort since the key count was 0.
968 Fixed bug that resulted in presence of keys not being correctly detected in
969 Compare due to reversed test.
970
971 2002-12-23 Bill Poser version 6.0
972 Added argument to -o flag for specifying missing key comparison.
973 Added field to keyinfo structure to store this.
974 Modified comparison code to test for missing keys and handle them
975 as specified by the argument to -o.
976
977 2002-12-22 Bill Poser version 5.23
978 Increased 8-bit MAXMULTIGRAPHS to 65,279, which is the maximum possible.
979 all values above 0xFF are available as codes for multigraphs.
980 That is 2^16 - 2^8 = 65,280.
981
982 2002-11-16 Bill Poser version 5.22
983 Added X flag to permit context-free exclusions to be specified on command line.
984
985 2002-06-02 Bill Poser version 5.21
986 Eliminated log entry of what file exclusions were read from.
987
988 2002-05-05 Bill Poser version 5.20
989 Added more specific information to log entry regarding ill-formed keys.
990 Previously this information was written on stderr, but the log only
991 received a copy of the ill-formed record.
992
993 2002-05-03 Bill Poser version 5.19
994 Increased number of digits for count of records processed.
995 Also increased REPORTINTERVAL since machines have gotten so much faster.
996
997 2000-05-18 Bill Poser version 5.18
998 Now don't print warning about singleton record if not verbose.
999
1000 2000-01-03 Bill Poser version 5.17
1001 Eliminated limit on length of sort order file line by allocating
1002 dynamically
1003
1004 1999-04-04 Bill Poser version 5.16
1005 Eliminated error exit on fewer than two records. A warning is still
1006 printed, but the run is completed. This facilitates use in shell scripts.
1007
1008 1998-12-21 Bill Poser version 5.15
1009 Fixed bug in DescribeKeys.
1010 Improved information about command line flags.
1011
1012 1996-11-14 Bill Poser version 5.14
1013 Eliminited limit on length of input file name by allocating
1014 dynamically.
1015
1016 1996-06-30 Bill Poser version 5.13
1017 Eliminated limit on number of field delimiter characters by allocating
1018 dynamically.
1019
1020 1996-01-19 Bill Poser version 5.12
1021 Eliminated limit on length of tag regexp by allocating dynamically.
1022
1023 1995-12-23 Bill Poser version 5.11
1024 Eliminated limit on maximum number of fields per record by allocating
1025 storage for pointers dynamically.
1026
1027 1995-08-20 Bill Poser version 5.10
1028 Improved format of report of exclusions and eliminated report
1029 on stderr of reading exclusion file.
1030
1031 1995-05-16 Bill Poser version 5.9
1032 Eliminated elapsed time computation and report.
1033
1034 1994-12-18 Bill Poser version 5.8
1035 Now allow spaces as separators in sort order file, with backslash
1036 escape when space is to be entered in sort order.
1037
1038 1994-09-23 Bill Poser version 5.7
1039 Increased DEFMAXCHUNK.
1040
1041 1994-09-22 Bill Poser version 5.6
1042 Fixed bug in -o flag.
1043 Eliminated typo in usage.
1044
1045 1994-06-21 Bill Poser version 5.5
1046 Added initial newlines to error reports from PutExtRecord.
1047
1048 1994-04-26 Bill Poser version 5.4
1049 Moved description of exclusions into DescribeKeys so as to associate
1050 with appropriate key.
1051
1052 1994-04-05 Bill Poser version 5.3
1053 Slightly modified report of elapsed time and time per record.
1054
1055 1994-04-3 Bill Poser version 5.2
1056 Corrected size of ymdinfo.fmt.
1057
1058 1994-03-24 Bill Poser version 5.1
1059 Added specification of separators to date format.
1060
1061 1994-03-19 Bill Poser version 5.0
1062 Increased maximum number of keys to 16.
1063 Moved limits into limits.h and made it unnecessary to transfer
1064 information manually into PrintLimits().
1065 Generalized forward-inverse option so as to apply to textual
1066 keys as well as numeric ones.
1067 Added separate -i flag for setting inversion. Renamed
1068 old -i flag, which specified global inversion, -I.
1069 Removed -N flag and added -c flag with argument to specify
1070 comparison type.
1071 Added time key type.
1072 Eliminated multigraph count in DescribeKeys if count is 0.
1073 Added date key type, with date format info in keyinfo and init,
1074 and -f flag for setting date format.
1075 Added -o flag for making key optional instead of using ? before key spec.
1076 Eliminated option of writing on file.
1077
1078 1994-03-10 Bill Poser version 4.13
1079 Eliminated dump of sort order in log, which was once useful for
1080 debugging but has little use now.
1081
1082 1994-03-03 Bill Poser version 4.12
1083 Fixed bug in DescribeKeys when sorting on whole record.
1084
1085 1994-02-08 Bill Poser version 4.11
1086 Now allow numeric key field specification to be negative,
1087 interpretated as counting from end of record.
1088
1089 1994-01-20 Bill Poser version 4.10
1090 Now allocate MapTable dynamically, when needed, saving a fair
1091 amount of space when a key does not use any multigraphs.
1092 Added log entries regarding dynamic memory usage.
1093 Now allocate numeric keys dynamically. This makes numeric comparisons
1094 very slightly slower and wastes 4 bytes per record per key for numeric
1095 keys, but it saves 4 bytes per record per key for textual keys,
1096 which are far more common in the intended applications of this
1097 program.
1098
1099 1993-12-21 Bill Poser version 4.9
1100 Reserved highest rank table slot for default key, reducing
1101 number of multigraphs permitted by one.
1102 Added copy of command line to log.
1103 Fixed small bug in exclusion code.
1104
1105 1993-12-19 Bill Poser version 4.8
1106 Fixed bug in default key for records without optional key.
1107 Changed reports of records processed and written to in place.
1108
1109 1993-11-28 Bill Poser version 4.7
1110 Inlined comparisons, saving a little code space and maybe some time.
1111
1112 1993-11-27 Bill Poser version 4.6
1113 Reduced size of each record slightly (typically 4 bytes) by making
1114 file position and text pointer a union.
1115
1116 1993-11-27 Bill Poser version 4.5
1117 Rescinded replacement of lexicographic keys with ranks, which was
1118 buggy and not worth fixing since the speedup was so small.
1119 Now use quicksort instead of shellsort for large numbers of records.
1120 Added -a flag to warn that input is almost in order, in which case
1121 shellsort is used for any number of records.
1122 Also changed report of time per record to integral milliseconds.
1123
1124 1993-10-28 Bill Poser version 4.4
1125 Replaced lexicographic keys with ranks.
1126
1127 1993-10-27 Bill Poser version 4.3
1128 Added reversal of key field, for producing reverse dictionaries.
1129 Changed max record flag to -M so as to use -R for this.
1130
1131 1993-07-05 Bill Poser version 4.2
1132 Made key code type compile time option. If only 7-bit ASCII
1133 input is desired and 128 multigraphs are sufficient, msort can
1134 be compiled with SEVENBIT defined and will use half the space for
1135 textual keys.
1136
1137 1993-07-04 Bill Poser version 4.1
1138 Modified format of elapsed time report and moved into library functions.
1139
1140 1993-06-26 Bill Poser version 4.0
1141 Added exclusions.
1142 Reduced other memory usage, mostly by allocating RankTables only
1143 as needed.
1144
1145 1993-06-20 Bill Poser version 3.3
1146 Sent info on flags, defaults, and limits to log as well as stdout.
1147 Sent ill-formed regexp to log, and copy of beginning of overlong
1148 record.
1149 Fixed bug in bug fix in version 3.2 in report of ill-formed keys.
1150
1151 1993-06-15 Bill Poser version 3.1
1152 Add information to log.
1153 Improved formatting of summary of keys.
1154
1155 1993-06-19 Bill Poser version 3.2
1156 Fixed bug that led to incorrect reports of ill-formed keys
1157 on external sorts.
1158
1159 1993-06-12 Bill Poser version 3.0
1160 Implemented optional keys.
1161 Added information to log.
1162 Fixed bug fixed in version 1.6 and re-introduced in version 2.2
1163 that prevented a string from sorting before a string of
1164 which it is a prefix.
1165
1166 1993-06-10 Bill Poser version2.4
1167 Improved correspondance of output to input.
1168 Fixed bugs in input routines.
1169
1170 1993-05-30 Bill Poser version2.3
1171 Made minor modifications to PrintDefaults and PrintFlags.
1172
1173 1993-05-19 Bill Poser version 2.2
1174 Added backslash escapes to sort order file, -d and -r flags.
1175 Added logging to msort.log.
1176 Arranged for characters for which no rank is specified to
1177 be ranked after all others, in ASCII order.
1178
1179 1993-05-17 Bill Poser version 2.1
1180 Added specification of record separator.
1181
1182 1993-05-17 Bill Poser version 2.0
1183 Added subsorts.
1184
1185 1993-04-24 Bill Poser version 1.6
1186 Fixed bug in ConstructSortOrder. Strings are now guaranteed
1187 to sort after prefixes to them.
1188
1189 1993-04-16 Bill Poser version1.5
1190 Fixed bug in ConstructSortOrder. Spaces are now handled properly.
1191
1192 1993-04-12 Bill Poser version 1.4
1193 Changed tag specification from strings to regular expressions.
1194 Improved formatting of record processing progress report.
1195 Added progress report on write-out of sorted records.
1196
1197 1993-04-11 Bill Poser version 1.3
1198 Eliminated limitation on number of records.
1199
1200 1993-04-10 Bill Poser version 1.2
1201 Added listing of multigraphs.
1202 Added numerical sort option.
1203 Rationalized flags.
1204
1205 1993-04-05 Bill Poser version 1.0
1206