~ubuntu-branches/ubuntu/raring/bc/raring-proposed

« back to all changes in this revision

Viewing changes to ChangeLog

  • Committer: Bazaar Package Importer
  • Author(s): John Hasler
  • Date: 2007-12-02 14:46:56 UTC
  • mto: (3.2.1 sid)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20071202144656-vz98qh9dd1zwdyny
Tags: upstream-1.06.94
ImportĀ upstreamĀ versionĀ 1.06.94

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Sun Jun  4 13:56:58 2006 Ken Pizzini <ken@gnu.org>
 
2
        * doc/dc.texi: document new DC_LINE_LENGTH variable; mention
 
3
          traditional dc's handling of P with a numeric input
 
4
        * dc/dc.c (flush_okay, main): make code detecting and handling
 
5
          write errors cleaner
 
6
 
 
7
Sun Jun  4 12:26:00 2006 Phil Nelson <phil@cs.wwu.edu>
 
8
        * bc/main.c: Make sure 3 is the minimum line length.
 
9
        * doc/bc.1, doc/bc.texi: Document the BC_LINE_LENGTH of 0 feature.
 
10
 
 
11
Sun Jun  4 04:41:28 2006 Ken Pizzini <ken@gnu.org>
 
12
        * dc/dc.c (main): fflush() isn't enough: also check that fclose()
 
13
          does not return an error before exiting with EXIT_SUCCESS
 
14
 
 
15
Sun Jun  4 04:15:15 2006 Ken Pizzini <ken@gnu.org>
 
16
        * dc/dc.c, dc/eval.c: detect, report (if possible), and exit with error
 
17
          if any I/O errors are encountered
 
18
 
 
19
Sun Jun  4 02:27:41 2006 Ken Pizzini <ken@gnu.org>
 
20
        * bc/main.c, bc/util.c: allow a BC_LINE_LENGTH of zero as a
 
21
          special-case, meaning "don't ever wrap lines"
 
22
        * dc/numeric.c, configure.in: add support for a DC_LINE_LENGTH
 
23
          variable, with a value of zero meaning "don't ever wrap lines"
 
24
 
 
25
Fri May  5 18:45:17 2006 Ken Pizzini <ken@gnu.org>
 
26
        * dc/dc.c (try_file): S_ISREG() test was inverted! :-(
 
27
          (how very embarrassing)
 
28
 
 
29
        * configure.in: the "if test" -> "case" conversion in the last commit
 
30
          translated the handling of flex incorrectly; fixed
 
31
 
 
32
        * src/scan.l: readline versions 4.2 and up give their own prototype
 
33
          for readline() in readline.h, which conflicts with the one that is
 
34
          in scan.l, so just do without the prototype in scan.l (if someone
 
35
          needs to backport to a very old version of readline, they should be
 
36
          able to handle adding the prototype back in themselves)
 
37
 
 
38
        * doc/bc.texi: use of @var{} in @item causes capitalization on output,
 
39
          which is wrong, and furthermore the use of @var{} for e() and j() is
 
40
          also inconsistent with how the other math functions are formatted
 
41
 
 
42
Sat Apr 29 05:02:15 2006 Ken Pizzini <ken@gnu.org>
 
43
        * configure.in: The "true" branch of AC_ARG_WITH needed to
 
44
          be conditionalized on the value of $withval (thanks to Mike
 
45
          Frysinger of Gentoo for pointing this out); prefer using
 
46
          "case" over "if test" in shell string-match conditionals;
 
47
          make use of AC_HELP_STRING; added copyright block; clean
 
48
          out old "dnl"'d directives
 
49
 
 
50
Sat Apr 29 04:02:23 2006 Ken Pizzini <ken@gnu.org>
 
51
        * dc/dc.c (try_file): fix typo in S_ISFIFO conditional
 
52
 
 
53
        * doc/bc.1, doc/bc.texi, doc/dc.1, doc/dc.texi: make some
 
54
          formatting clean-up (minor)
 
55
 
 
56
Wed Apr 26 15:38:32 2006 Ken Pizzini <ken@gnu.org>
 
57
        * dc/dc.c (try_file): rework special-file detection so that
 
58
          friendlier error messages can be given for the most common
 
59
          error of this class (i.e., the "dc directory" typo).
 
60
 
 
61
Thu Apr 20 17:45:46 2006 Ken Pizzini <ken@gnu.org>
 
62
        * configure.in: Newer versions of flex (such as ver. 2.5.33)
 
63
          don't seem to like an argument of "-I8" anymore ("option `I'
 
64
          doesn't allow an argument"), so split that into "-I -8".
 
65
 
 
66
Wed Mar 29 05:09:14 2006 Ken Pizzini <ken@gnu.org>
 
67
        * dc/string.c, dc/misc.c, dc/stack.c, dc/dc.c, dc/eval.c, dc/array.c:
 
68
          Make splint (http://www.splint.org/) happier by making all
 
69
          comparisons to 0 and NULL explicit, and adding some explicit casts
 
70
          that aren't strictly necessary.  (But I'm omitting from this commit
 
71
          various splint annotations that just serve to make the code ugly.)
 
72
 
 
73
Tue Mar 28 13:36:00 2006 Phil Nelson <phil@cs.wwu.edu>
 
74
        * bc/util.c: Move code so size checks are before use.
 
75
 
 
76
        * doc/bc.1: Quote .IP argument.
 
77
 
 
78
Tue Mar 28 12:09:38 2006 Ken Pizzini <ken@gnu.org>
 
79
        * dc/dc.c (try_file):  Added file type detection to ignore some
 
80
          special files (particularly directories and block files), because
 
81
          several people have asked that a typo for "cd" not fail silently.
 
82
 
 
83
        * configure.in: add detection of fstat() to determine how the
 
84
          above detection should be implemented.
 
85
 
 
86
Wed Mar 15 9:50:00 2006 Phil Nelson <phil@cs.wwu.edu>
 
87
        * lib/getopt.c:  Added a define to disable/enable
 
88
          gettext support.  May need to be deleted later
 
89
          when gettext is fully supported.  
 
90
 
 
91
Mon Mar 13 13:57:00 2006 Phil Nelson <phil@cs.wwu.edu>
 
92
        * bc/bc.y: Remove second call to lookup() in a rule.
 
93
          Removes a free'd twice bug.
 
94
 
 
95
Sat May 28 05:42:01 2005 Ken Pizzini <ken@gnu.org>
 
96
 
 
97
        * doc/dc.1, doc/dc.texi: add verbage about the need to use
 
98
          upper-case letters for ibase>10 (bug reported by "TJIC").
 
99
 
 
100
Fri May 20 ??:??:?? 2005 Ken Pizzini <ken@gnu.org>
 
101
        * lib/getopt.c, lib/getopt1.c: Update to more recent versions.
 
102
 
 
103
Fri May 27 09:19:21 2005 Ken Pizzini <ken@gnu.org>
 
104
 
 
105
        * dc/eval.c: abstract out skip_past_eol() function to handle comments
 
106
 
 
107
Fri May 27 07:30:52 2005 Ken Pizzini <ken@gnu.org>
 
108
 
 
109
        * dc/numeric.c (dc_numlen), doc/dc.1, dc.texi: correct Z command
 
110
          to match historical meaning
 
111
 
 
112
Fri May 27 06:54:19 2005 Ken Pizzini <ken@gnu.org>
 
113
 
 
114
        * dc/eval.c: ignore trailing comments in tail-recursion detection
 
115
 
 
116
        * dc/eval.c, doc/dc.texi: finally fix dc to trap interrupts,
 
117
          aborting pending macros but not exiting
 
118
 
 
119
Fri May 27 03:37:30 2005 Ken Pizzini <ken@gnu.org>
 
120
 
 
121
        * dc/numeric.c: Address Debian bug #221781: values exceeding
 
122
          a C "long" don't play well with k/i/o/a/Q/:/; commands.
 
123
          Adding a diagnostic, and returning a "more bogus" value than
 
124
          zero, for this situation.
 
125
 
 
126
Thu May 26 09:03:57 2005 Ken Pizzini <ken@gnu.org>
 
127
 
 
128
        * dc/eval.c:
 
129
          1) fix tail recursion to also work for 'x' and '?' commands
 
130
          2) fix tail recursion to ignore trailing spaces in the current
 
131
             invocation string when determining if tail recursion is
 
132
             appropriate
 
133
          3) remove a couple of misleading and/or meaningless comments
 
134
          4) add documentation for stdin_lookahead, since the code is far
 
135
             from transparent about its purpose and usage
 
136
          5) simplify ibase conditional by rearranging branches
 
137
 
 
138
Wed May 25 21:20:08 2005 Ken Pizzini <ken@gnu.org>
 
139
 
 
140
        * dc/array.c dc/dc-proto.h dc/dc-regdef.h dc/dc.c dc/dc.h
 
141
          dc/eval.c dc/numeric.c: whitespace cleanup
 
142
 
 
143
Wed May 25 19:48:26 2005 Ken Pizzini <ken@gnu.org>
 
144
 
 
145
        * COPYING COPYING.LIB dc/dc-proto.h dc/dc-regdef.h dc/dc.h
 
146
          dc/array.c dc/dc.c dc/eval.c dc/misc.c dc/numeric.c dc/stack.c
 
147
          dc/string.c doc/dc.1 doc/dc.texi:
 
148
          update FSF address in copyright notices
 
149
 
 
150
Wed May 25 19:39:46 2005 Ken Pizzini <ken@gnu.org>
 
151
 
 
152
        * dc/stack.c: If a register is used for an array, its corresponding
 
153
          stack could be auto-created in the DC_UNINITIALIZED state; handle
 
154
          this situation gracefully.  Thanks to Ben Collerson
 
155
          (http://bur.st/~benc/) for the bug report.
 
156
 
 
157
Wed Dec 31 07:26:00 2003 Phil Nelson  <phil@cs.wwu.edu>
 
158
 
 
159
        * Makefile.am: add depcomp
 
160
 
 
161
        * {bc,dc,lib}/Makefile.am: CFLAGS -> AM_CFLAGS, YFLAGS -> AM_YFLAGS
 
162
 
 
163
        * bc/*: consistent copyright
 
164
 
 
165
Fri May  9 21:52:46 2003 Ken Pizzini <ken@gnu.org>
 
166
 
 
167
        * dc/dc-proto.h dc/dc.c dc/eval.c: add tail-recursion optimization
 
168
 
 
169
        * dc/numeric.c: clean up handling of conditional includes/defines;
 
170
          editorial fix to comment; trivial (indentation, mostly) clean-up of
 
171
          out_char() function [gratuitious; commit was accidental and I'm
 
172
          adding this note to a replacement log message]
 
173
 
 
174
        * dc/misc.c: fixed spelling and grammatical errors in comment
 
175
 
 
176
        * dc/dc-regdef.h: simplify the handling of UCHAR_MAX/DC_REGCOUNT
 
177
          defaults
 
178
 
 
179
Thu Apr 17 16:25:35 2003 Phil Nelson  <phil@cs.wwu.edu>
 
180
 
 
181
        * bc/{execute.c, proto.h, util.c}: char -> int in a few
 
182
          places dealing with isdigit and getchar(), updated copyright 
 
183
 
 
184
        * bc/main.c: minor formatting changes, updated copyright
 
185
 
 
186
        * bc/libmath.b, doc/{bc.1,bc.texi}: updated copyright
 
187
 
 
188
Mon Mar 31 22:19:00 2003  Phil Nelson  <phil@cs.wwu.edu>
 
189
 
 
190
        * doc/{bc.1,bc.texi} Fix a couple of typos.
 
191
        * bc/main.c: exit value changed when exiting from interrupt.
 
192
 
 
193
Tue Mar 4 09:38:00 2003  Phil Nelson  <phil@cs.wwu.edu>
 
194
 
 
195
        * bc/libmath.b: Add one level recursion to each function to
 
196
          get ibase set to 10 (decimal) if called with other ibases.
 
197
 
 
198
Mon Nov 11 09:15:00 2002  Phil Nelson  <phil@cs.wwu.edu>
 
199
 
 
200
        * doc/{bc.1,bc.texi} Fix documentation about array parameters.
 
201
 
 
202
Tue Mar 19 11:22:06 2002  Phil Nelson  <phil@cs.wwu.edu>
 
203
 
 
204
        * bc/{bc.y,bcdefs.h,scan.l}: Add void functions.
 
205
        * doc/{bc.1,bc.texi}:  Document void functions.
 
206
        * bc/util.c:  Fix bug in AVL routines.
 
207
 
 
208
Wed May 23 08:40:00 2001  Phil Nelson  <phil@cs.wwu.edu>
 
209
 
 
210
        * Makefile.am, */Makefile.am, configure.in: Add gcc specific
 
211
          flags only if using gcc.
 
212
        * bc/{bc.y,sbc.y,bcdefs.h,const.h,execute.c,global.[ch],proto.h, 
 
213
              main.c,util.c}:  Removal of buffer overflow, new extern
 
214
          and initialization code. New dynamic buffer manipulation.
 
215
        * bc/load.c: correct char extraction.
 
216
        * bc/storage.c: correct expansion of variables and arrays.
 
217
 
 
218
Sun May 13 19:29:43 2001 Ken Pizzini <ken@gnu.org>
 
219
 
 
220
        * dc/array.c: minor optimization: stop scanning array entry indicies
 
221
          if we step beyond the target index
 
222
 
 
223
Sun May 13 19:09:31 2001 Ken Pizzini <ken@gnu.org>
 
224
 
 
225
        * dc/dc.c: traditional dc implementations drop into reading stdin
 
226
          after processing command-line files; defer to tradition
 
227
 
 
228
Sat Feb 17 22:41:14 2001  Phil Nelson  <phil@cs.wwu.edu>
 
229
 
 
230
        * bc/{main.c} Add case 0 for long options that set variables.
 
231
          Correct spelling in usage statement.
 
232
 
 
233
Mon Jan 22 18:33:43 2001  Phil Nelson  <phil@cs.wwu.edu>
 
234
 
 
235
        * bc/main.c: Make sure signal code doesn't stomp on errno.
 
236
        * bc/load.c: Make save_addr in load_code() static since it
 
237
          is now possible to call load_code() multiple times in a single
 
238
          function.
 
239
 
 
240
Fri Jan 19 10:33:13 2001  Phil Nelson  <phil@cs.wwu.edu>
 
241
 
 
242
        * bc/{main.c,execute.c}: Don't use stdio calls in signal
 
243
          handlers.  Call write directly and move code.
 
244
 
 
245
Wed Jan 10 11:33:51 2001  Phil Nelson  <phil@cs.wwu.edu>
 
246
 
 
247
        * lib/getopt.c: Include string.h if available.
 
248
          lib/number.c: (bcmath change) Include string.h if available.
 
249
 
1
250
Wed Sep 27 17:19:48 2000  Phil Nelson  <phil@cs.wwu.edu>
2
251
 
3
252
        * doc/bc.texi: Added new file. Mainly translated from bc.1
1041
1290
        * Called current version 1.00.
1042
1291
 
1043
1292
        * Submitted GNU bc-1.00 to comp.sources.reviewed
 
1293