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