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