Richard Kreckel [Mon, 29 Dec 2003 19:03:32 +0000 (19:03 +0000)]
Rework of autoconfiscation infrastructure
* autoconf/config.{guess,sub}: Update to GNU version 2003-10-07.
* autoconf/ltmain.sh: Update to GNU version 1.4.3.
* autoconf/autoconf: Remove (from now on we assume autoconf is
installed properly on the sytem).
* autoconf/autoconf.m4: Likewise.
* autoconf/autoconf.m4f: Likewise.
* autoconf/acgeneral.m4: Likewise.
* autoconf/acspecific.m4: Likewise.
* autoconf/aclocal.m4: Regenerate.
* autoconf/acinclude.m4: Remove (while moving the macros...)
* m4/gmp.m4: New file (...to here).
* Makefile.devel: Update to new scheme.
* configure.ac: Likewise.
* include/cln/GV_integer.h: Assume template specializations work.
* include/cln/GV_modinteger.h: Likewise.
* include/cln/config.h.in: Likewise, and drop HAVE_BOOL.
* src/base/cl_base_config.h.in: Drop support for obsolete ftime(3).
* src/base/random/cl_random_from.cc: Likewise.
* src/timing/cl_base_config.h.in: Likewise.
* src/timing/cl_t_current.cc: Likewise.
Richard Kreckel [Sat, 27 Dec 2003 19:04:30 +0000 (19:04 +0000)]
* src/polynomial/cl_UP_gen.h (gen_minus): Fix case where first
argument is zero.
* src/polynomial/cl_UP_MI.h (modint_minus): Likewise.
* src/polynomial/cl_UP_number.h (num_minus): Likewise.
Reported by Munagala Ramanath <amberarrow@yahoo.com>.
Richard Kreckel [Fri, 1 Aug 2003 16:39:16 +0000 (16:39 +0000)]
More dependent base resolution issues
* src/base/hash/cl_hash.h (cl_heap_hashtable<T>::iterator()):
portable syntactic simplification.
* src/base/hash/cl_hashset.h: Preceed inherited members with this->.
* src/base/hash/cl_hash1.h: Likewise for member functions.
* src/base/hash/cl_hash2.h: Likewise.
* src/base/hash/cl_hashuniq.h: Likewise.
* src/base/hash/cl_hashuniqweak.h: Likewise.
* src/base/hash/cl_hash.h: Revert explicit static member function
lookup since that was GCC's fault.
* src/base/hash/cl_hash2weak.h: Likewise.
* src/base/hash/cl_hashuniqweak.h: Likewise.
Richard Kreckel [Thu, 3 Jan 2002 17:06:07 +0000 (17:06 +0000)]
* autoconf/acinclude.m4: revamp MPN-matcher.
* autoconf/aclocal.m4: upgrade to autoconf-2.52 infrastructure,
sync with CLisp from CVS.
* autoconf/autoconf: Likewise.
* autoconf/autoconf.m4f: Likewise (new file).
* configure.ac: Likewise (new file, replaces configure.in).
* configure.in: Likewise (deleted, replaced by configure.ac).
* autoconf/config.{guess,sub}: Update to GNU version 2001-12-13.
* src/Makefile.in: made VPATH safe for autoconf-2.52.
* include/cln/config.h.in: Add __s390__.
Richard Kreckel [Fri, 14 Dec 2001 18:49:11 +0000 (18:49 +0000)]
* include/cln/modules.h, include/cln/object.h: add support for
s390.
* src/numtheory/cl_nt_sqrtmodp.cc: workaround for GCC2.x compiler-bug
on s390, provided by Gerhard Tonn.
Richard Kreckel [Sat, 3 Nov 2001 19:07:50 +0000 (19:07 +0000)]
* src/float/transcendental/cl_F_sinx.cc (sinx_naive): For small
values of x, return square(x) instead of x.
* src/float/transcendental/cl_F_sinhx.cc (sinhx_naive): Likewise.
Richard Kreckel [Sun, 22 Jul 2001 12:54:54 +0000 (12:54 +0000)]
* src/float/base/cl_ieee.cc: try to do magic to the FPU only if
_FPU_IEEE is really defined.
* include/cln/modules.h: change assembler labels from `label' to
`label:' on hppa, needed by Linux (see comment).
* autoconf/acinclude.m4: new file (for storing CLN-specific macros).
* Makefile.devel: adjusted.
* autoconf/aclocal.m4: regenerate.
* src/base/low/cl_low_mul.cc: moved POD variables that are declared
extern "C" elsewhere out of the namespace.
* src/base/low/cl_low_div.cc: Likewise.
Richard Kreckel [Thu, 31 May 2001 20:00:51 +0000 (20:00 +0000)]
* configure.in: adjust lt-versions, taking into account that a
change in prototype breaks compatibility in C++. :-(
* INSTALL: sync compiler options with doc/cln.tex.
* NEWS: adjust date.
Richard Kreckel [Wed, 25 Apr 2001 15:00:33 +0000 (15:00 +0000)]
* src/base/cl_low.h: Added several checks if NO_ASM is defined, so
this definition becomes actually useful. This is needed for
compilation on Arm until somebody fixes the assembler files for Arm.
* src/base/digitseq/cl_asm.h: Likewise.
* src/base/digitseq/cl_asm_.cc: Likewise.
* */Makefile.in: Added `override' in front of `CPPFLAGS +=' so
one can say `make CPPFLAGS=-DFOOBAR'.
Richard Kreckel [Mon, 22 Jan 2001 13:12:59 +0000 (13:12 +0000)]
* include/cln/*.h: Change signatures of all classes' methods
cln::cl_foo::operator new(size_t, cl_foo*) to
cln::cl_foo::operator new(size_t, void*) so one can declare
std::vector<cln::cl_foo>, std::list<cln::cl_foo> etc. for
certain STL implementations (like libstdc++-v3).
Richard Kreckel [Tue, 5 Dec 2000 15:38:25 +0000 (15:38 +0000)]
* Makefile.in, src/Makefile.in, doc/Makefile.in: Use mkdir -p.
* include/cln/version.h.in, src/base/verion.cc: New files.
* configure.in: Generate include/cln/version.h.
* cln.m4: Rewrote it. Check result of cln-config without compiling.
Do cross-check library version and header version information.
Richard Kreckel [Thu, 16 Nov 2000 18:39:55 +0000 (18:39 +0000)]
* autoconf/aclocal.m4 (CL_GMP_SET_UINTD): New macro...
* configure.in: ...used here.
* include/cln/config.h.in: Put in macros defined by CL_GMP_SET_UINTD...
* include/cln/types.h: ...used here.
* autoconf/acgeneral.m4, autoconf/aclocal.m4: Adhere to FHS.
Richard Kreckel [Mon, 13 Nov 2000 16:16:54 +0000 (16:16 +0000)]
* src/base/digitseq/cl_asm.h: Test if (intDsize==32) for MIPS and HPPA,
in order to guard against an accidented configuration.
* src/integer/conv/cl_I_to_digits.cc (table): member b_hoch_k of
struct power_table_entry initialized as ULL instead of as UL, if
intDsize==64 (caused misprinting on MIPS w/ GMP).
* src/base/cl_macros.h (minus_bitm, bitc): implemented ULL, if
HAVE_FAST_LONGLONG.
* src/integer/bitwise/cl_I_mkfx.cc (mkf_extract): Likewise.
* src/integer/conv/cl_I_from_L.cc (cl_I_from_L): Added trival
generation of Bignum for intDsize==64 and a notreached-check at end.
* autoconf/config.guess, autoconf/config.sub: updated from FSF.
* include/cln/config.h.in: Prepared support for IA64.
* include/cln/types.h: Likewise.
* include/cln/object.h: Likewise.
* include/cln/modules.h: Likewise.
* src/base/cl_macros.h (nonreturning_function): Likewise (NUE's
compiler claims __GNUC_MINOR__==9).
* src/base/cl_macros.h (bit, minus_bit): changed criterion for ULL from
HAVE_DD to HAVE_FAST_LONGLONG.
* src/base/cl_macros.h (bitm): implemented ULL, if HAVE_FAST_LONGLONG.
* src/base/cl_low.h: actually no need to include "cln/types.h" here.
* src/base/cl_low.h (logcount_64): always ULL, independent of HAVE_DD.
* src/base/random/cl_UL_random.cc (random32): a is always ULL.
Richard Kreckel [Fri, 3 Nov 2000 10:04:06 +0000 (10:04 +0000)]
* include/cln/object.h (cl_combine): define additional signatures, if
HAVE_LONGLONG is defined, in order to keep the compiler happy.
* src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_macros.h (bit): ...for this macro...
* src/base/cl_macros.h (minus_bit): ...and this one.
* src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_low.h (logcount_64): ...for this macro.
* src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
* src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug
that turned up when intDsize==32 and cl_word_size==64.
* src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
to uint64 that turned up when intDsize==32 and cl_word_size==64.
Richard Kreckel [Wed, 1 Nov 2000 18:31:57 +0000 (18:31 +0000)]
* include/cln/object.h (cl_combine): define additional signatures, if
HAVE_LONGLONG is defined, in order to keep the compiler happy.
* src/base/cl_macros.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_macros.h (bit): ...for this macro...
* src/base/cl_macros.h (minus_bit): ...and this one.
* src/base/cl_low.h: include "cln/types.h", since we need HAVE_DD...
* src/base/cl_low.h (logcount_64): ...for this macro.
* src/base/random/cl_UL_random.cc (random32): if HAVE_DD a is an ULL.
* src/integer/gcd/cl_I_gcd_aux2.cc (floorDD): fixed algorithmic bug
that turned up when intDsize==32 and cl_word_size==64.
* src/float/dfloat/elem/cl_DF_div.cc (operator/): fixed a missing cast
to uint64 that turned up when intDsize==32 and cl_word_size==64.
Richard Kreckel [Mon, 30 Oct 2000 17:44:15 +0000 (17:44 +0000)]
* src/real/input/cl_R_read.cc, src/complex/input/cl_N_read.cc:
#undef stderr, if it's defined so cln::stderr isn't confused.
* src/base/input/cl_read_globals.cc: stdin should not be extern.
Richard Kreckel [Wed, 30 Aug 2000 22:12:05 +0000 (22:12 +0000)]
* include/cln/number.h, cl_number::_as_cl_private_thing(): removed.
Rearranged for a clearer distinction between macros and remaining
identifiers, so Cint can parse it smoothly.
* Changelog: *trival* documentation changes have nix verloren.
* doc/cln.info, doc/cln.texi: Removed non-sources from CVS.
Richard Kreckel [Mon, 28 Aug 2000 22:07:37 +0000 (22:07 +0000)]
* All Files have been modified for inclusion of namespace cln;
I am too lazy for a detailed discussion of all the changes.
Many identifiers got their `cl_' stripped off. Ok, this is a
clumpsy CVS log-entry. Promise: more will soon go into the
file ChangeLog. I apologize for the inconvenience. :-(