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