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