1 Fri Apr 17 10:40:59 1998 Phil Nelson <phil@cs.wwu.edu>
3 * bc/main.c: Enable readline only if interactive.
5 Thu Apr 16 16:49:22 1998 Phil Nelson <phil@cs.wwu.edu>
7 * bc/configure.in: Tweeking of AM_PROG_LEX and associated
8 special case goo for solaris.
10 Sat Mar 28 21:43:18 1998 Phil Nelson <phil@cs.wwu.edu>
12 * bc/Makefile.am: Added "YFLAGS = -d" to get bc.h to build properly.
14 Mon Mar 9 12:54:42 PST 1998 Ken Pizzini <ken@halcyon.com>
16 * doc/dc.texi, doc/dc.1: correct some documentation bugs.
18 Sun Mar 8 23:56:24 PST 1998 Ken Pizzini <ken@halcyon.com>
20 * dc/numeric.c: eliminate superfluous variable from dc_dump_num();
21 annotate unused parameters in dc_add() and dc_sub().
23 * h/version.h: change dc version number to 1.2 for release.
25 Sun Mar 8 21:13:50 1998 Phil Nelson <phil@cs.wwu.edu>
27 * bc/main.c: Applied patch from Ken Pizzini to force line
28 mode buffering on stdout.
30 Tue Jan 6 09:15:04 PST 1998 Ken Pizzini <ken@halcyon.com>
32 * h/version.h: dc is now up to version 1.1.5.
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'.)
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.
46 Sun Jan 4 15:39:46 PST 1998 Ken Pizzini <ken@halcyon.com>
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.
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
69 * h/version.h: dc is now up to version 1.1.4.
71 Sat Sep 27 13:48:53 1997 Ken Pizzini <ken@halcyon.com>
73 * h/version.h: dc is now up to version 1.1.3.
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
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.
85 Fri Sep 26 19:56:15 1997 Ken Pizzini <ken@halcyon.com>
87 * dc/dc.c: fixed bug reporting address for --help.
89 * doc/dc.1, doc/dc.texi: corrected documentation of the maximum
90 admissible input base.
92 * doc/dc.texi: corrected sample code equivalence for the | command.
94 * lib/number.c: added a warning for non-zero scale in the base
97 Fri Sep 26 18:15:31 1997 Ken Pizzini <ken@halcyon.com>
99 * dc/eval.c, doc/dc.1, doc/dc.texi: added !=, !<, and !> commands.
101 * dc/eval.c: eliminated double-free in 'a' command.
103 * dc/dc.c: changed placment of check for filename "-" so that
106 * h/version.h: updated dc version to 1.1.2.
108 Thu Sep 18 17:41:10 1997 Ken Pizzini <ken@halcyon.com>
110 * dc/eval.c: fixed off-by-one error for Q and q commands.
112 * dc/dc.c: added missing f: to third argument of getopt().
114 * h/version.h: updated dc version to 1.1.1.
116 Thu May 22 08:24:08 1997 Phil Nelson <phil@cs.wwu.edu>
118 * lib/number.c(bc_sqrt): Fixed a bug that computed 0 for sqrt
119 of most numbers less than .000001.
121 Thu May 1 10:41:38 1997 Phil Nelson <phil@cs.wwu.edu>
123 * Test/timetest: change path to bc executable.
125 Wed Apr 30 12:00:00 1997 Phil Nelson <phil@cs.wwu.edu>
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.
130 Mon Apr 21 14:57:14 1997 Phil Nelson <phil@cs.wwu.edu>
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
136 * doc/bc.1: Clarified the single line comment and that \n
137 is processed outside of the comment.
139 Sun Apr 20 22:21:30 1997 Phil Nelson <phil@cs.wwu.edu>
141 * bc/scan.l: Added rules for a single line comment starting
142 with the # character.
144 * doc/bc.1: Documented the single line comment.
146 * bc/Makefile.am: Added DISTCLEANFILES for proper clean up.
148 Sat Apr 19 22:08:05 1997 Phil Nelson <phil@cs.wwu.edu>
150 * dc/Makefile.am: Removed file from distribution list.
152 * h/version.h: Updated dc version to 1.1.
154 Fri Apr 18 16:43:04 1997 Phil Nelson <phil@cs.wwu.edu>
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
160 Fri Apr 18 13:58:56 1997 Phil Nelson <phil@cs.wwu.edu>
162 * configure.in: Tweeks to get things right. Not sure if things
163 changed much. Still working with autoconf/automake to do
166 Wed Apr 16 16:49:17 1997 Phil Nelson <phil@cs.wwu.edu>
168 * bc/main.c (main): Changed processing of BC_ENV_ARGS.
170 * bc/main.c (parse_args): Removed "start" parameter.
172 Tue Apr 15 13:21:28 1997 Phil Nelson <phil@cs.wwu.edu>
174 * acconfig.h: Included support for PACKAGE and VERSION.
176 * configure.in: More tweeks for automake support.
178 * h/number.h: Improve definition of MIN and MAX.
180 * doc/bc.1: Changed copyright, tweeked other text, added
181 e-mail address for bugs.
183 * doc/dc.1: Added copyright and GPL license information,
184 Changed a few .SH formats.
186 Fri Apr 11 16:14:42 1997 Phil Nelson <phil@cs.wwu.edu>
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).
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.
195 * bc/scan.l: Changes for automake's naming convention.
197 * NEWS: Fixed a typo.
199 Thu Apr 10 14:42:55 1997 Phil Nelson <phil@cs.wwu.edu>
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.
205 * h/{bcdefs.h, const.h, global.h, number.h proto.h, version.h}:
206 Changed copyright comment and added 1997 to copyright years.
208 * h/version.h: Changed bc version to 1.04.
210 * lib/number.c: Changed copyright comment and added 1997 to
213 * lib/vfprintf.c: Noted that this was only for minix.
215 * NEWS, README: README is now comp.sources.reviewed readme only.
216 NEWS now lists changes from version to version.
218 Thu Apr 10 13:41:56 1997 Phil Nelson <phil@fawn.cs.wwu.edu>
220 * Makefile.am: Removed FIXME stuff.
222 Thu Apr 8 13:39:53 1997 Phil Nelson <phil@cs.wwu.edu>
224 * bc/Makefile.am: Remove files that should not be distributed.
226 Mon Apr 7 17:14:28 1997 Phil Nelson <phil@cs.wwu.edu>
228 * Makefile.am: Removed Misc directory from distribution.
230 Mon Apr 7 16:16:01 1997 Phil Nelson <phil@cs.wwu.edu>
232 * bc/sbc.y: Corrected use of nextarg().
234 Tue Mar 25 19:32:28 1997 Ken Pizzini <ken@halcyon.com>
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
241 * dc/dc.1: updated last-revision date.
243 Tue Mar 25 16:35:46 1997 Ken Pizzini <ken@halcyon.com>
245 * lib/number.c: give a run-time warning in bc_raisemod()
246 if the modulus does not appear to be an integer.
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.
252 Tue Mar 25 15:36:04 1997 Ken Pizzini <ken@halcyon.com>
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.
258 Tue Mar 25 13:42:51 1997 Ken Pizzini <ken@halcyon.com>
260 * doc/dc.texi, doc/dc.1: added documentation for new | command.
262 Tue Mar 25 13:19:55 1997 Ken Pizzini <ken@halcyon.com>
264 * dc/dc-proto.h: added prototype for dc_triop().
266 Tue Mar 25 12:00:38 1997 Ken Pizzini <ken@halcyon.com>
268 * lib/number.c: add bc_modexp() modular-exponentiation function.
270 * h/proto.h: add prototypes for bc_modexp() and bc_divmod().
272 Tue Mar 25 09:07:13 1997 Ken Pizzini <ken@halcyon.com>
274 * doc/dc.texi, doc/dc.1: updated documentation with the
275 new command-line options.
277 * doc/dc.texi, doc/dc.1: updated documentation with the
278 new '~', 'r', and 'a' commands.
280 * dc/dc.c: added bug reporting information to --version text.
282 Mon Mar 24 19:37:30 1997 Ken Pizzini <ken@halcyon.com>
284 * lib/number.c: added new "bc_divmod" function.
286 * dc/numeric.c: added new "dc_divrem" glue function to bc_divmod.
288 * dc/stack.c: added new "dc_binop2" function.
290 * dc/dc-proto.h: added new prototypes for dc_divrem() and dc_binop2().
292 * dc/eval.c, dc/numeric.c: add new '~' command which
293 returns both the quotient and remainder from division.
295 Mon Mar 24 18:13:42 1997 Ken Pizzini <ken@halcyon.com>
297 * dc/eval.c: Add new 'r' (reverse top two stack elements) command.
299 Mon Mar 24 17:47:02 1997 Ken Pizzini <ken@halcyon.com>
301 * dc/misc.c: split out the main() related functions into
302 a seperate dc/dc.c file.
304 * dc/Makefile.am: updated to reflect this split.
306 Sat Mar 1 04:57:54 1997 Ken Pizzini <ken@halcyon.com>
308 * dc/misc.c: added "--file" option.
310 Sat Mar 1 02:13:06 1997 Ken Pizzini <ken@halcyon.com>
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.)
317 * renamed dc/number.c to dc/numeric.c, to avoid
318 confusion with lib/number.c.
320 Thu Feb 27 19:45:45 1997 Ken Pizzini <ken@halcyon.com>
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.
326 Thu Feb 27 18:25:19 1997 Ken Pizzini <ken@halcyon.com>
328 * Cleaned up Makefile.am files.
330 Thu Feb 6 00:41:02 1997 Ken Pizzini <ken@halcyon.com>
332 * Noticed pre-autoconf vestages (NO_XXX configuration options);
333 fixed to refer to autoconf HAVE_XXX definitions.
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.
339 * Added check for ptrdiff_t to configure.in; removed
340 special ptrdiff_t definition from dc/string.c .
342 Wed Feb 5 22:28:37 1997 Ken Pizzini <ken@halcyon.com>
344 * Only compile (guts of) lib/vfprintf.c if system does
345 not have its own version.
347 Wed Feb 5 22:26:16 1997 Ken Pizzini <ken@halcyon.com>
349 * Changed dc/misc.c source to use standard GNU option
350 parsing routine (instead of special-case code).
352 * Added "-e" option to dc.
354 * Bumped dc version number to 1.0.4.
356 Wed Feb 5 22:08:06 1997 Ken Pizzini <ken@halcyon.com>
358 * rearranged source layout (added subdirectory structure);
359 removed "dc-" prefix from dc C source in its new home.
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.
365 * Tweaked configure.in in anticipation of using automake.
367 Wed Jul 24 16:27:20 1996 Phil Nelson <phil@cs.wwu.edu>
369 * number.c (out_num): Move free of t_num to proper place.
371 Mon Jun 3 00:31:10 1996 Phil Nelson <phil@cs.wwu.edu>
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.
377 Thu Feb 22 12:14:38 1996 Phil Nelson <phil@cs.wwu.edu>
379 * dc-eval.c (dc_func): Added the 'a' (number to ascii character)
382 Thu Feb 22 11:55:15 1996 Phil Nelson <phil@cs.wwu.edu>
384 * dc-eval.c: (Changes from Ken) Changes dealing with stdin_lookahead
387 * dc-misc.c: (Changes from Ken) Changes in option processing.
389 * dc-version.c: (Change from Ken) Version is 1.0.2.
391 Mon Oct 9 15:40:06 1995 Phil Nelson <phil@cs.wwu.edu>
393 * execute.c (execute): Add a pop to 'W' and 'P' codes. Otherwise,
394 the stack continues to grow.
396 * number.c (out_num): Free all bc_nums used.
398 Thu Jun 29 00:35:57 1995 Phil Nelson <phil@cs.wwu.edu>
400 * bc.1: Added information about long options and use of the
403 Wed Jun 28 21:03:45 1995 Phil Nelson <phil@cs.wwu.edu>
405 * scan.l: rl_input: detect EOF.
407 Wed Jun 28 19:03:51 1995 Phil Nelson <phil@cs.wwu.edu>
409 * Makefile.in: fbc target, changed $(LEXLIB) => $(LIBS)
411 Wed Jun 28 01:33:07 1995 Phil Nelson <phil@cs.wwu.edu>
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.
418 Wed Jun 28 01:03:52 1995 Phil Nelson <phil@cs.wwu.edu>
420 * getopt.h, getopt.c, getopt1.c: Imported from glibc-1.09
421 to allow long option processing.
423 * main.c (parse_args): Make it use long arguments.
425 * global.h: Change option flag variables from "char" to "int"
426 to allow long_arguments easy access to the variables.
428 * Makefile.in: Add getopt.h, getopt.c, and getopt1.c in the
429 proper places in the Makefile.
431 Fri Jun 23 12:00:16 1995 Phil Nelson <phil@cs.wwu.edu>
433 * scan.l, main.c (main), acconfig.h, configure.in:
434 Added support for readline input on stdin.
436 Thu Jun 22 20:08:57 1995 Phil Nelson <phil@cs.wwu.edu>
438 * bc.1: Change documentation on POSIX array parameter support.
440 Fri Apr 7 12:29:28 1995 Phil Nelson <phil@cs.wwu.edu>
442 * main.c (parse_args): change "char ch" to "int optch" with
445 Thu Mar 23 04:11:00 1995 Phil Nelson <phil@cs.wwu.edu>
447 * bc.1: Update documentation to include new -q
448 option and the environment variables.
450 Thu Mar 23 03:30:38 1995 Phil Nelson <phil@cs.wwu.edu>
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.
459 Thu Mar 23 03:12:11 1995 Phil Nelson <phil@cs.wwu.edu>
461 * util.c: Corrected a comment.
463 Tue Mar 21 13:36:24 1995 Phil Nelson <phil@cs.wwu.edu>
465 * bc.y: Added "opt_newline" to allow more newlines
468 Tue Mar 21 09:38:28 1995 Phil Nelson <phil@cs.wwu.edu>
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
477 Tue Mar 21 09:12:16 1995 Phil Nelson <phil@cs.wwu.edu>
479 * global.h: Added new variable "line_size". Cleaned up
480 some definitions by adding comments.
482 Mon Mar 20 23:33:01 1995 Phil Nelson <phil@cs.wwu.edu>
484 * proto.h: Define getopt only if no unistd.h file.
486 Mon Mar 20 23:23:34 1995 Phil Nelson <phil@cs.wwu.edu>
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
494 Mon Mar 20 19:26:06 1995 Phil Nelson <phil@cs.wwu.edu>
496 * sbc.y: Removed second parameter on calls to arg_str to match
499 Tue Feb 28 14:30:18 1995 Phil Nelson <phil@cs.wwu.edu>
501 * Makefile.in: Change realclean to maintainer-clean. Added warning.
503 Mon Feb 27 17:08:24 1995 Phil Nelson <phil@cs.wwu.edu>
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
509 * dc-misc.c: Add the "std_only" flag, always set to zero. This is
510 needed due to the above change.
512 Tue Nov 29 15:18:20 1994 Phil Nelson <phil@cs.wwu.edu>
514 * bc.1: Remove the "then" keyword in the if statement documentation.
516 Mon Nov 28 16:50:25 1994 Phil Nelson <phil@cs.wwu.edu>
518 * bc.1: Fixed a font change error.
520 * Makefile.in: Added missing \ in two targets.
522 Tue Nov 22 11:09:08 1994 Phil Nelson <phil@cs.wwu.edu>
524 * bc.1: clarified ibase and math routines.
526 Thu Nov 3 14:09:31 1994 Phil Nelson (phil@cs.wwu.edu)
528 * Makefile.in: added targets uninstall, installdirs and modified
529 other targets to get makes in a directory other than srcdir to
532 * configure.in: added shell commands to get configure to work
533 correctly in directories other than srcdir.
535 Wed Nov 2 10:18:19 1994 Phil Nelson (phil@cs.wwu.edu)
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.
541 * version.h: updated version number and copyright date.
543 * Makefile.in, configure.in, Install: updated for use with
544 autoconf-2.0 and install-sh. Changed target install a bit.
546 * install-sh: Included this file from the autoconf-2.0
547 distribution to have configure run without errors.
549 * README: updated to version 1.03.
551 Mon Oct 31 10:26:28 1994 Phil Nelson (phil@cs.wwu.edu)
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
559 * dc-array.c: Added a conditional include of stdlib.h to get
560 size_t defined on my SunOS 4.1.3 system.
562 * configure.in: Added support for dc.
564 * Makefile.in: Added support for dc. Added rule to make
567 Sun Aug 7 15:09:19 1994 Phil Nelson (phil@cs.wwu.edu)
569 * configure.in, Makefile.in, acconfig.h: Add support for autoconf.
570 Removed old Makefile.
572 Wed Jul 20 22:46:32 1994 Phil Nelson (phil@cs.wwu.edu)
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.
577 Fri Apr 8 14:16:37 1994 Phil Nelson (phil@cs.wwu.edu)
579 * Makefile: Change the distribution to include libmath.h.dist
580 which is a copy of libmath.h that has the compiled libmath.b.
582 Sun Feb 13 01:08:14 1994 Phil Nelson (phil@cs.wwu.edu)
584 * execute.c: Change the string quote characters to be more like
585 C. \a => alert (bell) \b => backspace and added \q => ".
587 * bc.1: Updated information on above changes.
589 Wed Oct 27 23:34:40 1993 Phil Nelson (phil@cs.wwu.edu)
591 * Makefile: Changed compress to gzip. Changed the
592 comment and definition of the DOT_IS_LAST compile option.
594 * scan.l: Changed DOT_IS_LAST to NO_DOT_LAST and changed
595 the test so "." is the last variable is standard.
597 Wed May 19 15:15:12 1993 Phil Nelson (phil at cs.wwu.edu)
599 * number.c: Fixed output of negative numbers in bases other than
602 Wed Apr 21 11:56:31 1993 Phil Nelson (phil at cs.wwu.edu)
604 * bc.1: Changed Steve Sommars e-mail address.
606 Wed Apr 14 12:13:39 1993 Phil Nelson (phil at cs.wwu.edu)
608 * sbc.y: removed leading , on first line.
610 Wed Mar 31 16:12:39 1993 Phil Nelson (phil at cs.wwu.edu)
612 * bc.1: Updated segment number for function bodies.
614 Thu Mar 11 15:34:34 1993 Phil Nelson (phil at cs.wwu.edu)
616 * Makefile: added version.h to bc.o's dependency list.
618 Mon Mar 1 14:00:46 1993 Phil Nelson (phil at cs.wwu.edu)
620 * util.c: (nextarg) changed parameter "val" to be an int.
622 Tue Feb 16 10:06:45 1993 Phil Nelson (phil at cs.wwu.edu)
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
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.
634 Tue Nov 24 17:38:40 1992 Phil Nelson (phil at cs.wwu.edu)
636 * Makefile: Added LEXLIB definitions for use with lex.
638 Thu Oct 22 13:43:16 1992 Phil Nelson (phil at cs.wwu.edu)
640 * number.c (bc_raise): Rearranged and added code to speed up
641 the computation by not doing unneeded multiplications.
643 Wed Sep 30 10:43:52 1992 Phil Nelson (phil at cs.wwu.edu)
645 * global.h: Fixed documentation.
647 Tue Sep 29 15:27:50 1992 Phil Nelson (phil at cs.wwu.edu)
649 * storage.c (process_params): Changed processing of more arguments
650 than in a function definition to just a return.
652 * Makefile: Made changes to make it more in conformance with the
653 GNU coding standards.
655 Tue Jul 7 21:09:07 1992 Phil Nelson (phil at cs.wwu.edu)
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
664 Wed Jul 1 14:35:29 1992 Phil Nelson (phil at cs.wwu.edu)
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.
670 * (Test/checklib.b) Changed tests to be parameterized and test
673 Thu Jun 25 09:22:59 1992 Phil Nelson (phil at cs.wwu.edu)
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.
680 Wed Jun 24 22:11:37 1992 Phil Nelson (phil at cs.wwu.edu)
682 * (bc.y) Added a warning for the "last" variable.
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.
688 * (Install) Documented the new define for dot (.).
690 * (bc.1) Documented the use of dot (.) for "last".
692 * (Makefile) Added an easy method for adding extra defines for
693 use during the compile. Set DOT_IS_LAST as a standard
696 * (number.c) Changed the code for sqrt for better speed.
698 Mon Jun 22 21:47:05 1992 Phil Nelson (phil at cs.wwu.edu)
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.
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.
708 * (Makefile) Changed PREFIX, BINDIR, LIBDIR, and MANDIR to
711 Tue Mar 3 10:16:07 1992 Phil Nelson (phil at cs.wwu.edu)
713 * (main.c) Added missing } at line 140.
715 * (version.h) Changed date of version 1.02 to March 3, 1992.
717 Mon Feb 3 16:07:57 1992 Phil Nelson (phil at cs.wwu.edu)
719 * (version.h) Updated version number and date.
721 * (bc.1) Added a new "VERSION" section.
723 Wed Jan 29 14:13:55 1992 Phil Nelson (phil at cs.wwu.edu)
725 * (execute.c) Removed the setjmp and longjmp calls that may have
726 caused some problems with interrupted programs.
728 Thu Jan 16 17:08:16 1992 Phil Nelson (phil at cs.wwu.edu)
730 * (Makefile) Changed install to install the manual.
732 Wed Jan 8 13:23:42 1992 Phil Nelson (phil at cs.wwu.edu)
734 * Change all copyright notices to include 1992.
736 * (load.c) Added termination to "load_code" to ignore code
737 after an error has been found.
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.
743 * (bc.1) Added the exclusion of NUL characters from strings in
744 the "differences" section and updated date of last change.
746 * (const.h) Changed BC_MAX_SEGS to 16.
748 Mon Jan 6 14:20:02 1992 Phil Nelson (phil at cs.wwu.edu)
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.
754 * (Makefile) Added the "8" flag to get an 8 bit scanner.
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.
760 Sat Jan 4 20:32:20 1992 Phil Nelson (phil at cs.wwu.edu)
762 * (const.h) Changed BC_BASE_MAX to INT_MAX to allow more bases!
764 Mon Dec 30 21:47:28 1991 Phil Nelson (phil at cs.wwu.edu)
766 * (main.c) Fixed the bug that loaded the math library before
769 * (bc.y) Removed some type declarations that duplicated token
770 definitions so it could be run through bison.
772 * (load.c) Added a check for maximum code size.
774 * (Makefile) Added a prefix for LIBDIR and BINDIR so it can be
777 Mon Nov 25 13:11:17 1991 Phil Nelson (phil at cs.wwu.edu)
779 * Changed version number in version.h to 1.01 with current date.
781 * Changed LIBFILE definition in Makefile.
783 * Added a recursive function example to bc.1.
785 Sun Nov 24 21:24:01 1991 Phil Nelson (phil at cs.wwu.edu)
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.
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.
799 * Added a check for <strings.h> in configure.
801 Fri Nov 22 15:06:32 1991 Phil Nelson (phil at cs.wwu.edu)
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.
807 * Deleted #include <sys/types.h> from proto.h. Also made only
808 ANSI C compilers include <stdlib.h>.
810 * Changed the Makefile to have the install bin directory be
811 /usr/local/bin and the install lib directory be /usr/local/lib.
813 * Changed some files in the Test directory to eliminate the
814 <op>= form that some older bcs don't like.
816 * Made some small corrections in bc.1.
818 Tue Oct 29 10:06:32 1991 Phil Nelson (phil at cs.wwu.edu)
820 * Called current version 1.00.
822 * Submitted GNU bc-1.00 to comp.sources.reviewed