Remove ASR_MEASURE_PERFORMANCE, it doesn't work anyway.
[dragonfly.git] / contrib / bc / ChangeLog
1 Wed Sep 27 17:19:48 2000  Phil Nelson  <phil@cs.wwu.edu>
2
3         * doc/bc.texi: Added new file. Mainly translated from bc.1
4                        by Brian Youmans.
5           doc/bc.1: Minor changes made as part of reviewing bc.texi.
6
7 Wed Sep 20 11:45:00 2000  Phil Nelson  <phil@cs.wwu.edu>
8
9         * bc/bc.y:  Added a comment on the meanings of lvals.
10
11 Wed Sep 13 11:40:24 2000  Phil Nelson  <phil@cs.wwu.edu>
12
13         * bc/main.c: add --interactive to long options.
14           bc/bc.1: add -i/--interactive to doc.
15           MANY: Update FSF address and Phil's e-mail.
16         
17 Tue Sep 12 13:58:16 2000  Phil Nelson  <phil@cs.wwu.edu>
18
19         * NEWS: update for recent changes.
20           bc/bc.y: remove required parens around return expression.
21           doc/bc.1: update for recent changes.
22
23 Fri Sep  8 10:20:01 2000  Phil Nelson  <phil@cs.wwu.edu>
24
25         * bc/Makefile.am, dc/Makefile.am, lib/Makefile.am:
26             Compile with unsigned characters.
27           bc/main.c: Add --help option.
28           bc/scan.l: Print illegal, non-printable characters in octal.
29
30 Fri Sep  8 09:36:54 2000  Phil Nelson  <phil@cs.wwu.edu>
31
32         * bc/bc.y: Allow more newlines in function definitions.
33           bc/proto.h: Don't prototype main.
34
35 Fri Sep  1 16:09:50 2000  Phil Nelson  <phil@cs.wwu.edu>
36
37         * bc/bc.y: Spelling correction
38           bc/execute.c: Correct expressions for multi-byte names.
39           bc/load.c: Add parens for correct casting.
40           doc/bc.1: Typos.
41           Above fixes pointed out by kwzh@gnu.org (Karl Heuer).
42
43 Tue Aug 29 23:03:30 PDT 2000 Phil Nelson  <phil@cs.wwu.edu>
44
45         * lib/testmul.c: #ifdef out a declaration matching #ifdef out
46           code.
47
48 Mon Jul 31 07:01:42 2000 Ken Pizzini <ken@gnu.org>
49
50         * dc/numeric.c: use of the "n" command can cause a number to be printed
51           without a trailing newline, which would cause the column counter to
52           fail to be reset and result in inappropriately wrapped numeric outputs.
53           Fixed by always clearing the column counter before outputting each number.
54
55         * dc/stack.c: if a stack is used without ever using the correspondingly
56           named register, it is perfectly legitimate for the register to be
57           uninitialized; added an "else if" to handle this case without aborting.
58
59         * dc/eval.c: updated the comment explaining the restrictions
60           on the | command to better reflect reality.
61
62         * doc/dc.texi: update the FSF office address in the copyright notice
63
64 Thu Jul 13 18:13:00 2000 Phil Nelson  <phil@cs.wwu.edu>
65
66         * README: note --with-libedit configure parameter.
67
68 Tue Jun 20 22:52:10 2000  Phil Nelson  <phil@cs.wwu.edu>
69
70         * bc/bcdefs.h: Include <readline/history.h> to quiet warnings. 
71
72         * configure.in: make --with-readline and --with-libedit work correctly.
73
74         * Makefile.am: use $(MAKE) instead of directly calling make.
75
76         * lib/testmul.c: Update to use bc_ on all number.c routines.
77
78 Sat Jun 10 22:44:29 2000  Phil Nelson  <phil@cs.wwu.edu>
79
80         * bc/Makefile.am: Add scan.c to maintainer-clean target.
81
82         * acconfig.h configure.in stamp-h.in bc/Makefile.am bc/execute.c
83           bc/fix-libmath_h bc/global.c bc/load.c bc/main.c bc/storage.c:
84             Remove long string for libmath.  Clean up for compiler errors.
85
86         * dc/numeric.c: Correct parameter name.
87
88 Wed May 10 15:51:16 2000  Phil Nelson  <phil@cs.wwu.edu>
89
90         * {bc,doc,dc,lib}/Makefile.am: Add Makefile.in to maintainer-clean.
91
92         * bootstrap.sh: Added script to run the auto* tools.
93
94         * Imported all into CVS tree.
95
96 Sun 2000-05-07  Phil Nelson  <phil@cs.wwu.edu>
97
98         * bc/Makefile.am, dc/Makefile.am, lib/Makefile.am: Add -Wall to CFLAGS.
99
100         * bc/{execute.c,proto.h,storage.c,util.c}, dc/numeric.c: Changes for
101           -Wall and for name changes in lib/number.c.  (Added bc_ to several
102           routine.  Updated copyright notice.)
103
104         * h/number.h, lib/number.c:  Now comes from bcmath library which is  
105           distributed in a different place. 
106
107 Wed Mar 29 17:47:34 2000  Phil Nelson  <phil@cs.wwu.edu>
108
109         * bc/{bc.y,bcdefs.h,global.h,main.c,proto.h,scan.l,storage.c}:
110           Added BSD libedit support.  Generic support for both where possible.
111           Fixed bugs in readline support noticed during libedit addition.
112           Works with NetBSD-1.4.1 libedit.
113         * doc/bc.1: Documented libedit addition.
114
115 Wed Mar 29 10:20:18 2000  Phil Nelson  <phil@cs.wwu.edu>
116
117         * FAQ: Added this file.
118         * Makfile.am: Added FAQ to distribution
119
120 Tue Mar 28 13:52:35 2000  Phil Nelson  <phil@cs.wwu.edu>
121
122         * lib/number.c, h/number.h: Moved definitions so 
123           number.c/number.h is a stand-alone "library".
124           Changed definition of out_num to not reference a global.
125         * lib/testmul.c: updated #includes for number.h changes.
126         * h/{bcdefs.h,const.h,global.h,proto.h} moved to
127           bc where they really belong.
128         * bc/execute.c: Changed calls to out_num for correctness.
129         * dc/numeric.c: Changed calls to out_num for correctness,
130           include only number.h now and not all the other junk.
131         * configure.in, acconfig.h: Start of support for BSD libedit,
132           added --with-pkg for NetBSD /usr/pkg tree.
133
134 Tue Mar 28 11:20:00 2000  Phil Nelson  <phil@cs.wwu.edu>
135
136         * Test/{exp.b,fact.b,jn.b,mul.b,raise.b}: Tweeks on the tests
137           run to do more computation and test the recursive multiply.
138         * bc/scan.l: Removed a printf('\r') that was unneeded.
139
140 Mon Mar 27 14:00:00 2000  Phil Nelson  <phil@cs.wwu.edu>
141
142         * NEWS: Updated for 1.06.
143         * lib/number.c, h/number.h: Fixed bugs in recursive multiply.
144                 Changed these files to be under the LGPL.
145         * Tests/jn.b: Added more tests.
146         * lib/Makefile.am: Only generate a timed version of number.o if
147                 requested.
148         * README: Updated with information on how to generate a timed
149                 version of number.o.
150         * h/version.h: Updated copyright and version number for dc.
151
152 Thu Mar 16 14:01:45 2000  Phil Nelson  <phil@cs.wwu.edu>
153
154         * doc/bc.1, doc/dc.1, doc/dc.texi: Changed bug reporting address
155           to bug-bc@gnu.org to update with what we hope will be reality.
156
157 Tue Feb  8 08:54:19 2000  Phil Nelson  <phil@cs.wwu.edu>
158
159         * doc/bc.1, bc/util.c: Removed "multiply digits"
160           limit due to new recursive algorithm that doesn't
161           have those limits.
162
163 Tue Feb  8 08:47:05 2000  Phil Nelson  <phil@cs.wwu.edu>
164
165         * lib/Makefile.am, lib/testmul.c, lib/number.c, Makefile.am:
166           Finally got a resonable version of the program
167           to test the crossover between non-recursive and
168           recursive multiply algorithms.  Added to distribution
169           and build process.  Does increase build time by 
170           about 10 minutes.
171
172 Wed Oct  6 13:28:59 1999  Phil Nelson  <phil@cs.wwu.edu>
173
174         * lib/Makefile.am: Added rules to allow DEFSADD definitions.
175
176 Sat Oct  2 19:59:51 1999  Phil Nelson  <phil@cs.wwu.edu>
177
178         * bc/libmath.b: Correctly do the cosine accuracy.
179
180 Fri Oct  1 12:41:51 1999  Phil Nelson  <phil@cs.wwu.edu>
181
182         * lib/number.c: Increase accuracy of computing raise.
183           Also turn off use of recursive multiply routines
184           until furthur testing.
185         * bc/libmath.b: Increase accuracy of cosine.
186         * bc/Makefile.am: Remove -lfl from items to make.
187
188 Wed Jul 28 10:29:28 1999  Phil Nelson  <phil@cs.wwu.edu>
189
190         * bc/scan.l:  rl_len from char to int.  (From FreeBSD
191           bug tracking system and Nick Hibma <nick.hibma@jrc.it>)
192
193 Tue Jun 22 08:00:28 1999  Phil Nelson  <phil@cs.wwu.edu>
194
195         * lib/number.c: Rewrote bc_multiply to use a faster
196           algorithm.  Old code not removed yet.
197
198 Mon Jun 21 03:08:02 1999  Phil Nelson  <phil@cs.wwu.edu>
199
200         * h/version.h: Updated version number to 1.06.
201           bc/bc.y: Corrected bug in for statement, not popping.
202           bc/execute.c: Improved stack dump/instruction tracing.
203
204 Tue Jun 15 22:30:42 1999  Phil Nelson  <phil@cs.wwu.edu>
205
206         * configure.in: Updated bc version to 1.06.
207
208 Tue Jun 15 22:27:44 1999  Phil Nelson  <phil@cs.wwu.edu>
209
210         * h/bcdefs.h, h/const.h, bc/execute.c, bc/load.c, bc/storage.c,
211           bc/util.c: Removed segmented function storaged.  Now
212           dynamically expands (by doubling, starting at 1024 bytes)
213           to allow arbitrary sized functions.
214
215 Thu Jun 10 22:33:44 1999  Phil Nelson  <phil@cs.wwu.edu>
216
217         * bc/libmath.b: change scaling in computation of j(n,x) so
218           it correctly computes the value.
219
220 Wed Jun 10 10:10:10 1998 Release of bc-1.05a.
221
222 Fri Apr 17 10:40:59 1998  Phil Nelson  <phil@cs.wwu.edu>
223
224         * bc/main.c: Enable readline only if interactive.
225
226 Thu Apr 16 16:49:22 1998  Phil Nelson  <phil@cs.wwu.edu>
227
228         * bc/configure.in: Tweeking of AM_PROG_LEX and associated 
229           special case goo for solaris.
230
231 Sat Mar 28 21:43:18 1998  Phil Nelson  <phil@cs.wwu.edu>
232
233         * bc/Makefile.am: Added "YFLAGS = -d" to get bc.h to build properly.
234
235 Mon Mar  9 12:54:42 PST 1998  Ken Pizzini <ken@halcyon.com>
236
237         * doc/dc.texi, doc/dc.1: correct some documentation bugs.
238
239 Sun Mar  8 23:56:24 PST 1998  Ken Pizzini <ken@halcyon.com>
240
241         * dc/numeric.c: eliminate superfluous variable from dc_dump_num();
242           annotate unused parameters in dc_add() and dc_sub().
243
244         * h/version.h: change dc version number to 1.2 for release.
245
246 Sun Mar  8 21:13:50 1998  Phil Nelson  <phil@cs.wwu.edu>
247
248         * bc/main.c: Applied patch from Ken Pizzini to force line
249           mode buffering on stdout.
250
251 Tue Jan  6 09:15:04 PST 1998  Ken Pizzini <ken@halcyon.com>
252
253         * h/version.h: dc is now up to version 1.1.5.
254
255         * dc/eval.c, dc/numeric.c, doc/dc.texi, doc/dc.1: once again
256           changed the behavior of the 'P' command with a numeric argument
257           to make it more general.  It now dumps out the *whole* number
258           (or rather, the whole of its positive integer portion) as a
259           byte stream.  (For small values this is still the same as 'aP'.)
260
261         * dc/dc-proto.h, dc/dc.h, dc/eval.c, dc/misc.c, dc/numeric.c,
262           dc/stack.c, dc/string.c: Changed most uses of dc_boolean to
263           either dc_discard or dc_newline, and instances of DC_TRUE and
264           DC_FALSE to appropriate instances of DC_TOSS, DC_KEEP, DC_NONL,
265           or DC_WITHNL so that the code self-documents a little better.
266
267 Sun Jan  4 15:39:46 PST 1998  Ken Pizzini <ken@halcyon.com>
268
269         * dc/eval.c, doc/dc.texi, doc/dc.1: Changed the functionality
270           of the 'P' command, and added the 'n' command.  Due to
271           a quirk of the implementation of traditional dc, some
272           people have come to expect that the 'P' command on a
273           numeric argument in the range of 1 to 99 should output
274           the corresponding character, despite the fact that this
275           usage can have very weird results for numbers outside
276           that range.  This functionality is why the 'a' command
277           was introduced last March, but people really want it to
278           "just work" without needing to use the 'a' command.
279           Bowing to this demand, the 'P' command now does the
280           equivalent of "aP" if the argument is numeric, and the
281           'n' command has been added to support the previous
282           functionality of the 'P' command.
283
284         * dc/misc.c, dc/eval.c, dc/stack.c, dc/dc-proto.h:
285           Changed prototype for dc_print().  It now additionally
286           takes two flags, newline_p and discard_p, which it
287           passes through to dc_out_num() and dc_out_str() as
288           needed.
289
290         * h/version.h: dc is now up to version 1.1.4.
291
292 Sat Sep 27 13:48:53 1997  Ken Pizzini <ken@halcyon.com>
293
294         * h/version.h: dc is now up to version 1.1.3.
295
296         * dc/stack.c, dc/array.c, dc/dc-proto.h, doc/dc.texi, doc/dc.1:
297           It has come to my attention that, though undocumented,
298           traditional dc stacked its arrays in parallel with the
299           stacking of simple registers.  I have now duplicated
300           this functionality.
301
302         * dc/dc.c, configure.in: line-buffer dc's output if setvbuf()
303           is supported.  This was requested to simplify using dc as
304           an inferior process under emacs.
305
306 Fri Sep 26 19:56:15 1997  Ken Pizzini <ken@halcyon.com>
307
308         * dc/dc.c: fixed bug reporting address for --help.
309
310         * doc/dc.1, doc/dc.texi: corrected documentation of the maximum
311           admissible input base.
312
313         * doc/dc.texi: corrected sample code equivalence for the | command.
314
315         * lib/number.c: added a warning for non-zero scale in the base
316           for bc_raisemod().
317
318 Fri Sep 26 18:15:31 1997  Ken Pizzini <ken@halcyon.com>
319
320         * dc/eval.c, doc/dc.1, doc/dc.texi: added !=, !<, and !> commands.
321
322         * dc/eval.c: eliminated double-free in 'a' command.
323
324         * dc/dc.c: changed placment of check for filename "-" so that
325          "-f -" will work.
326
327         * h/version.h: updated dc version to 1.1.2.
328
329 Thu Sep 18 17:41:10 1997  Ken Pizzini <ken@halcyon.com>
330
331         * dc/eval.c: fixed off-by-one error for Q and q commands.
332
333         * dc/dc.c: added missing f: to third argument of getopt().
334
335         * h/version.h: updated dc version to 1.1.1.
336
337 Thu May 22 08:24:08 1997  Phil Nelson  <phil@cs.wwu.edu>
338
339         * lib/number.c(bc_sqrt): Fixed a bug that computed 0 for sqrt
340           of most numbers less than .000001.
341
342 Thu May  1 10:41:38 1997  Phil Nelson  <phil@cs.wwu.edu>
343
344         * Test/timetest: change path to bc executable.
345
346 Wed Apr 30 12:00:00 1997  Phil Nelson  <phil@cs.wwu.edu>
347
348         * Froze bc-1.04, started new directory for bc-1.05.
349           Fixes to bc-1.04 will be distributed as bc-1.05.
350
351 Mon Apr 21 14:57:14 1997  Phil Nelson  <phil@cs.wwu.edu>
352
353         * bc/scan.l: Changed rules for single line comment to work
354           with lex as well as flex.  Also, do not include \n in the
355           comment.
356
357         * doc/bc.1: Clarified the single line comment and that \n
358           is processed outside of the comment.
359
360 Sun Apr 20 22:21:30 1997  Phil Nelson  <phil@cs.wwu.edu>
361
362         * bc/scan.l: Added rules for a single line comment starting
363           with the # character.
364
365         * doc/bc.1: Documented the single line comment.
366
367         * bc/Makefile.am: Added DISTCLEANFILES for proper clean up.
368
369 Sat Apr 19 22:08:05 1997  Phil Nelson  <phil@cs.wwu.edu>
370
371         * dc/Makefile.am: Removed file from distribution list.
372
373         * h/version.h: Updated dc version to 1.1.
374
375 Fri Apr 18 16:43:04 1997  Phil Nelson  <phil@cs.wwu.edu>
376
377         * lib/number.c (bc_add, bc_sub) Added 1 to the length
378           of the memset call to make sure it zeroed all the
379           storage.
380
381 Fri Apr 18 13:58:56 1997  Phil Nelson  <phil@cs.wwu.edu>
382
383         * configure.in: Tweeks to get things right.  Not sure if things
384           changed much.  Still working with autoconf/automake to do
385           the right thing.
386
387 Wed Apr 16 16:49:17 1997  Phil Nelson  <phil@cs.wwu.edu>
388
389         * bc/main.c (main): Changed processing of BC_ENV_ARGS.
390
391         * bc/main.c (parse_args): Removed "start" parameter.
392
393 Tue Apr 15 13:21:28 1997  Phil Nelson  <phil@cs.wwu.edu>
394
395         * acconfig.h: Included support for PACKAGE and VERSION.
396
397         * configure.in: More tweeks for automake support.
398
399         * h/number.h: Improve definition of MIN and MAX.
400
401         * doc/bc.1: Changed copyright, tweeked other text, added
402           e-mail address for bugs.
403
404         * doc/dc.1: Added copyright and GPL license information,
405           Changed a few .SH formats.
406
407 Fri Apr 11 16:14:42 1997  Phil Nelson  <phil@cs.wwu.edu>
408
409         * Makefile.am configure.in doc/Makefile.am lib/Makefile.am
410           bc/Makefile.am bc/bc.y dc/Makefile.am: Changes to accomodate
411           automake-1.1n (pre-release version of automake 1.2).
412
413         * bc/bc.y bc/sbc.y: Changes to make sure tokens are numbered the 
414           same in bc/bc.h and bc/sbc.h.
415
416         * bc/scan.l: Changes for automake's naming convention.
417
418         * NEWS: Fixed a typo.
419
420 Thu Apr 10 14:42:55 1997  Phil Nelson  <phil@cs.wwu.edu>
421
422         * bc/{execute.c, global.c, libmath.b, load.c, main.c, sbc.y
423           scan.l, storage.c, util.c}:  Changed copyright comment and
424           added 1997 to copyright years.
425
426         * h/{bcdefs.h, const.h, global.h, number.h proto.h, version.h}:
427           Changed copyright comment and added 1997 to copyright years.
428
429         * h/version.h: Changed bc version to 1.04.
430
431         * lib/number.c: Changed copyright comment and added 1997 to 
432           copyright years.
433
434         * lib/vfprintf.c: Noted that this was only for minix.
435
436         * NEWS, README: README is now comp.sources.reviewed readme only.
437           NEWS now lists changes from version to version.
438
439 Thu Apr 10 13:41:56 1997  Phil Nelson  <phil@fawn.cs.wwu.edu>
440
441         * Makefile.am: Removed FIXME stuff.
442
443 Thu Apr 8 13:39:53 1997  Phil Nelson  <phil@cs.wwu.edu>
444
445         * bc/Makefile.am: Remove files that should not be distributed. 
446
447 Mon Apr  7 17:14:28 1997  Phil Nelson  <phil@cs.wwu.edu>
448
449         * Makefile.am: Removed Misc directory from distribution.
450
451 Mon Apr  7 16:16:01 1997  Phil Nelson  <phil@cs.wwu.edu>
452
453         * bc/sbc.y: Corrected use of nextarg().
454
455 Tue Mar 25 19:32:28 1997  Ken Pizzini  <ken@halcyon.com>
456
457         * dc/eval.c, dc/misc.c, dc/stack.c, dc/string.c,
458           dc/dc.h, dc/dc-proto.h, dc/dc.c, dc/numeric.c,
459           doc/dc.texi: updated years in copyright
460           notices.
461
462         * dc/dc.1: updated last-revision date.
463
464 Tue Mar 25 16:35:46 1997  Ken Pizzini  <ken@halcyon.com>
465
466         * lib/number.c: give a run-time warning in bc_raisemod()
467           if the modulus does not appear to be an integer.
468
469         * doc/dc.texi, doc/dc.1: documented a warning against
470           the use of the new | command in conjunction with a
471           non-integral modulus.
472
473 Tue Mar 25 15:36:04 1997  Ken Pizzini  <ken@halcyon.com>
474
475         * dc/string.c: dc_out_str() updated to use fwrite()
476           instead of printf(), to allow for the existence of
477           a NUL character in the string.
478
479 Tue Mar 25 13:42:51 1997  Ken Pizzini  <ken@halcyon.com>
480
481         * doc/dc.texi, doc/dc.1: added documentation for new | command.
482
483 Tue Mar 25 13:19:55 1997  Ken Pizzini  <ken@halcyon.com>
484
485         * dc/dc-proto.h: added prototype for dc_triop().
486
487 Tue Mar 25 12:00:38 1997  Ken Pizzini  <ken@halcyon.com>
488
489         * lib/number.c: add bc_modexp() modular-exponentiation function.
490
491         * h/proto.h: add prototypes for bc_modexp() and bc_divmod().
492
493 Tue Mar 25 09:07:13 1997  Ken Pizzini  <ken@halcyon.com>
494
495         * doc/dc.texi, doc/dc.1: updated documentation with the
496           new command-line options.
497
498         * doc/dc.texi, doc/dc.1: updated documentation with the
499           new '~', 'r', and 'a' commands.
500
501         * dc/dc.c: added bug reporting information to --version text.
502
503 Mon Mar 24 19:37:30 1997  Ken Pizzini  <ken@halcyon.com>
504
505         * lib/number.c: added new "bc_divmod" function.
506
507         * dc/numeric.c: added new "dc_divrem" glue function to bc_divmod.
508
509         * dc/stack.c: added new "dc_binop2" function.
510
511         * dc/dc-proto.h: added new prototypes for dc_divrem() and dc_binop2().
512
513         * dc/eval.c, dc/numeric.c: add new '~' command which
514           returns both the quotient and remainder from division.
515
516 Mon Mar 24 18:13:42 1997  Ken Pizzini  <ken@halcyon.com>
517
518         * dc/eval.c: Add new 'r' (reverse top two stack elements) command.
519
520 Mon Mar 24 17:47:02 1997  Ken Pizzini  <ken@halcyon.com>
521
522         * dc/misc.c: split out the main() related functions into
523           a seperate dc/dc.c file.
524
525         * dc/Makefile.am: updated to reflect this split.
526
527 Sat Mar  1 04:57:54 1997  Ken Pizzini  <ken@halcyon.com>
528
529         * dc/misc.c: added "--file" option.
530
531 Sat Mar  1 02:13:06 1997  Ken Pizzini  <ken@halcyon.com>
532
533         * dc/eval.c: fixed bug of an excess increment in
534           dc_evalstr()'s DC_COMMENT case.  (Probably would
535           never show up in practice, but did violate the
536           letter of the C Standard.)
537
538         * renamed dc/number.c to dc/numeric.c, to avoid
539           confusion with lib/number.c.
540
541 Thu Feb 27 19:45:45 1997  Ken Pizzini  <ken@halcyon.com>
542
543         * dc/string.c, dc/dc.h: changed implementation of dc_str
544           type from a void * to a type which is only completed
545           in dc/string.c.  No functional change, just prettier code.
546
547 Thu Feb 27 18:25:19 1997  Ken Pizzini  <ken@halcyon.com>
548
549         * Cleaned up Makefile.am files.
550
551 Thu Feb  6 00:41:02 1997  Ken Pizzini  <ken@halcyon.com>
552
553         * Noticed pre-autoconf vestages (NO_XXX configuration options);
554           fixed to refer to autoconf HAVE_XXX definitions.
555
556         * The definition of BC_XXX values in h/const.h might
557           conflict with values of the same name from <limits.h>;
558           fixed to override without spewing warnings.
559
560         * Added check for ptrdiff_t to configure.in; removed
561           special ptrdiff_t definition from dc/string.c .
562
563 Wed Feb  5 22:28:37 1997  Ken Pizzini  <ken@halcyon.com>
564
565         * Only compile (guts of) lib/vfprintf.c if system does
566           not have its own version.
567
568 Wed Feb  5 22:26:16 1997  Ken Pizzini  <ken@halcyon.com>
569
570         * Changed dc/misc.c source to use standard GNU option
571           parsing routine (instead of special-case code).
572
573         * Added "-e" option to dc.
574
575         * Bumped dc version number to 1.0.4.
576
577 Wed Feb  5 22:08:06 1997  Ken Pizzini  <ken@halcyon.com>
578
579         * rearranged source layout (added subdirectory structure);
580           removed "dc-" prefix from dc C source in its new home.
581
582         * merged bc's "version.h" and dc's "dc-version.h" files
583           into h/version.h; patched dc/misc.c to refer to new
584           DC_VERSION macro name.
585
586         * Tweaked configure.in in anticipation of using automake.
587
588 Wed Jul 24 16:27:20 1996  Phil Nelson  <phil@cs.wwu.edu>
589
590         * number.c (out_num): Move free of t_num to proper place.
591
592 Mon Jun  3 00:31:10 1996  Phil Nelson  <phil@cs.wwu.edu>
593
594         * number.c: (bc_sqrt, is_near_zero) Was hanging in an infinite
595           loop on sqrt(.9999).  Rewrote to take difference.  New routine
596           is_near_zero to check for one digit off.
597
598 Thu Feb 22 12:14:38 1996  Phil Nelson  <phil@cs.wwu.edu>
599
600         * dc-eval.c (dc_func): Added the 'a' (number to ascii character)
601           command.
602
603 Thu Feb 22 11:55:15 1996  Phil Nelson  <phil@cs.wwu.edu>
604
605         * dc-eval.c: (Changes from Ken) Changes dealing with stdin_lookahead
606           and peekc.
607
608         * dc-misc.c: (Changes from Ken) Changes in option processing.
609
610         * dc-version.c: (Change from Ken) Version is 1.0.2.
611
612 Mon Oct  9 15:40:06 1995  Phil Nelson  <phil@cs.wwu.edu>
613
614         * execute.c (execute): Add a pop to 'W' and 'P' codes.  Otherwise,
615           the stack continues to grow.
616
617         * number.c (out_num): Free all bc_nums used.
618
619 Thu Jun 29 00:35:57 1995  Phil Nelson  <phil@cs.wwu.edu>
620
621         * bc.1: Added information about long options and use of the
622           readline library.
623
624 Wed Jun 28 21:03:45 1995  Phil Nelson  <phil@cs.wwu.edu>
625
626         * scan.l: rl_input: detect EOF.
627
628 Wed Jun 28 19:03:51 1995  Phil Nelson  <phil@cs.wwu.edu>
629
630         * Makefile.in: fbc target, changed $(LEXLIB) => $(LIBS)
631
632 Wed Jun 28 01:33:07 1995  Phil Nelson  <phil@cs.wwu.edu>
633
634         * acconfig.h, bc.y, scan.l, storage.c, util.c, configure.in:
635           Improved readline support with a new pseudo variable "history" 
636           that controls the number of history lines available.
637           Also removed "optional" history.
638
639 Wed Jun 28 01:03:52 1995  Phil Nelson  <phil@cs.wwu.edu>
640
641         * getopt.h, getopt.c, getopt1.c: Imported from glibc-1.09
642           to allow long option processing.
643
644         * main.c (parse_args): Make it use long arguments.
645
646         * global.h: Change option flag variables from "char" to "int"
647           to allow long_arguments easy access to the variables.
648
649         * Makefile.in: Add getopt.h, getopt.c, and getopt1.c in the
650           proper places in the Makefile.
651
652 Fri Jun 23 12:00:16 1995  Phil Nelson  <phil@cs.wwu.edu>
653
654         * scan.l, main.c (main), acconfig.h, configure.in:
655           Added support for readline input on stdin.
656
657 Thu Jun 22 20:08:57 1995  Phil Nelson  <phil@cs.wwu.edu>
658
659         * bc.1: Change documentation on POSIX array parameter support.
660
661 Fri Apr  7 12:29:28 1995  Phil Nelson  <phil@cs.wwu.edu>
662
663         * main.c (parse_args): change "char ch" to "int optch" with
664           related changes.
665
666 Thu Mar 23 04:11:00 1995  Phil Nelson  <phil@cs.wwu.edu>
667
668         * bc.1: Update documentation to include new -q
669           option and the environment variables.
670
671 Thu Mar 23 03:30:38 1995  Phil Nelson  <phil@cs.wwu.edu>
672
673         * bcdefs.h, global.h, main.c, util.c, bc.y: Reworked
674           argument processing to allow for getting arguments
675           from the environment and the command line.  Added
676           a new mechanism to access file names for opening
677           and for error messages.  Also added a "quiet"
678           option to turn off the welcome banner.
679
680 Thu Mar 23 03:12:11 1995  Phil Nelson  <phil@cs.wwu.edu>
681
682         * util.c: Corrected a comment.
683
684 Tue Mar 21 13:36:24 1995  Phil Nelson  <phil@cs.wwu.edu>
685
686         * bc.y: Added "opt_newline" to allow more newlines
687           in non-POSIX mode.
688
689 Tue Mar 21 09:38:28 1995  Phil Nelson  <phil@cs.wwu.edu>
690
691         * execute.c, main.c, util.c: Add support for user
692           defined line length, "correct POSIX line length",
693           no breaking of strings in std_only mode.  This
694           included adding a new function "out_schar" to
695           util.c.  Also removed "if (interactive)" before
696           all fflushes.
697
698 Tue Mar 21 09:12:16 1995  Phil Nelson  <phil@cs.wwu.edu>
699
700         * global.h: Added new variable "line_size". Cleaned up
701           some definitions by adding comments.
702
703 Mon Mar 20 23:33:01 1995  Phil Nelson  <phil@cs.wwu.edu>
704
705         * proto.h: Define getopt only if no unistd.h file.
706
707 Mon Mar 20 23:23:34 1995  Phil Nelson  <phil@cs.wwu.edu>
708
709         * number.c, proto.h, execute.c, storage.c, dc-number.c:
710           Changes to bc_add and bc_sub parameters to allow for
711           different scale results than were possible.  This is
712           for correct implementation of modulo.  All calls were
713           updated.
714
715 Mon Mar 20 19:26:06 1995  Phil Nelson  <phil@cs.wwu.edu>
716
717         * sbc.y: Removed second parameter on calls to arg_str to match
718           real function.
719
720 Tue Feb 28 14:30:18 1995  Phil Nelson  <phil@cs.wwu.edu>
721
722         * Makefile.in: Change realclean to maintainer-clean.  Added warning. 
723
724 Mon Feb 27 17:08:24 1995  Phil Nelson  <phil@cs.wwu.edu>
725
726         * number.c: Change output to conform with POSIX standard for zero
727           only when the -s flag is given.  Otherwise it does the tradational
728           thing.
729
730         * dc-misc.c: Add the "std_only" flag, always set to zero.  This is
731           needed due to the above change.
732
733 Tue Nov 29 15:18:20 1994  Phil Nelson  <phil@cs.wwu.edu>
734
735         * bc.1: Remove the "then" keyword in the if statement documentation.
736
737 Mon Nov 28 16:50:25 1994  Phil Nelson  <phil@cs.wwu.edu>
738
739         * bc.1: Fixed a font change error.
740
741         * Makefile.in: Added missing \ in two targets.
742
743 Tue Nov 22 11:09:08 1994  Phil Nelson  <phil@cs.wwu.edu>
744
745         * bc.1: clarified ibase and math routines.
746
747 Thu Nov  3 14:09:31 1994  Phil Nelson  (phil@cs.wwu.edu)
748
749         * Makefile.in: added targets uninstall, installdirs and modified
750           other targets to get makes in a directory other than srcdir to
751           work.
752
753         * configure.in: added shell commands to get configure to work
754           correctly in directories other than srcdir.
755
756 Wed Nov  2 10:18:19 1994  Phil Nelson  (phil@cs.wwu.edu)
757
758         * bc.1 bc.y bcdefs.h const.h execute.c global.c global.h load.c
759           main.c number.c number.h proto.h sbc.y scan.l storage.c util.c:
760           updated copyright to 1994.
761
762         * version.h: updated version number and copyright date.
763
764         * Makefile.in, configure.in, Install: updated for use with 
765           autoconf-2.0 and install-sh.  Changed target install a bit.
766
767         * install-sh: Included this file from the autoconf-2.0
768           distribution to have configure run without errors.
769
770         * README: updated to version 1.03.
771
772 Mon Oct 31 10:26:28 1994  Phil Nelson  (phil@cs.wwu.edu)
773         
774         * Added Ken Pizzini's dc implementation that uses bc numeric
775           routines.  The following files have been added:
776           dc-Concerns   dc-array.c   dc-eval.c   dc-misc.c    dc-number.c 
777           dc-proto.h    dc-regdef.h  dc-stack.c  dc-string.c  dc-version.h
778           dc.1          dc.h         dc.texinfo
779
780         * dc-array.c: Added a conditional include of stdlib.h to get
781           size_t defined on my SunOS 4.1.3 system.
782
783         * configure.in: Added support for dc.
784
785         * Makefile.in: Added support for dc.  Added rule to make
786           config.h.in.
787
788 Sun Aug  7 15:09:19 1994  Phil Nelson  (phil@cs.wwu.edu)
789
790         * configure.in, Makefile.in, acconfig.h: Add support for autoconf.
791           Removed old Makefile.
792
793 Wed Jul 20 22:46:32 1994  Phil Nelson  (phil@cs.wwu.edu)
794
795         * bc.y: change definition of next_label in function definition.
796           Previous value of 0 caused break to not work.  It is now 1.
797
798 Fri Apr  8 14:16:37 1994  Phil Nelson  (phil@cs.wwu.edu)
799
800         * Makefile: Change the distribution to include libmath.h.dist
801           which is a copy of libmath.h that has the compiled libmath.b.
802
803 Sun Feb 13 01:08:14 1994  Phil Nelson  (phil@cs.wwu.edu)
804
805         * execute.c: Change the string quote characters to be more like
806           C.  \a => alert (bell) \b => backspace and added \q => ".
807
808         * bc.1: Updated information on above changes.
809
810 Wed Oct 27 23:34:40 1993  Phil Nelson  (phil@cs.wwu.edu)
811
812         * Makefile: Changed compress to gzip.  Changed the
813           comment and definition of the DOT_IS_LAST compile option.
814
815         * scan.l: Changed DOT_IS_LAST to NO_DOT_LAST and changed
816           the test so "." is the last variable is standard.
817
818 Wed May 19 15:15:12 1993  Phil Nelson  (phil at cs.wwu.edu)
819
820         * number.c: Fixed output of negative numbers in bases other than
821           base 10.
822
823 Wed Apr 21 11:56:31 1993  Phil Nelson  (phil at cs.wwu.edu)
824
825         * bc.1: Changed Steve Sommars e-mail address.
826
827 Wed Apr 14 12:13:39 1993  Phil Nelson  (phil at cs.wwu.edu)
828
829         * sbc.y: removed leading , on first line.
830
831 Wed Mar 31 16:12:39 1993  Phil Nelson  (phil at cs.wwu.edu)
832
833         * bc.1: Updated segment number for function bodies.
834
835 Thu Mar 11 15:34:34 1993  Phil Nelson  (phil at cs.wwu.edu)
836
837         * Makefile: added version.h to bc.o's dependency list.
838
839 Mon Mar  1 14:00:46 1993  Phil Nelson  (phil at cs.wwu.edu)
840
841         * util.c: (nextarg) changed parameter "val" to be an int.
842
843 Tue Feb 16 10:06:45 1993  Phil Nelson  (phil at cs.wwu.edu)
844
845         * util.c: (call_str, arg_str) added a function call_str that
846           correctly produces the string of argmuent types for a function
847           call.  arg_str produced them in the reverse order.  This
848           eliminated the need for the "comma" argument to arg_str, which
849           was removed.
850
851         * bc.y: changed the calls to arg_str to have only one parameter
852           in the function definition rule and replaced the call to arg_str
853           with call_str in the function call rule.
854
855 Tue Nov 24 17:38:40 1992  Phil Nelson  (phil at cs.wwu.edu)
856
857         * Makefile: Added LEXLIB definitions for use with lex.
858
859 Thu Oct 22 13:43:16 1992  Phil Nelson  (phil at cs.wwu.edu)
860
861         * number.c (bc_raise): Rearranged and added code to speed up
862           the computation by not doing unneeded multiplications.
863
864 Wed Sep 30 10:43:52 1992  Phil Nelson  (phil at cs.wwu.edu)
865
866         * global.h: Fixed documentation.
867
868 Tue Sep 29 15:27:50 1992  Phil Nelson  (phil at cs.wwu.edu)
869
870         * storage.c (process_params): Changed processing of more arguments
871           than in a function definition to just a return.  
872
873         * Makefile: Made changes to make it more in conformance with the
874           GNU coding standards.
875
876 Tue Jul  7 21:09:07 1992  Phil Nelson  (phil at cs.wwu.edu)
877
878         * (const.h, bc.y, util.c) Added code so that when the math
879           library is loaded, redefinition of any math library function
880           will not cause the other functions to quit working correctly.
881           Before this change, redefining a(x) would cause s(x) and c(x)
882           to quit working and redefining s(x) would cause c(x) to quit
883           working.
884
885 Wed Jul  1 14:35:29 1992  Phil Nelson  (phil at cs.wwu.edu)
886
887         * (libmath.b) Changed the calculation of scale for computing
888           e(x) and l(x).  This provides a little more accuracy in the
889           last digit at the expense of a little speed.
890
891         * (Test/checklib.b) Changed tests to be parameterized and test
892           more values.
893
894 Thu Jun 25 09:22:59 1992  Phil Nelson  (phil at cs.wwu.edu)
895
896         * (configure) changed the script from looking in the
897           include directory for a .h file to asking cc (gcc) to
898           find the .h file.  This will allow better detection
899           of include files available to the C compiler.
900
901 Wed Jun 24 22:11:37 1992  Phil Nelson  (phil at cs.wwu.edu)
902
903         * (bc.y) Added a warning for the "last" variable.
904
905         * (scan.l) Added code to allow for a single dot (.) to be the
906           same as the variable "last".  This is not a "standard" feature,
907           but is provided for those who want it.
908
909         * (Install) Documented the new define for dot (.).
910
911         * (bc.1) Documented the use of dot (.) for "last".
912
913         * (Makefile) Added an easy method for adding extra defines for
914           use during the compile.  Set DOT_IS_LAST as a standard
915           extra define.
916
917         * (number.c) Changed the code for sqrt for better speed.
918
919 Mon Jun 22 21:47:05 1992  Phil Nelson  (phil at cs.wwu.edu)
920
921         * Changed the name of math.h to libmath.h to avoid conflict
922           with /usr/include/math.h.  Changed all references to math.h
923           to libmath.h in all files.
924
925         * (configure) Changed the test for long strings accepted by
926           cc to not include libmath.h and thus not need to distribute
927           a file that is generated by the system.
928
929         * (Makefile) Changed PREFIX, BINDIR, LIBDIR, and MANDIR to
930           lower case.
931
932 Tue Mar  3 10:16:07 1992  Phil Nelson  (phil at cs.wwu.edu)
933
934         * (main.c) Added missing } at line 140.
935
936         * (version.h) Changed date of version 1.02 to March 3, 1992.
937
938 Mon Feb  3 16:07:57 1992  Phil Nelson  (phil at cs.wwu.edu)
939
940         * (version.h) Updated version number and date.
941
942         * (bc.1) Added a new "VERSION" section.
943
944 Wed Jan 29 14:13:55 1992  Phil Nelson  (phil at cs.wwu.edu)
945
946         * (execute.c) Removed the setjmp and longjmp calls that may have
947           caused some problems with interrupted programs.
948
949 Thu Jan 16 17:08:16 1992  Phil Nelson  (phil at cs.wwu.edu)
950
951         * (Makefile) Changed install to install the manual.
952
953 Wed Jan  8 13:23:42 1992  Phil Nelson  (phil at cs.wwu.edu)
954
955         * Change all copyright notices to include 1992.
956         
957         * (load.c) Added termination to "load_code" to ignore code
958           after an error has been found.
959
960         * (scan.l) Changed the check for NUL characters in STRING tokens
961           (before the close quote) to work correctly.  Also added code to
962           report illegal characters in a more readable output format.
963
964         * (bc.1) Added the exclusion of NUL characters from strings in
965           the "differences" section and updated date of last change.
966
967         * (const.h) Changed BC_MAX_SEGS to 16.
968
969 Mon Jan  6 14:20:02 1992  Phil Nelson  (phil at cs.wwu.edu)
970
971         * (number.c) Changed the out_num routine to use a correct field
972           size for bases greater than 16.  e.g.  For base 1000, each
973           "digit" is a three digit number.
974
975         * (Makefile) Added the "8" flag to get an 8 bit scanner.
976
977         * (scan.l) Changed "char *" to "unsigned char *" to match the
978           declaration of yytext for the 8 bit scanner.  Also added code
979           to detect the null character in strings and generate an error.
980
981 Sat Jan  4 20:32:20 1992  Phil Nelson  (phil at cs.wwu.edu)
982
983         * (const.h) Changed BC_BASE_MAX to INT_MAX to allow more bases!
984
985 Mon Dec 30 21:47:28 1991  Phil Nelson  (phil at cs.wwu.edu)
986
987         * (main.c) Fixed the bug that loaded the math library before
988           every file.
989
990         * (bc.y) Removed some type declarations that duplicated token
991           definitions so it could be run through bison.
992
993         * (load.c) Added a check for maximum code size.
994
995         * (Makefile) Added a prefix for LIBDIR and BINDIR so it can be
996           changed easily.
997
998 Mon Nov 25 13:11:17 1991  Phil Nelson  (phil at cs.wwu.edu)
999
1000         * Changed version number in version.h to 1.01 with current date.
1001
1002         * Changed LIBFILE definition in Makefile.
1003
1004         * Added a recursive function example to bc.1.
1005
1006 Sun Nov 24 21:24:01 1991  Phil Nelson  (phil at cs.wwu.edu)
1007
1008         * Changed the Makefile to make sure configure is run first.
1009           Added the $(CC) the configure call.  Moved some defines
1010           toward the front of the Makefile to make sure they are
1011           read by installers.  Also added SUBDIRS variable and updated
1012           the GNU distribution to include the subdirectories.  Included
1013           math.h in the distribution for use by configure.  Included
1014           ChangeLog in the distribution.
1015
1016         * Split the README into README and Install.  Changed Install
1017           to have current information.  Documented the STRINGS_H define.
1018           Updated the version number in README.
1019
1020         * Added a check for <strings.h> in configure.
1021
1022 Fri Nov 22 15:06:32 1991  Phil Nelson  (phil at cs.wwu.edu)
1023
1024         * Changed configure to check for varargs.h first.  Also, added
1025           checks to see if long strings (math.h) are accepted by the
1026           C compiler.  Also added parameters to configure.
1027
1028         * Deleted #include <sys/types.h> from proto.h.  Also made only
1029           ANSI C compilers include <stdlib.h>.
1030
1031         * Changed the Makefile to have the install bin directory be
1032           /usr/local/bin and the install lib directory be /usr/local/lib.
1033
1034         * Changed some files in the Test directory to eliminate the
1035           <op>= form that some older bcs don't like.
1036
1037         * Made some small corrections in bc.1.
1038
1039 Tue Oct 29 10:06:32 1991  Phil Nelson  (phil at cs.wwu.edu)
1040
1041         * Called current version 1.00.
1042
1043         * Submitted GNU bc-1.00 to comp.sources.reviewed