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