]> www.ginac.de Git - cln.git/blobdiff - ChangeLog
Fix crashes in find_univpoly_ring and related functions
[cln.git] / ChangeLog
index 67dc8ba98aac5dfa742051597ea07d9c54a0cabf..80da006230eb8f1876b9fd7de9d9298dd30fc2b7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,283 @@
+2005-05-01  Richard B. Kreckel  <kreckel@ginac.de>
+
+       Fix crashes in find_univpoly_ring and related functions
+       * include/cln/modinteger.h: Remove vptr from cl_heap_modint_ring;
+       remove declaration of cl_class cl_class_modint_ring.
+       * include/cln/univpoly.h: Remove vptr from cl_heap_univpoly_ring;
+       remove declaration of cl_class_univpoly_ring.
+       * include/cln/object.h: cl_class_flags_modint_ring: New #define...
+       * src/modinteger/cl_MI.cc: ...used in cl_class_modint_ring.
+       * src/modinteger/cl_MI_fix16.h: No vptr, but static dtor and type flag.
+       * src/modinteger/cl_MI_fix29.h: Likewise.
+       * src/modinteger/cl_MI_fix32.h: Likewise.
+       * src/modinteger/cl_MI_int32.h: Likewise.
+       * src/modinteger/cl_MI_montgom.h: Likewise.
+       * src/modinteger/cl_MI_pow2: Likewise.
+       * src/modinteger/cl_MI_pow2m1.h: Likewise.
+       * src/modinteger/cl_MI_pow2p1.h: Likewise.
+       * src/modinteger/cl_MI_std.h: Likewise.
+       * src/polynomial/elem/cl_UP.cc (cl_make_univpoly_ring): Compare with
+       cl_class_flags_modint_ring, not with cl_class_modint_ring.
+       * src/polynomial/elem/cl_UP_GF2.h (cl_class_num_univpoly_ring): New.
+       * src/polynomial/elem/cl_UP_MI.h (cl_class_modint_univpoly_ring): New.
+       * src/polynomial/elem/cl_UP_gen.h (cl_class_gen_univpoly_ring): New.
+       * src/polynomial/elem/cl_UP_number.h (cl_class_num_univpoly_ring): New.
+       Reported by Ralf Goertz <R_Goertz@web.de>.
+
+2005-04-29  Richard B. Kreckel  <kreckel@ginac.de>
+           Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/cc.m4: Emit a warning if g++ is used and optimization turned off.
+
+2005-04-24  Richard B. Kreckel  <kreckel@ginac.de>
+
+       Make GCC compiler flags default to -O
+       * m4/cc.m4: New file...
+       * configure.ac: ...used here.
+       * autoconf/aclocal.m4: Regenerate.
+
+2005-04-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * include/cln/string.h: Declare cl_string.
+
+2005-03-17  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * autoconf/ltmain.sh: Upgrade to libtool-1.5.14.
+       * m4/libtool.m4: Upgrade to libtool-1.5.14 with Comeau patch.
+       * autoconf/aclocal.m4: Regenerate.
+
+2005-03-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/Makefile.in: Use $CXX instead of $CC when linking.
+
+2005-02-27  Richard B. Kreckel  <kreckel@ginac.de>
+       
+       * examples/perfnum.cc: update to presumed 42st Mersenne prime.
+
+2004-11-28  Richard B. Kreckel  <kreckel@ginac.de>
+
+       Disambiguate binary operators of CLN types with float/double
+       * include/cln/dfloat.h: Add binary operator overloads for arguments of
+       type double.
+       * include/cln/ffloat.h: Likewise, for arguments of type float.
+       * include/cln/float.h: Likewise, both for arguments of types double and
+       float.
+       * include/cln/real.h: Likewise.
+       Reported by Isidro CachadiƱa GutiĆ©rrez <icacha@unex.es>.
+
+2004-11-03  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * Version 1.1.9 released.
+
+2004-10-28  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * src/Makefile.in: Let config.status set LDFLAGS.
+
+2004-10-27  Peter Breitenlohner  <peb@mppmu.mpg.de>
+
+       * cln.pc.in: Fix typo.
+       * Makefile.in (INSTALL_SCRIPT): Added, to be used for scripts like
+       cln-config.  Allows us to do special things to binaries, like
+       installing them with install -s.
+       * doc/Makefile.in: add/remove the cln.info from the installed
+       $(infodir)/dir unless this is debian install-info (code copied from
+       what GNU automake would produce).
+
+2004-10-26  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/input/cl_I_read_stream.cc (read_integer): Fix a bug
+       that caused radix specifiers to not work when reading from a stream.
+       * src/rational/input/cl_RA_read_stream.cc (read_rational): Likewise.
+       * src/real/input/cl_R_read_stream.cc (read_real): Likewise.
+       * src/float/input/cl_F_read_stream.cc (read_float): Likewise.
+       * src/complex/input/cl_N_read_stream.cc (read_complex): Likewise.
+
+2004-10-25  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/base/cl_low.h: Add mulu64 assembler macro for ia64.
+
+2004-10-24  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/base/cl_low.h: Add mul and div macros for x86_64.
+
+2004-10-23  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Fix thinko in
+       new code for base power of two.
+
+2004-10-22  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/conv/cl_I_to_digits (I_to_digits): Fix an elusive stack
+       overwriting problem. That was the real cause for Debian bug#246319.
+       * src/integer/output/cl_I_print.cc (print_integer): Revert workaround
+       for the bug fixed above.
+
+2004-10-20  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * include/cln/types.h: Use 64 bit digits on x86_64 CPU.
+
+2004-10-12  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/conv/cl_I_from_digits.cc (digits_to_I): Speedup when
+       the base is a power of two.
+
+2004-10-05  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/conv/cl_I_to_digits.cc (I_to_digits): Fix bug in base 32.
+
+2004-09-27  Richard B. Kreckel  <kreckel@ginac.de>
+
+       Support for little-endian Mips, second shot
+       * src/base/digitseq/cl_asm_mipsel_.cc: New file...
+       * src/base/digitseq/cl_asm_cc: ...used here.
+       * src/base/digitseq/cl_asm.h: Include cl_asm_mips.h for any endianness.
+       * include/cln/object.h: Set alignment for mipsel explicitly.
+
+2004-09-05  Richard B. Kreckel  <kreckel@ginac.de>
+
+       Support for little-endian Mips
+       * include/cln/config.h.in: Add __mipsel__.
+       * include/cln/modules.h: For Mips, this is endianness-agnostic.
+       * src/base/digitseq/cl_asm_.cc, src/base/digitseq/cl_asm.h:
+       Mask out assembler for little-endian Mips.
+
+2004-08-30  Bruno Haible  <bruno@clisp.org>
+
+       * benchmarks/timebench2.sh: Multiply all repeat counts by 100.
+       * benchmarks/timebench2.results: Add recent PowerPC G4 results.
+
+2004-08-26  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * examples/e.cc: remove extra semicolon.
+
+2004-08-25  Bruno Haible  <bruno@clisp.org>
+
+       * autoconf/ltmain.sh: Upgrade to libtool-1.5.6.
+       * m4/libtool.m4: New file, from libtool-1.5.6 with modifications:
+       2004-08-22  Bruno Haible  <bruno@clisp.org>
+               * m4/libtool.m4: Add support for Comeau C++ on Linux.
+               Reported by Prof. Roberto Bagnara <bagnara@cs.unipr.it>.
+       * autoconf/aclocal.m4: Regenerate.
+
+2004-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * include/cln/modules.h (CL_GLOBALIZE_JUMP_LABEL, CL_JUMP_TO): When
+       converting a label to a string, use ASM_UNDERSCORE_PREFIX. Needed on
+       MacOS X.
+       Reported by Darren Bane <darren.bane@ul.ie>.
+
+2004-07-01  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * Version 1.1.8 released.
+
+2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/base/cl_macros.h: alloca(3) has size_t argument type.
+
+2004-06-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * include/cln/floatformat.h: Do define a type here.
+
+2004-06-27  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * include/cln/modules.h (CL_JUMP_TO): Fix AMD64 brokenness.
+
+2004-06-23  Bruno Haible  <bruno@clisp.org>
+
+       * configure.ac: Pretend ftime() is not available. Needed by
+       CL_TIMES_CLOCK.
+
+2004-06-21  Ralf Stephan  <ralf@ark.in-berlin.de>
+
+       * doc/cln.tex: Document jacobi, isprobprime and nextprobprime.
+
+2004-06-18  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * rational/transcendental/cl_RA_logp.cc: fix bug where base is
+       reciprocal of an integer.
+       Reported by Niklas Knutsson <nq@altern.org>.
+
+2004-06-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc,
+       src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc:
+       Make template specializations explicit.
+
+2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
+       src/integer/input/cl_I_read.cc, src/rational/input/cl_RA_read.cc,
+       src/real/input/cl_R_read.cc:  Remove unused labels.
+
+2004-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc,
+       benchmarks/timebench2a.cc, benchmarks/timebench2ap.cc,
+       benchmarks/timebench2b.LiDIA.cc, benchmarks/timebench2b.cc,
+       examples/atan_recip.cc, examples/atanh_recip.cc,
+       examples/contfrac.cc, examples/e.cc, examples/legendre.cc,
+       examples/lucaslehmer.cc, examples/pi.cc, include/cln/GV.h,
+       include/cln/SV.h, include/cln/malloc.h, include/cln/modules.h,
+       include/cln/object.h, include/cln/string.h, src/base/cl_abort.cc,
+       src/base/cl_alloca.h, src/base/cl_malloc.cc,
+       src/base/random/cl_random_from.cc,
+       src/base/string/cl_spushstring_append.cc,
+       src/base/string/cl_spushstring_push.cc,
+       src/base/string/cl_st_debug.cc,
+       src/base/string/input/cl_st_gettoken.cc,
+       src/complex/input/cl_N_read.cc, src/float/input/cl_F_read.cc,
+       src/float/output/cl_F_dprint.cc, src/integer/input/cl_I_read.cc,
+       src/rational/input/cl_RA_read.cc,
+       src/real/format-output/cl_fmt_integer.cc,
+       src/real/format-output/cl_fmt_paddedstring.cc,
+       src/real/input/cl_R_read.cc, src/timing/cl_t_current.cc,
+       src/timing/cl_t_current2.cc, tests/exam.cc, tests/tests.cc,
+       tests/timeLFRAmul.cc, tests/timeLFatan-compare.cc,
+       tests/timeLFatan.cc, tests/timeLFatanh-compare.cc,
+       tests/timeLFatanh.cc, tests/timeLFcos-compare.cc, tests/timeLFcos.cc,
+       tests/timeLFcosh.cc, tests/timeLFexp-compare.cc, tests/timeLFexp.cc,
+       tests/timeLFln-compare.cc, tests/timeLFln.cc,
+       tests/timeLFsin-compare.cc, tests/timeLFsin.cc, tests/timeLFsinh.cc,
+       tests/timeLFsqrt.cc, tests/timeMImisc5.cc, tests/timeMIpow2div.cc,
+       tests/timeMIpow2recip.cc, tests/timeRALFdiv.cc, tests/timeRAtoLF.cc,
+       tests/timeUPMImul.cc, tests/timecatalan.cc, tests/timediv.cc,
+       tests/timediv2adic-compare.cc, tests/timediv2adic.cc,
+       tests/timeeuler.cc, tests/timeexp1.cc, tests/timefact.cc,
+       tests/timegcd.cc, tests/timemul-compare.cc, tests/timemul.cc,
+       tests/timepi.cc, tests/timeprint-compare.cc, tests/timeprint.cc,
+       tests/timerecip2adic-compare.cc, tests/timerecip2adic.cc,
+       tests/timesqrt.cc, tests/timesqrtmodp.cc, tests/timesquare.cc,
+       tests/timezeta3.cc: Change all C include headers to ISO style
+       within C++ code.
+
+2004-06-10  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * examples/perfnum.cc: update to presumed 41st Mersenne prime.
+
+2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * Version 1.1.7 released.
+
+2004-05-02  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * examples/pi.cc and examples/pi.1: New files.
+       * examples/Makefile.in: Build the pi executable.
+
+2004-05-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * src/Makefile.in: Fix for parallel build: wait for subdir objects to
+       be finished before creating the library.
+
+2004-04-30  Richard B. Kreckel  <kreckel@ginac.de>
+
+       * src/integer/output/cl_I_print.cc (print_integer): workaround
+       GCC compiler bug (cf. Debian bug#246319).
+
+2004-03-20  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/gmp.m4 (CL_GMP_CHECK): Do not lose LIBS setting with config.cache
+       enabled.
+
 2004-03-08  Bruno Haible  <bruno@clisp.org>
 
        * src/float/lfloat/elem/cl_LF_mul.cc (operator*): Fix the second