]> www.ginac.de Git - cln.git/blob - ChangeLog
- gmp/*: Replaced the complete mpn sources with the ones from Debian
[cln.git] / ChangeLog
1 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
2
3         * gmp/*: Replaced the complete mpn sources with the ones from
4           Debian since they are maintained while the ones from FSF
5           aren't and there were problems on some architectures, PowerPC
6           in particular.  See the file gmp/README.CLN.  This way the
7           hard links in this directory have vanished, they were causing
8           trouble for people working in AFS.
9
10 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
11
12         * Version 1.0.3 released.
13
14 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
15
16         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
17           use __attribute__ ((__noreturn__)) instead of the __volatile__
18           storage class.
19           (nonreturning): Remove macro.
20         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
21         * include/cl_integer.h: (doublefactorial): New declaration.
22         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
23
24 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
25
26         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
27           "cat", not "echo".
28         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
29         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
30           'const T', to match definition in src/vector/cl_GV_number.cc.
31           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
32         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
33           yield return code 1.
34
35 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
36
37         * Version 1.0.2 released.
38
39 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
40
41         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
42           boolean expression, write alternatives ending with either
43           "return cl_true;" or "return cl_false;". This way, g++ does a
44           better job inlining it.
45         * src/float/cl_F.h (longfloatp): Likewise.
46         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
47         * src/complex/cl_C.h (realp, complexp): Likewise.
48
49 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
50
51         * include/cl_integer.h (cl_equal_hashcode): New declaration.
52         * include/cl_rational.h (cl_equal_hashcode): New declaration.
53         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
54         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
55         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
56         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
57         * include/cl_float.h (cl_equal_hashcode): New declaration.
58         * include/cl_real.h (cl_equal_hashcode): New declaration.
59         * include/cl_complex.h (cl_equal_hashcode): New declaration.
60         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
61         * src/integer/misc/cl_I_eqhashcode.cc: New file.
62         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
63         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
64         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
65         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
66         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
67         * src/float/misc/cl_F_eqhashcode.cc: New file.
68         * src/real/misc/cl_R_eqhashcode.cc: New file.
69         * src/complex/misc/cl_C_eqhashcode.cc: New file.
70         * doc/cln.tex: Document `cl_equal_hashcode'.
71
72 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
73
74         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
75           (cl_number_ring): New class.
76           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
77           (instanceof): New function.
78         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
79         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
80         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
81         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
82         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
83         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
84         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
85         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
86         * doc/cln.tex: Document `instanceof'.
87
88 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
89
90         * include/cl_rational.h (numerator, denominator): New declarations.
91         * src/rational/elem/cl_RA_numerator.cc: New file.
92         * src/rational/elem/cl_RA_denominator.cc: New file.
93         * include/cl_integer.h (numerator, denominator): New inline functions.
94         * doc/cln.tex: Document `numerator' and `denominator'.
95
96 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
97
98         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
99           in the integer case.
100         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
101
102 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
103
104         * include/cl_config.h.in: Support for sparc64 CPU.
105         * include/cl_modules.h: Likewise.
106         * include/cl_types.h: Likewise.
107         * include/cl_object.h: Likewise.
108         * include/cl_GV.h: Likewise.
109         * src/Makefile.in: Likewise.
110         * src/base/cl_alloca.h: Likewise.
111         * src/base/cl_macros.h: Likewise.
112         * src/base/cl_sysdep.h: Likewise.
113         * src/base/cl_low.h: Likewise.
114         * src/base/digitseq/cl_asm.h: Likewise.
115         * src/base/digitseq/cl_asm_.cc: Likewise.
116         * src/base/digitseq/cl_asm_sparc64.h: New file.
117         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
118         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
119         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
120         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
121         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
122
123 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
124
125         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
126           Use the `orn' instruction.
127
128 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
129
130         Assume all platforms have <stdlib.h> and clock_t.
131         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
132         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
133         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
134         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
135         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
136
137 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
138
139         * gmp/config.guess: Link to autoconf/config.guess.
140           gmp/config.sub: Link to autoconf/config.sub.
141           Needed for Win32 platforms.
142
143 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
144
145         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
146           "sparc64" according to the C compiler, not the uname result.
147
148 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
149
150         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
151           COUNTER_LOOPS version, fortunately not used yet.
152
153         * include/cl_modules.h: Prepare for gcc version 3.
154
155 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
156
157         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
158           Change the last call from I_I_to_RT to I_I_to_RA.
159
160 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
161
162         * Version 1.0.1 released.
163
164 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
165
166         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
167           intDsize==64.
168
169 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
170
171         * autoconf/intparam.c (printf_underscored): Change argument type to
172           `const char*'.
173         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
174           (CL_PROVIDE, CL_PROVIDE_END): Use them.
175         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
176         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
177         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
178           cast a cl_I to void here. Works around a bug in g++-2.95.
179         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
180         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
181            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
182           in g++-2.95.
183         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
184           macro.
185         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
186         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
187            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
188         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
189           Likewise.
190
191 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
192
193         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
194           variants to alpha.
195
196 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
197
198         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
199           OpenBSD like NetBSD.
200         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
201         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
202           OpenBSD like NetBSD, and Linux/ELF like SVR4.
203
204 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
205
206         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
207           syntax on AIX systems and new assembler syntax on non-AIX systems.
208
209 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
210
211         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
212           version from GNU CVS.
213
214 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
215
216         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
217           either operand is a positive fixnum, O(1) instead of O(N).
218         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
219         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
220           first operand.
221
222 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
223
224         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
225           ctor/dtor needs to be exported.
226         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
227         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
228           CL_GLOBALIZE_LABEL.
229           (CL_GLOBALIZE_LABEL): New macro.
230           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
231           (CL_PROVIDE): Update.
232
233 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
234
235         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
236           errors ("unterminated string or character constant").
237           ($(ASMFILES_LO)): On HPPA, try with various settings of
238           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
239
240 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
241
242         * INSTALL: Mention gmp problems on MIPS.
243         * doc/cln.tex: Likewise.
244
245 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
246
247         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
248           the source tree.
249         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
250           (CL_GLOBALIZE_ASM_LABEL): New macro.
251           (CL_PROVIDE): Use it.
252         * src/base/random/cl_random_from.cc: Handle WIN32.
253         * src/timing/cl_t_current.cc: Likewise.
254
255 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
256
257         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
258           (main8): Adapt for C++.
259
260 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
261
262         * INSTALL: Mention egcs-1.1 problems on Sparc.
263         * doc/cln.tex: Likewise.
264
265 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
266
267         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
268           messages.
269
270 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
271
272         * autoconf/aclocal.m4: In test programs, declare `int main()', not
273           `main()'.
274
275         * lidia-interface/src/interfaces/integers/cln/bigint.c
276           (bigint_to_string): Fix for negative arguments.
277
278         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
279         * src/base/cl_alloca.h: Likewise.
280
281         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
282         * src/base/digitseq/cl_asm_arm_.cc,
283           src/base/digitseq/cl_asm_mips_.cc,
284           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
285
286         * src/modinteger/cl_MI_pow2.h,
287           src/modinteger/cl_MI_pow2m1.h,
288           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
289
290 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
291
292         * autoconf/acgeneral.m4,
293           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
294         * autoconf/config.guess, autoconf/config.sub: Likewise.
295         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
296           a macro. Use ${ac_objext}.
297         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
298           conforming with CL_ALLOCA.
299
300 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
301
302         * Version 1.0 released.
303