]> www.ginac.de Git - cln.git/blob - ChangeLog
Avoid g++-3.1 typename warning.
[cln.git] / ChangeLog
1 2002-05-05  Bruno Haible  <bruno@clisp.org>
2
3         Avoid g++ 3.1 warnings.
4         * src/base/hash/cl_hash.h (struct cl_heap_hashtable): Use typename
5         where needed.
6         * src/base/hash/cl_hash1.h (struct cl_heap_hashtable_1): typedef
7         htxentry as a shortcut.
8         * src/base/hash/cl_hash2.h (struct cl_heap_hashtable_2): Likewise.
9         * src/base/hash/cl_hashset.h (struct cl_heap_hashtable_set): Likewise.
10         * src/base/hash/cl_hashuniq.h (struct cl_heap_hashtable_uniq):
11         Likewise.
12
13 2002-03-15  Bruno Haible  <bruno@clisp.org>
14
15         * cln.tex: Document problem with GNU make 3.77.
16         Reported by Michael Somos <somos@grail.cba.csuohio.edu>.
17
18 2002-02-16  Richard Kreckel  <kreckel@ginac.de>
19
20         * cln.m4: quote macro name.
21           Pointed out by Roberto Bagnara.
22
23 2002-01-20  Richard Kreckel  <kreckel@ginac.de>
24
25         * autoconf/config.{guess,sub}: Update to GNU version 2002-01-02.
26           (the old one was broken on Linux/Mips.)
27
28 2002-01-04  Richard Kreckel  <kreckel@ginac.de>
29
30         * autoconf/autoconf.m4f: get brutal in order to adhere to FHS.
31         * Version 1.1.4 released.
32
33 2002-01-03  Richard Kreckel  <kreckel@ginac.de>
34
35         * autoconf/acinclude.m4: revamp MPN-matcher.
36         * autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
37           sync with CLisp from CVS.
38         * autoconf/autoconf: Likewise.
39         * autoconf/autoconf.m4f: Likewise (new file).
40         * configure.ac: Likewise (new file, replaces configure.in).
41         * configure.in: Likewise (deleted, replaced by configure.ac).
42         * autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
43         * src/Makefile.in: made VPATH safe for autoconf-2.52.
44         * include/cln/config.h.in: Add __s390__.
45
46 2001-12-31  Richard Kreckel  <kreckel@ginac.de>
47
48         * src/base/digitseq/cl_DS.h: <gmp.h> is not included extern "C"
49           any more since GMP4 has some C++ support in it.
50
51 2001-12-14  Richard Kreckel  <kreckel@ginac.de>
52
53         * include/cln/modules.h, include/cln/object.h: add support for
54           s390.
55         * src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
56           on s390, provided by Gerhard Tonn.
57
58 2001-11-05  Richard Kreckel  <kreckel@ginac.de>
59
60         * autoconf/ltmain.sh: Upgrade to libtool-1.4.2.
61         * autoconf/config.{guess,sub}: Update to GNU version 2001-09-07.
62         * Version 1.1.3 released.
63
64 2001-11-04  Bruno Haible  <haible@clisp.cons.org>
65
66         Interoperability with gcc-3.0 -fuse-cxa-atexit.
67         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add test whether
68           global destructors actually exist.
69         * include/cln/modules.h (CL_PROVIDE, CL_PROVIDE_END, CL_PROVIDE_END):
70           Don't hack the global destructors if there is no global destructors
71           function.
72
73 2001-11-03  Richard Kreckel  <kreckel@ginac.de>
74
75         * src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
76           values of x, return square(x) instead of x.
77         * src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
78
79 2001-07-25  Richard Kreckel  <kreckel@ginac.de>
80
81         * Version 1.1.2 released.
82
83 2001-07-24  Richard Kreckel  <kreckel@ginac.de>
84
85         * src/base/hash/cl_hash.h: declare _cl_hashtable_iterator<htentry> a
86           friend of cl_heap_hashtable<htentry>.
87
88 2001-07-22  Richard Kreckel  <kreckel@ginac.de>
89
90         * src/float/base/cl_ieee.cc: try to do magic to the FPU only if
91           _FPU_IEEE is really defined.
92         * include/cln/modules.h: change assembler labels from `label' to
93           `label:' on hppa, needed by Linux (see comment).
94         * autoconf/acinclude.m4: new file (for storing CLN-specific macros).
95         * Makefile.devel: adjusted.
96         * autoconf/aclocal.m4: regenerate.
97         * src/base/low/cl_low_mul.cc: moved POD variables that are declared
98           extern "C" elsewhere out of the namespace.
99         * src/base/low/cl_low_div.cc: Likewise.
100
101 2001-06-08  Bruno Haible  <haible@clisp.cons.org>
102
103         * autoconf/config.{guess,sub}: Update to GNU version 2001-05-11.
104         * autoconf/aclocal.m4: Upgrade to libtool-1.4.
105         * autoconf/ltmain.sh: Likewise.
106         * autoconf/ltconfig: Remove file.
107         * autoconf/install-sh: New file.
108         * configure.in: Add AC_CONFIG_AUX_DIR call.
109
110 2001-06-05  Richard Kreckel  <kreckel@ginac.de>
111
112         * tests/tests.cc: resolve namespace ambiguity about strcmp().
113
114 2001-05-31  Richard Kreckel  <kreckel@ginac.de>
115
116         * Version 1.1.1 released.
117
118 2001-05-28  Richard Kreckel  <kreckel@ginac.de>
119
120         * cln/cln.tex: documented problems with shared library on Sparc
121           using gcc older than 2.95.3.
122         * configure.in: Fixed typos in versioning docu.
123
124 2001-05-25  Bruno Haible  <haible@clisp.cons.org>
125
126         * src/base/digitseq/cl_asm_arm_.cc: Use #0x instead of #& to designate
127           hexadecimal constants.
128
129 2001-05-25  Richard Kreckel  <kreckel@ginac.de>
130
131         * autoconf/floatparam.c (double_wordorder_bigendian_p): new symbol.
132         * src/float/dfloat/cl_DF.h: Check for double_wordorder_bigendian_p.
133         * Removed LiDIA interface since that is now outdated (namespace cln)
134           and maintained elsewhere.
135         * Adjusted dates and final touches for 1.1.1.
136
137 2001-05-19  Richard Kreckel  <kreckel@ginac.de>
138
139         * INSTALL: Update toolchain info: no egcs, some more platforms.
140         * doc/cln.tex: Likewise.
141
142 2001-05-18  Richard Kreckel  <kreckel@ginac.de>
143
144         * src/base/cl_low.h: prepended variables declared inside macros
145           with underscore.  Fixes equal_hashcode() on various platforms.
146
147 2001-04-25  Richard Kreckel  <kreckel@ginac.de>
148
149         * src/base/cl_low.h: Added several checks if NO_ASM is defined, so
150           this definition becomes actually useful.  This is needed for 
151           compilation on Arm until somebody fixes the assembler files for Arm.
152         * src/base/digitseq/cl_asm.h: Likewise.
153         * src/base/digitseq/cl_asm_.cc: Likewise.
154         * */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
155            one can say `make CPPFLAGS=-DFOOBAR'.
156
157 2001-03-26  Arvid Norberg <c99ang@cs.umu.se>
158
159         * src/base/random/cl_random_from.cc: ported to beos.
160
161 2001-03-05  Richard Kreckel  <kreckel@ginac.de>
162
163         * include/cln/modules.h (CL_JUMP_TO): Fix IA64 brokenness.
164
165 2001-01-28  Richard Kreckel  <kreckel@ginac.de>
166
167         * include/cln/number.h (cl_as_N): Remove bogus comment.
168
169 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
170
171         * configure.in: Make build in separate builddir possible (again).
172
173 2001-01-22  Richard Kreckel  <kreckel@ginac.de>
174
175         * include/cln/*.h: Change signatures of all classes' methods
176           cln::cl_foo::operator new(size_t, cl_foo*) to
177           cln::cl_foo::operator new(size_t, void*) so one can declare
178           std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
179           certain STL implementations (like libstdc++-v3).
180
181 2000-12-14  Richard Kreckel  <kreckel@ginac.de>
182
183         * Version 1.1 released.
184
185 2000-12-13  Richard Kreckel  <kreckel@ginac.de>
186
187         * */*: cl_istream -> std::istream, cl_ostream -> std::ostream.
188
189 2000-12-05  Richard Kreckel  <kreckel@ginac.de>
190
191         * Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
192         * include/cln/version.h.in, src/base/verion.cc: New files.
193         * configure.in: Generate include/cln/version.h.
194         * cln.m4: Rewrote it. Check result of cln-config without compiling.
195           Do cross-check library version and header version information.
196
197 2000-12-02  Christian Bauer  <cbauer@ginac.de>
198
199         * Makefile.in, src/Makefile.in, doc/Makefile.in: Added $DESTDIR.
200         * cln.m4, cln.spec.in: some minor fixes with respect to RPM package
201           building.
202
203 2000-11-24  Richard Kreckel  <kreckel@ginac.de>
204
205         * */*: Removed problematic stdin, stdout and stderr definitions.  
206           Use std::cin, std::cout, std::cerr instead (obsoletes 2000-10-29).
207
208 2000-11-20  Bruno Haible
209
210         * cln-config.1: change title.
211
212 2000-11-18  Richard Kreckel  <kreckel@ginac.de>
213
214         * cln.m4: New file.
215         * doc/cln.tex: Document package tools cln-config and cln.m4.
216         * Makefile.in: Care about cln.m4.
217
218 2000-11-17  Richard Kreckel  <kreckel@ginac.de>
219
220         * cln-config.1: added manpage, as required by a couple of distros.
221         * Makefile.in, doc/Makefile.in: target install depends on installdirs.
222
223 2000-11-16  Richard Kreckel  <kreckel@ginac.de>
224
225         * autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
226         * configure.in: ...used here.
227         * include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
228         * include/cln/types.h: ...used here.
229         * autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
230
231 2000-11-13  Richard Kreckel  <kreckel@ginac.de>
232
233         * src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
234           in order to guard against an accidented configuration.
235         * src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of 
236           struct power_table_entry initialized as ULL instead of as UL, if 
237           intDsize==64 (caused misprinting on MIPS w/ GMP).
238         * src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if 
239           HAVE_FAST_LONGLONG.
240         * src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
241         * src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival 
242           generation of Bignum for intDsize==64 and a notreached-check at end.
243         * autoconf/config.guess, autoconf/config.sub: updated from FSF.
244         * include/cln/config.h.in: Prepared support for IA64.
245         * include/cln/types.h: Likewise.
246         * include/cln/object.h: Likewise.
247         * include/cln/modules.h: Likewise.
248         * src/base/cl_macros.h (nonreturning_function): Likewise (NUE's 
249           compiler claims __GNUC_MINOR__==9).
250
251 2000-11-03  Richard Kreckel  <kreckel@ginac.de>
252
253         * src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
254           HAVE_DD to HAVE_FAST_LONGLONG.
255         * src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
256         * src/base/cl_low.h: actually no need to include "cln/types.h" here.
257         * src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
258         * src/base/random/cl_UL_random.cc (random32): a is always ULL.
259
260 2000-11-01  Richard Kreckel  <kreckel@ginac.de>
261
262         * include/cln/object.h (cl_combine): define additional signatures, if
263           HAVE_LONGLONG is defined, in order to keep the compiler happy.
264         * src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
265         * src/base/cl_macros.h (bit): ...for this macro...
266         * src/base/cl_macros.h (minus_bit): ...and this one.
267         * src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
268         * src/base/cl_low.h (logcount_64): ...for this macro.
269         * src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
270         * src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug.
271           that turned up when intDsize==32 and cl_word_size==64.
272         * src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
273           to uint64 that turned up when intDsize==32 and cl_word_size==64.
274
275 2000-10-29  Richard Kreckel  <kreckel@ginac.de>
276
277         * src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
278           #undef stderr, if it's defined so cln::stderr isn't confused.
279         * src/base/input/cl_read_globals.cc: stdin should not be extern.
280
281 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
282
283         * include/cln/number.h (As): Fix it in namespace by suffixing `_As'
284           to the appropiate method instead of prefixing `as_'.
285         * src/complex/misc/cl_N_as.cc (cl_N_As): Likewise.
286         * src/real/misc/cl_R_as.cc (cl_R_As): Likewise.
287         * src/rational/misc/cl_RA_as.cc (cl_RA_As): Likewise.
288         * src/integer/misc/cl_I_as.cc (cl_I_As): Likewise.
289         * src/float/misc/cl_F_as.cc (cl_F_As): Likewise.
290         * src/float/sfloat/misc/cl_SF_as.cc (cl_SF_As): Likewise.
291         * src/float/lfloat/misc/cl_LF_as.cc (cl_LF_As): Likewise.
292         * src/float/ffloat/misc/cl_FF_as.cc (cl_FF_As): Likewise.
293         * src/float/dfloat/misc/cl_DF_as.cc (cl_DF_As): Likewise.
294
295 2000-09-05  Richard Kreckel  <kreckel@ginac.de>
296
297         * src/complex/transcendental/cl_C_expt_C.cc (expt): fix logic for
298           the 0^y cases.
299
300 2000-08-30  Richard Kreckel  <kreckel@ginac.de>
301
302         * include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
303           Rearranged for a clearer distinction between macros and remaining
304           identifiers, so Cint can parse it smoothly.
305
306 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
307
308         * include/cln/number.h, the(const cl_number& x): New template
309           function.
310
311 2000-08-29  Richard Kreckel  <kreckel@ginac.de>
312
313         * */*: Pushed CLN into a namespace `cln'.  While doing so, the
314           following identifiers got their poor-man's namespace (i.e. the 
315           prefix `cl_') stripped off:
316           cl_catalanconst()        ->  catalanconst()
317           cl_compare()             ->  compare()
318           cl_cos_sin()             ->  cos_sin()
319           cl_cos_sin_t             ->  cos_sin_t
320           cl_cosh_sinh()           ->  cosh_sinh()
321           cl_cosh_sinh_t           ->  cosh_sinh_t
322           cl_decoded_dfloat        ->  decoded_dfloat
323           cl_decoded_ffloat        ->  decoded_ffloat
324           cl_decoded_float         ->  decoded_float
325           cl_decoded_lfloat        ->  decoded_lfloat
326           cl_decoded_sfloat        ->  decoded_sfloat
327           cl_default_float_format  ->  default_float_format
328           cl_default_print_flags   ->  default_print_flags
329           cl_default_random_state  ->  default_random_state
330           cl_double_approx()       ->  double_approx()
331           cl_equal()               ->  equal()
332           cl_equal_hashcode()      ->  equal_hashcode()
333           cl_eulerconst()          ->  eulerconst()
334           cl_find_modint_ring()    ->  find_modint_ring()
335           cl_find_univpoly_ring()  ->  find_univ_poly_ring()
336           cl_float_approx()        ->  float_approx
337           cl_float_format()        ->  float_format()
338           cl_float_format_t        ->  float_format_t
339           cl_free_hook()           ->  free_hook()
340           cl_hermite()             ->  hermite()
341           cl_laguerre()            ->  laguerre()
342           cl_legendre()            ->  legandre()
343           cl_malloc_hook()         ->  malloc_hook()
344           cl_pi()                  ->  pi()
345           cl_tschebychev()         ->  tschebychev()
346           cl_zeta()                ->  zeta()
347           NB: For functions these changes includes all signatures.
348         * include/*: moved to include/cln/*, stripped `cl_' off filenames.
349         * cln-config.in: new file.
350
351 2000-08-26  Bruno Haible  <haible@clisp.cons.org>
352
353         * autoconf/acgeneral.m4 (AC_OUTPUT): Use braces in exec_prefix default
354           value, not parens.
355
356 2000-08-18  Bruno Haible  <haible@clisp.cons.org>
357
358         * include/cl_univpoly_modint.h: Fix typo.
359
360 2000-07-13  Bruno Haible  <haible@clisp.cons.org>
361
362         * src/float/input/cl_F_read_stream.cc (number_char_p): Accept '_',
363           used as precision marker for floats.
364           Reported by Keith Briggs (in 1998) and Thomas Roessler.
365         * src/integer/input/cl_I_read_stream.cc (number_char_p): Likewise.
366         * src/rational/input/cl_RA_read_stream.cc (number_char_p): Likewise.
367         * src/real/input/cl_R_read_stream.cc (number_char_p): Likewise.
368         * src/complex/input/cl_N_read_stream.cc (number_char_p): Likewise.
369
370 2000-06-22  Bruno Haible  <haible@clisp.cons.org>
371
372         * include/cl_object.h: Rename cl_word_size to cl_pointer_size.
373         * include/cl_types.h (HAVE_FAST_LONGLONG): Also define on Irix6
374           with N32 ABI.
375           (cl_word_size): New macro.
376         * src/float/sfloat/cl_SF.h: Use cl_pointer_size instead of
377           cl_word_size.
378
379 2000-05-31  Bruno Haible  <haible@clisp.cons.org>
380
381         * tests/exam_I_floor.cc (integer_floor_tests): Add one more entry.
382           From a sample that fails with gcc-2.95.2 on Sparc.
383         * tests/exam_I_gcd.cc (integer_gcd_tests): Likewise.
384
385 2000-05-30  Richard Kreckel  <kreckel@ginac.de>
386
387         * configure.in, autoconf/aclocal.m4 (CL_GMP_H_VERSION, CL_GMP_CHECK):
388           New macros.
389         * configure.in, include/cl_config.h.in (CL_VERSION, CL_VERSION_MINOR,
390           CL_VERSION_PATCHLEVEL): New definitions.
391         * autoconf/config.guess, autoconf/config.sub, autoconf/ltconfig,
392           autoconf/ltmain.sh: updated from FSF (libtool 1.3.5, etc).
393         * src/Makefile.in, configure.in: release-variables renamed from 
394           CLN_* to CL_*.
395         * configure.in: default to build both shared and static library
396           (i.e. default to the most common behaviour).
397
398 2000-05-29  Richard Kreckel  <kreckel@ginac.de>
399
400         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Added missing changequote
401           environment around the patch of 2000-05-23.
402
403 2000-05-29  Bruno Haible  <haible@clisp.cons.org>
404
405         * autoconf/aclocal.m4 (CL_PROG_INSTALL): Fix typo.
406           Reported by Thomas Klausner <wiz@danbala.ifoer.tuwien.ac.at>.
407
408 2000-05-27  Richard Kreckel  <kreckel@ginac.de>
409
410         * src/float/lfloat/algebraic/cl_LF_sqrt.cc,
411           src/base/digitseq/cl_DS_sqrt.cc: Readjusted break-even points.
412
413 2000-05-24  Richard Kreckel  <kreckel@ginac.de>
414
415         * autoconf/config.*: Updated to new version from FSF
416           (the new libtool wants this).
417         * src/Makefile.in: added $(LDFLAGS) to link step.
418         * src/base/digitseq/cl_2DS_div.cc, cl_2DS_recip.cc: Readjusted 
419           break-even points.
420
421 2000-05-23  Bruno Haible  <haible@clisp.cons.org>
422
423         * autoconf/aclocal.m4 (CL_CANONICAL_HOST): Determine host_cpu,
424           host_vendor, host_os correctly if $host has more than two hyphens.
425
426 2000-05-19  Richard Kreckel  <kreckel@ginac.de>
427
428         * src/base/digitseq/cl_DS_mul.cc: Rearranged break-even points to
429           better match present-day CPUs whenever GMP3 is used.
430         * src/base/digitseq/cl_DS_div.cc: dto. 
431         * src/TUNING: Added comment about order of tuning.
432         * configure, configure.in: Safer GMP3-detection.
433         * INSTALL.generic: Clarified behaviour of --with-gmp.
434         * autoconf/config.guess: updated from Clisp-2000-03-06 sources.
435
436 2000-05-04  Richard Kreckel  <kreckel@ginac.de>
437
438         * gmp/: removed completely.  From now on we are going to link
439           externally against libgmp3.0 or above!
440         * configure, configure.in, Makefile.in, */Makeflags: removed support
441           of internal gmp 2.0.2, like $GMP_INCLUDES, which should be done by
442           setting $CPPFLAGS instead.
443         * Makefile.in: Added libtool inter-library dependency for -lgmp and
444           conforming interface versioning (-version-info).
445         * autoconf/ltconfig, autoconf/ltmain.sh: Updated to newer versions
446           from libtool 1.3.4.
447
448 2000-02-22  Bruno Haible  <haible@clisp.cons.org>
449
450         * src/base/digitseq/cl_asm_mips_.cc: Starting at argument 5 the
451           parameter passing was changed for the MIPS n32 ABI.
452
453 2000-01-24  Richard Kreckel  <kreckel@ginac.de>
454
455         * gmp/*: Replaced the complete mpn sources with the ones from
456           Debian since they are maintained while the ones from FSF
457           aren't and there were problems on some architectures, PowerPC
458           in particular.  See the file gmp/README.CLN.  This way the
459           hard links in this directory have vanished, they were causing
460           trouble for people working in AFS.  This became necessary for
461           Debian, because there it woudn't compile on PPC.
462
463 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
464
465         * Version 1.0.3 released.
466
467 2000-01-13  Richard Kreckel  <kreckel@ginac.de>
468
469         * src/base/cl_macros.h (nonreturning_function): For egcs and newer
470           use __attribute__ ((__noreturn__)) instead of the __volatile__
471           storage class.
472           (nonreturning): Remove macro.
473         * include/*: Minor fixes to stop -ansi -pedantic from complaining.
474         * include/cl_integer.h: (doublefactorial): New declaration.
475         * src/integer/misc/combin/cl_I_doublefactorial.cc: New file.
476
477 1999-12-18  Bruno Haible  <haible@clisp.cons.org>
478
479         * autoconf/acgeneral.m4 (AC_ARG_PROGRAM): Create conftestsed using
480           "cat", not "echo".
481         * autoconf/ltconfig: Improve support for recent FreeBSD 3.
482         * include/cl_GV.h (cl_GV_vectorops): Change return type from 'T' to
483           'const T', to match definition in src/vector/cl_GV_number.cc.
484           Reported by Duncan Simpson <dps@io.stargate.co.uk>.
485         * gmp/mpn/Makefile.in (.S.lo): Use 'if', not '&&', because '&&' may
486           yield return code 1.
487
488 1999-09-07  Bruno Haible  <haible@clisp.cons.org>
489
490         * Version 1.0.2 released.
491
492 1999-09-06  Bruno Haible  <haible@clisp.cons.org>
493
494         * src/rational/cl_RA.h (integerp, ratiop): Instead of returning a
495           boolean expression, write alternatives ending with either
496           "return cl_true;" or "return cl_false;". This way, g++ does a
497           better job inlining it.
498         * src/float/cl_F.h (longfloatp): Likewise.
499         * src/real/cl_R.h (rationalp, integerp, floatp): Likewise.
500         * src/complex/cl_C.h (realp, complexp): Likewise.
501
502 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
503
504         * include/cl_integer.h (cl_equal_hashcode): New declaration.
505         * include/cl_rational.h (cl_equal_hashcode): New declaration.
506         * include/cl_sfloat.h (cl_equal_hashcode): New declaration.
507         * include/cl_ffloat.h (cl_equal_hashcode): New declaration.
508         * include/cl_dfloat.h (cl_equal_hashcode): New declaration.
509         * include/cl_lfloat.h (cl_equal_hashcode): New declaration.
510         * include/cl_float.h (cl_equal_hashcode): New declaration.
511         * include/cl_real.h (cl_equal_hashcode): New declaration.
512         * include/cl_complex.h (cl_equal_hashcode): New declaration.
513         * src/base/cl_N.h (equal_hashcode_low, equal_hashcode_one): New macros.
514         * src/integer/misc/cl_I_eqhashcode.cc: New file.
515         * src/rational/misc/cl_RA_eqhashcode.cc: New file.
516         * src/float/sfloat/misc/cl_SF_eqhashcode.cc: New file.
517         * src/float/ffloat/misc/cl_FF_eqhashcode.cc: New file.
518         * src/float/dfloat/misc/cl_DF_eqhashcode.cc: New file.
519         * src/float/lfloat/misc/cl_LF_eqhashcode.cc: New file.
520         * src/float/misc/cl_F_eqhashcode.cc: New file.
521         * src/real/misc/cl_R_eqhashcode.cc: New file.
522         * src/complex/misc/cl_C_eqhashcode.cc: New file.
523         * doc/cln.tex: Document `cl_equal_hashcode'.
524
525 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
526
527         * include/cl_ring.h (cl_number_ring_ops): Add `contains' member.
528           (cl_number_ring): New class.
529           (cl_specialized_number_ring<T>): Inherit from cl_number_ring.
530           (instanceof): New function.
531         * src/integer/ring/cl_I_ring.cc (cl_I_p): New function.
532         * src/integer/misc/cl_I_as.cc (cl_I_p): Add comment.
533         * src/rational/ring/cl_RA_ring.cc (cl_RA_p): New function.
534         * src/rational/misc/cl_RA_as.cc (cl_RA_p): Add comment.
535         * src/real/ring/cl_R_ring.cc (cl_R_p): New function.
536         * src/real/misc/cl_R_as.cc (cl_R_p): Add comment.
537         * src/complex/ring/cl_C_ring.cc (cl_N_p): New function.
538         * src/complex/misc/cl_N_as.cc (cl_N_p): Add comment.
539         * doc/cln.tex: Document `instanceof'.
540
541 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
542
543         * include/cl_rational.h (numerator, denominator): New declarations.
544         * src/rational/elem/cl_RA_numerator.cc: New file.
545         * src/rational/elem/cl_RA_denominator.cc: New file.
546         * include/cl_integer.h (numerator, denominator): New inline functions.
547         * doc/cln.tex: Document `numerator' and `denominator'.
548
549 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
550
551         * src/rational/algebraic/cl_RA_rootp.cc (rootp): Fix endless loop
552           in the integer case.
553         * src/rational/algebraic/cl_RA_rootp_I.cc (rootp): Likewise.
554
555 1999-09-05  Bruno Haible  <haible@clisp.cons.org>
556
557         * include/cl_config.h.in: Support for sparc64 CPU.
558         * include/cl_modules.h: Likewise.
559         * include/cl_types.h: Likewise.
560         * include/cl_object.h: Likewise.
561         * include/cl_GV.h: Likewise.
562         * src/Makefile.in: Likewise.
563         * src/base/cl_alloca.h: Likewise.
564         * src/base/cl_macros.h: Likewise.
565         * src/base/cl_sysdep.h: Likewise.
566         * src/base/cl_low.h: Likewise.
567         * src/base/digitseq/cl_asm.h: Likewise.
568         * src/base/digitseq/cl_asm_.cc: Likewise.
569         * src/base/digitseq/cl_asm_sparc64.h: New file.
570         * src/base/digitseq/cl_asm_sparc64_.cc: New file.
571         * src/modinteger/cl_MI_int.h: Support for sparc64 CPU.
572         * src/polynomial/elem/cl_UP_no_ring.cc: Likewise.
573         * src/polynomial/elem/cl_UP_GF2.h: Likewise.
574         * src/polynomial/elem/cl_asm_GF2.cc: Likewise.
575
576 1999-09-04  Bruno Haible  <haible@clisp.cons.org>
577
578         * src/base/digitseq/cl_asm_sparc_.cc (orc2_loop_up, orc2_loop_down):
579           Use the `orn' instruction.
580
581 1999-08-14  Bruno Haible  <haible@clisp.cons.org>
582
583         Assume all platforms have <stdlib.h> and clock_t.
584         * configure.in: Don't call CL_STDLIB_H and CL_CLOCK_T.
585         * src/base/cl_base_config.h.in (CLOCK_T): Remove definition.
586         * src/base/random/cl_random_from.cc: Use clock_t instead of CLOCK_T.
587         * src/timing/cl_t_config.h.in (CLOCK_T): Remove definition.
588         * src/timing/cl_t_current2.cc: Use clock_t instead of CLOCK_T.
589
590 1999-07-18  Bruno Haible  <haible@clisp.cons.org>
591
592         * gmp/config.guess: Link to autoconf/config.guess.
593           gmp/config.sub: Link to autoconf/config.sub.
594           Needed for Win32 platforms.
595
596 1999-07-17  Bruno Haible  <haible@clisp.cons.org>
597
598         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Distinguish "sparc" and
599           "sparc64" according to the C compiler, not the uname result.
600
601 1999-06-17  Bruno Haible  <haible@clisp.cons.org>
602
603         * src/base/digitseq/cl_asm_sparc_.cc (compare_loop_up): Fix
604           COUNTER_LOOPS version, fortunately not used yet.
605
606         * include/cl_modules.h: Prepare for gcc version 3.
607
608 1999-06-12  Bruno Haible  <haible@clisp.cons.org>
609
610         * src/rational/elem/cl_RA_plus.cc, src/rational/elem/cl_RA_minus.cc:
611           Change the last call from I_I_to_RT to I_I_to_RA.
612
613 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
614
615         * Version 1.0.1 released.
616
617 1999-06-09  Bruno Haible  <haible@clisp.cons.org>
618
619         * src/integer/cl_I.h (pFN_maxlength_digits_at): Define also when
620           intDsize==64.
621
622 1999-06-08  Bruno Haible  <haible@clisp.cons.org>
623
624         * autoconf/intparam.c (printf_underscored): Change argument type to
625           `const char*'.
626         * include/cl_modules.h (CL_OUTPUT_LABEL, CL_JUMP_TO): New macros.
627           (CL_PROVIDE, CL_PROVIDE_END): Use them.
628         * include/cl_string.h (cl_heap_string::operator new): Return 1, not 0.
629         * include/cl_GV.h (cl_GV_inner<T>::operator new): Likewise.
630         * src/base/ring/cl_no_ring.cc (dummy_canonhom, dummy_expt_pos): Don't
631           cast a cl_I to void here. Works around a bug in g++-2.95.
632         * src/complex/misc/cl_C_class.cc: Include "cl_C.h".
633         * src/polynomial/elem/cl_UP_no_ring.cc (dummy_canonhom,
634            dummy_expt_pos): Don't cast a cl_I to void here. Works around a bug
635           in g++-2.95.
636         * src/polynomial/elem/cl_asm_sparc_GF2.cc (DECLARE_FUNCTION): New
637           macro.
638         * src/rational/misc/cl_RA_class.cc: Include "cl_RA.h".
639         * src/vector/cl_GV_I.cc (cl_heap_GV_I_general::operator new,
640            DEFINE_cl_heap_GV_I_bits): Return 1, not 0.
641         * src/vector/cl_GV_number.cc (cl_heap_GV_number_general::operator new):
642           Likewise.
643
644 1999-06-01  Bruno Haible  <haible@clisp.cons.org>
645
646         * autoconf/aclocal.m4 (CL_CANONICAL_HOST_CPU): Canonicalize alpha
647           variants to alpha.
648
649 1999-05-29  Bruno Haible  <haible@clisp.cons.org>
650
651         * src/base/digitseq/cl_asm_i386_.cc (DECLARE_FUNCTION): Treat
652           OpenBSD like NetBSD.
653         * src/base/digitseq/cl_asm_sparc_.cc (DECLARE_FUNCTION): Likewise.
654         * src/base/digitseq/cl_asm_m68k_.cc (DECLARE_FUNCTION): Treat
655           OpenBSD like NetBSD, and Linux/ELF like SVR4.
656
657 1999-05-16  Bruno Haible  <haible@clisp.cons.org>
658
659         * src/base/cl_low.h (integerlength32) [__rs6000__]: Use old assembler
660           syntax on AIX systems and new assembler syntax on non-AIX systems.
661
662 1999-05-01  Bruno Haible  <haible@clisp.cons.org>
663
664         * autoconf/config.guess, autoconf/config.sub: Upgrade to newest
665           version from GNU CVS.
666
667 1999-04-24  Bruno Haible  <haible@clisp.cons.org>
668
669         * src/integer/bitwise/cl_I_logand.cc (logand): Optimize the case when
670           either operand is a positive fixnum, O(1) instead of O(N).
671         * src/integer/bitwise/cl_I_lognand.cc (lognand): Likewise.
672         * src/integer/bitwise/cl_I_logandc2.cc (logandc2): Likewise for the
673           first operand.
674
675 1999-04-14  Bruno Haible  <haible@clisp.cons.org>
676
677         * autoconf/aclocal.m4 (CL_GLOBAL_CONSTRUCTORS): Add check whether
678           ctor/dtor needs to be exported.
679         * include/cl_config.h.in (CL_NEED_GLOBALIZE_CTORDTOR): New macro.
680         * include/cl_modules.h (CL_GLOBALIZE_JUMP_LABEL): Renamed from
681           CL_GLOBALIZE_LABEL.
682           (CL_GLOBALIZE_LABEL): New macro.
683           (CL_GLOBALIZE_CTORDTOR_LABEL): Renamed from CL_GLOBALIZE_ASM_LABEL.
684           (CL_PROVIDE): Update.
685
686 1999-04-12  Bruno Haible  <haible@clisp.cons.org>
687
688         * src/Makefile.in ($(ASMFILES_S)): On HPPA, ignore preprocessing
689           errors ("unterminated string or character constant").
690           ($(ASMFILES_LO)): On HPPA, try with various settings of
691           COMPILER_PATH, in order to try /usr/ccs/bin/as and /bin/as.
692
693 1999-04-11  Bruno Haible  <haible@clisp.cons.org>
694
695         * INSTALL: Mention gmp problems on MIPS.
696         * doc/cln.tex: Likewise.
697
698 1999-03-24  Mumit Khan  <khan@xraylith.wisc.edu>
699
700         * src/Makefile.in (SUBDIRS): Filter out CVS and RCS directories from
701           the source tree.
702         * include/cl_modules.h (CL_GLOBALIZE_LABEL): Define for Win32.
703           (CL_GLOBALIZE_ASM_LABEL): New macro.
704           (CL_PROVIDE): Use it.
705         * src/base/random/cl_random_from.cc: Handle WIN32.
706         * src/timing/cl_t_current.cc: Likewise.
707
708 1999-03-15  Bruno Haible  <haible@clisp.cons.org>
709
710         * autoconf/intparam.c (main7): Use %lX instead of %X for a `long'.
711           (main8): Adapt for C++.
712
713 1999-03-09  Bruno Haible  <haible@clisp.cons.org>
714
715         * INSTALL: Mention egcs-1.1 problems on Sparc.
716         * doc/cln.tex: Likewise.
717
718 1999-03-08  Bruno Haible  <haible@clisp.cons.org>
719
720         * autoconf/aclocal.m4 (CL_FPU_CONTROL): Fix the "checking for"
721           messages.
722
723 1999-02-25  Bruno Haible  <haible@clisp.cons.org>
724
725         * autoconf/aclocal.m4: In test programs, declare `int main()', not
726           `main()'.
727
728         * lidia-interface/src/interfaces/integers/cln/bigint.c
729           (bigint_to_string): Fix for negative arguments.
730
731         * src/base/cl_low.h: Check for `__sparc__', not `SPARC'.
732         * src/base/cl_alloca.h: Likewise.
733
734         * src/base/cl_low.h: Eliminate CLISP style "# " comments.
735         * src/base/digitseq/cl_asm_arm_.cc,
736           src/base/digitseq/cl_asm_mips_.cc,
737           src/float/dfloat/elem/cl_DF_mul.cc: Likewise.
738
739         * src/modinteger/cl_MI_pow2.h,
740           src/modinteger/cl_MI_pow2m1.h,
741           src/modinteger/cl_MI_pow2p1.h: Workaround g++-2.7.2 inlining bug.
742
743 1999-01-18  Bruno Haible  <haible@clisp.cons.org>
744
745         * autoconf/acgeneral.m4,
746           autoconf/acspecific.m4: Upgrade to autoconf-2.13.
747         * autoconf/config.guess, autoconf/config.sub: Likewise.
748         * autoconf/aclocal.m4 (CL_ALLOCA): Test for _MSC_VER and alloca being
749           a macro. Use ${ac_objext}.
750         * src/base/cl_macros.h (alloca): Put _MSC_VER test before the others,
751           conforming with CL_ALLOCA.
752
753 1999-01-12  Bruno Haible  <haible@clisp.cons.org>
754
755         * Version 1.0 released.
756