]> www.ginac.de Git - cln.git/blob - ChangeLog
Distinguish between cl_word_size and the ABI's pointer size.
[cln.git] / ChangeLog
1 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
2
3         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
4         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
5           with N32 ABI.
6           (cl_word_size): New macro.
7         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
8           cl_word_size.
9
10 2000-06-05  Richard Kreckel  <kreckel@ginac.de>
11
12         * doc/*, INSTALL: Mention that both shared and static library are
13           are now build by default.
14
15 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
16
17         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
18           From a sample that fails with gcc-2.95.2 on Sparc.
19         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
20
21 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
22
23         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
24           New macros.
25         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
26           CL_VERSION_PATCHLEVEL): New definitions.
27         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
28           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
29         * src/Makefile.in, configure.in: release-variables renamed from 
30           CLN_* to CL_*.
31         * configure.in: default to build both shared and static library
32           (i.e. default to the most common behaviour).
33
34 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
35
36         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
37           environment around the patch of 2000-05-23.
38
39 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
40
41         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
42           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
43
44 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
45
46         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
47           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
48
49 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
50
51         * autoconf/config.*: Updated to new version from FSF
52           (the new libtool wants this).
53         * src/Makefile.in: added $(LDFLAGS) to link step.
54         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
55           break-even points.
56
57 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
58
59         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
60           host_vendor, host_os correctly if $host has more than two hyphens.
61
62 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
63
64         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
65           better match present-day CPUs whenever GMP3 is used.
66         * src/base/digitseq/cl_DS_div.cc: dto. 
67         * src/TUNING: Added comment about order of tuning.
68         * configure, configure.in: Safer GMP3-detection.
69         * INSTALL.generic: Clarified behaviour of --with-gmp.
70         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
71
72 2000-05-05  Richard Kreckel  <kreckel@ginac.de>
73
74         * doc/cln.tex: Added index entries.
75         * doc/texinfo.tex: Upgraded to newer version 1999-10-01.07.
76         * doc/*: Changes triggered.
77
78 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
79
80         * gmp/: removed completely.  From now on we are going to link
81           externally against libgmp3.0 or above!
82         * configure, configure.in, Makefile.in, */Makeflags: removed support
83           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
84           setting $CPPFLAGS instead.
85         * Makefile.in: Added libtool inter-library dependency for -lgmp and
86           conforming interface versioning (-version-info).
87         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
88           from libtool 1.3.4.
89
90 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
91
92         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
93           parameter passing was changed for the MIPS n32 ABI.
94
95 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
96
97         * gmp/*: Replaced the complete mpn sources with the ones from
98           Debian since they are maintained while the ones from FSF
99           aren't and there were problems on some architectures, PowerPC
100           in particular.  See the file gmp/README.CLN.  This way the
101           hard links in this directory have vanished, they were causing
102           trouble for people working in AFS.  This became necessary for
103           Debian, because there it woudn't compile on PPC.
104
105 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
106
107         * Version 1.0.3 released.
108
109 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
110
111         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
112           use __attribute__ ((__noreturn__)) instead of the __volatile__
113           storage class.
114           (nonreturning): Remove macro.
115         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
116         * include/cl_integer.h: (doublefactorial): New declaration.
117         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
118
119 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
120
121         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
122           "cat", not "echo".
123         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
124         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
125           'const T', to match definition in src/vector/cl_GV_number.cc.
126           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
127         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
128           yield return code 1.
129
130 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
131
132         * Version 1.0.2 released.
133
134 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
135
136         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
137           boolean expression, write alternatives ending with either
138           "return cl_true;" or "return cl_false;". This way, g++ does a
139           better job inlining it.
140         * src/float/cl_F.h (longfloatp): Likewise.
141         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
142         * src/complex/cl_C.h (realp, complexp): Likewise.
143
144 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
145
146         * include/cl_integer.h (cl_equal_hashcode): New declaration.
147         * include/cl_rational.h (cl_equal_hashcode): New declaration.
148         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
149         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
150         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
151         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
152         * include/cl_float.h (cl_equal_hashcode): New declaration.
153         * include/cl_real.h (cl_equal_hashcode): New declaration.
154         * include/cl_complex.h (cl_equal_hashcode): New declaration.
155         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
156         * src/integer/misc/cl_I_eqhashcode.cc: New file.
157         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
158         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
159         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
160         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
161         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
162         * src/float/misc/cl_F_eqhashcode.cc: New file.
163         * src/real/misc/cl_R_eqhashcode.cc: New file.
164         * src/complex/misc/cl_C_eqhashcode.cc: New file.
165         * doc/cln.tex: Document `cl_equal_hashcode'.
166
167 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
168
169         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
170           (cl_number_ring): New class.
171           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
172           (instanceof): New function.
173         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
174         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
175         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
176         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
177         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
178         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
179         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
180         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
181         * doc/cln.tex: Document `instanceof'.
182
183 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
184
185         * include/cl_rational.h (numerator, denominator): New declarations.
186         * src/rational/elem/cl_RA_numerator.cc: New file.
187         * src/rational/elem/cl_RA_denominator.cc: New file.
188         * include/cl_integer.h (numerator, denominator): New inline functions.
189         * doc/cln.tex: Document `numerator' and `denominator'.
190
191 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
192
193         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
194           in the integer case.
195         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
196
197 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
198
199         * include/cl_config.h.in: Support for sparc64 CPU.
200         * include/cl_modules.h: Likewise.
201         * include/cl_types.h: Likewise.
202         * include/cl_object.h: Likewise.
203         * include/cl_GV.h: Likewise.
204         * src/Makefile.in: Likewise.
205         * src/base/cl_alloca.h: Likewise.
206         * src/base/cl_macros.h: Likewise.
207         * src/base/cl_sysdep.h: Likewise.
208         * src/base/cl_low.h: Likewise.
209         * src/base/digitseq/cl_asm.h: Likewise.
210         * src/base/digitseq/cl_asm_.cc: Likewise.
211         * src/base/digitseq/cl_asm_sparc64.h: New file.
212         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
213         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
214         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
215         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
216         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
217
218 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
219
220         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
221           Use the `orn' instruction.
222
223 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
224
225         Assume all platforms have <stdlib.h> and clock_t.
226         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
227         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
228         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
229         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
230         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
231
232 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
233
234         * gmp/config.guess: Link to autoconf/config.guess.
235           gmp/config.sub: Link to autoconf/config.sub.
236           Needed for Win32 platforms.
237
238 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
239
240         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
241           "sparc64" according to the C compiler, not the uname result.
242
243 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
244
245         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
246           COUNTER_LOOPS version, fortunately not used yet.
247
248         * include/cl_modules.h: Prepare for gcc version 3.
249
250 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
251
252         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
253           Change the last call from I_I_to_RT to I_I_to_RA.
254
255 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
256
257         * Version 1.0.1 released.
258
259 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
260
261         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
262           intDsize==64.
263
264 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
265
266         * autoconf/intparam.c (printf_underscored): Change argument type to
267           `const char*'.
268         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
269           (CL_PROVIDE, CL_PROVIDE_END): Use them.
270         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
271         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
272         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
273           cast a cl_I to void here. Works around a bug in g++-2.95.
274         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
275         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
276            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
277           in g++-2.95.
278         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
279           macro.
280         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
281         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
282            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
283         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
284           Likewise.
285
286 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
287
288         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
289           variants to alpha.
290
291 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
292
293         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
294           OpenBSD like NetBSD.
295         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
296         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
297           OpenBSD like NetBSD, and Linux/ELF like SVR4.
298
299 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
300
301         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
302           syntax on AIX systems and new assembler syntax on non-AIX systems.
303
304 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
305
306         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
307           version from GNU CVS.
308
309 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
310
311         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
312           either operand is a positive fixnum, O(1) instead of O(N).
313         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
314         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
315           first operand.
316
317 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
318
319         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
320           ctor/dtor needs to be exported.
321         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
322         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
323           CL_GLOBALIZE_LABEL.
324           (CL_GLOBALIZE_LABEL): New macro.
325           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
326           (CL_PROVIDE): Update.
327
328 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
329
330         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
331           errors ("unterminated string or character constant").
332           ($(ASMFILES_LO)): On HPPA, try with various settings of
333           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
334
335 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
336
337         * INSTALL: Mention gmp problems on MIPS.
338         * doc/cln.tex: Likewise.
339
340 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
341
342         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
343           the source tree.
344         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
345           (CL_GLOBALIZE_ASM_LABEL): New macro.
346           (CL_PROVIDE): Use it.
347         * src/base/random/cl_random_from.cc: Handle WIN32.
348         * src/timing/cl_t_current.cc: Likewise.
349
350 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
351
352         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
353           (main8): Adapt for C++.
354
355 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
356
357         * INSTALL: Mention egcs-1.1 problems on Sparc.
358         * doc/cln.tex: Likewise.
359
360 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
361
362         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
363           messages.
364
365 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
366
367         * autoconf/aclocal.m4: In test programs, declare `int main()', not
368           `main()'.
369
370         * lidia-interface/src/interfaces/integers/cln/bigint.c
371           (bigint_to_string): Fix for negative arguments.
372
373         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
374         * src/base/cl_alloca.h: Likewise.
375
376         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
377         * src/base/digitseq/cl_asm_arm_.cc,
378           src/base/digitseq/cl_asm_mips_.cc,
379           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
380
381         * src/modinteger/cl_MI_pow2.h,
382           src/modinteger/cl_MI_pow2m1.h,
383           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
384
385 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
386
387         * autoconf/acgeneral.m4,
388           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
389         * autoconf/config.guess, autoconf/config.sub: Likewise.
390         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
391           a macro. Use ${ac_objext}.
392         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
393           conforming with CL_ALLOCA.
394
395 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
396
397         * Version 1.0 released.
398