Commit Graph

3875 Commits

Author SHA1 Message Date
mrg
65705a8482 updates for GMP 5.1.3, and new build files for most platforms. 2013-11-29 08:03:41 +00:00
mrg
41ff5b3ae1 port forward our changes:
- allow working on thumb-missing platforms
- fix some minor issues
2013-11-29 08:02:28 +00:00
mrg
3f2a32320a merge GMP 5.1.3 (part 1.) 2013-11-29 07:57:10 +00:00
mrg
dab47db46b initial import GMP 5.1.3 sources. changes include:
fixes for:
- mpn_sbpi1_div_qr_sec and mpn_sbpi1_div_r_sec
- mpz_powm_ui
- AMD family 11h
- mpz_powm_sec and mpn_powm_sec
- ASSERT() fixes
- gcd, gcdext, and invert function fixes
- some PPC division operations
2013-11-29 07:49:47 +00:00
christos
80e7303ab0 Make sure that the next pointers are NULL when we insert screens in the list.
This avoids the problem when screens are re-used that have stale pointers in
them. This was not an issue with circleq's because all the pointers used to
be updated.
2013-11-28 23:19:43 +00:00
christos
323e76e190 hook ppp 2013-11-28 22:34:17 +00:00
christos
84b263706c Merge local changes, add build glue. 2013-11-28 22:33:42 +00:00
bouyer
95d1a8853c update for new binutils code our local patch to avoid warnings when macro are
used for loongson2f workarounds. Should fix mips64el kernel builds.
2013-11-28 22:28:30 +00:00
christos
a619718e42 Import ppp-2.4.5 from git://ozlabs.org/~paulus/ppp.git 2013-11-28 21:53:40 +00:00
joerg
18f7deec71 Spell the null pointer as NULL, not as nul. 2013-11-28 14:40:00 +00:00
mrg
3119017743 find mpfr.h. 2013-11-28 14:21:31 +00:00
joerg
7146c0e533 Forgotten file in update to r195771. 2013-11-28 14:20:33 +00:00
joerg
89906191b6 Update LLVM/Clang to r195771 from the 3.4 release branch. 2013-11-28 14:19:59 +00:00
joerg
1497ea0f18 Import LLVM 3.4rc1 r195771. 2013-11-28 14:17:29 +00:00
joerg
b9d39ec3ed Import Clang 3.4rc1 r195771. 2013-11-28 14:14:46 +00:00
joerg
8538f58f23 Move <dynarray> and <optional> into experimental. 2013-11-28 13:47:29 +00:00
joerg
37cebce520 Import libc++ r195694, primarily to avoid using a public identifier as
template argument that is overriden by macro in pkgsrc.
2013-11-28 13:45:08 +00:00
mrg
c25882ee01 handle with moved mpfr*.h files. 2013-11-28 13:04:35 +00:00
mrg
2d9724377a build fixes for MPFR 3.1.2. 2013-11-28 12:36:55 +00:00
mrg
ac86932595 merge MPFR 3.1.2. changes to moved srcs are already merged. 2013-11-28 12:35:03 +00:00
mrg
d59437c0bc initial import of MPFR 3.1.2. changes since 3.0.1:
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.1/#fixed> or ChangeLog file).
- Bug fixes (see <http://www.mpfr.org/mpfr-3.1.0/#fixed> or ChangeLog file).
- TLS support is now detected automatically. If TLS is supported, MPFR is
  built as thread safe by default. To disable TLS explicitly, configure
  MPFR with --disable-thread-safe.
- The mpfr_urandom and mpfr_urandomb functions now return identical values
  on processors with different word size (assuming the same random seed, and
  since the GMP random generator does not depend itself on the word size,
  cf http://gmplib.org/list-archives/gmp-devel/2010-September/001642.html).
- The mpfr_add_one_ulp and mpfr_sub_one_ulp macros (which are obsolete and
  no more documented) will be removed in a future release.
- Speed improvement for the mpfr_sqr and mpfr_div functions using Mulders'
  algorithm. As a consequence, other functions using those routines are
  also faster.
- Much faster formatted output (mpfr_printf, etc.) with %Rg and similar.
- New functions mpfr_buildopt_gmpinternals_p, mpfr_buildopt_tune_case,
  mpfr_frexp, mpfr_grandom and mpfr_z_sub.
- New divide-by-zero exception (flag) and associated functions.
- Internal change: the logging mechanism has been improved.
- Bug fixes, in particular a huge inefficiency in mpfr_exp (when the
  target precision is less than MPFR_EXP_THRESHOLD) on hard-to-round
  cases, which can take several minutes.
2013-11-28 12:30:54 +00:00
mrg
5f813e10cd delete MPC 0.9 sources and build tree. 2013-11-28 12:13:29 +00:00
mrg
75219f3a01 update to MPC 1.0.1. 2013-11-28 12:08:56 +00:00
mrg
a21412c687 build files for mpc 1.0.1. 2013-11-28 10:57:30 +00:00
mrg
8fa80f2961 initial import of MPC 1.0.1 package. changes since 0.9:
Changes in version 1.0.1:
  - Switched to automake 1.11.6, see
    https://lists.gnu.org/archive/html/automake/2012-07/msg00023.html
  - #14669: Fixed extraction of CC from gmp.h
  - Fixed case of intermediate zero real or imaginary part in mpc_fma,
    found by hydra with GMP_CHECK_RANDOMIZE=1346362345

Changes in version 1.0:
  - First release as a GNU package
  - License change: LGPLv3+ for code, GFDLv1.3+ (with no invariant sections)
    for documentation
  - 100% of all lines are covered by tests
  - Functions renamed:
    mpc_mul_2exp to mpc_mul_2ui, mpc_div_2exp to mpc_div_2ui
  - 0^0, which returned (NaN,NaN) previously, now returns (1,+0)
  - Removed compatibility with K&R compilers, untestable due to lack of
    such compilers
  - New functions: mpc_log10, mpc_mul_2si, mpc_div_2si
  - Speed-ups:
    - mpc_fma
  - Bug fixes:
    - mpc_div and mpc_norm now return a value indicating the effective
      rounding direction, as the other functions
    - mpc_mul, mpc_sqr and mpc_norm now return correct results even if there
      are over- or underflows during the computation
    - mpc_asin, mpc_proj, mpc_sqr: Wrong result when input variable has
      infinite part and equals output variable is corrected
    - mpc_fr_sub: Wrong return value for imaginary part is corrected
2013-11-28 10:32:39 +00:00
christos
145d30531d fix bug in coversion 2013-11-28 03:15:20 +00:00
christos
ed21ba284d use more list macros 2013-11-28 03:15:02 +00:00
christos
f6f8c67078 fix syntax error 2013-11-28 03:14:28 +00:00
christos
4265642a08 CID 272343: Fix resource leak 2013-11-27 21:17:36 +00:00
christos
74b5281623 CID 1062355: Fix resource leak 2013-11-27 21:16:10 +00:00
christos
6172f6db5b CID 1062357: Plug memory leak 2013-11-27 21:13:16 +00:00
christos
17caa37770 CID 1132757: Check error return 2013-11-27 20:52:24 +00:00
christos
6f52ebf583 CID 1132758: Unchecked return value 2013-11-27 20:50:45 +00:00
christos
ce980385c0 CID 1132760: Remove dead code 2013-11-27 20:45:33 +00:00
christos
333c8dd989 CID 1132761: Remove dead code. 2013-11-27 20:44:56 +00:00
christos
a3577e28a8 CID 1132763: Missing NULL check 2013-11-27 20:37:29 +00:00
tron
21eb3dcdd9 Fix compiler error caused by last change:
db_env_create() returns an integer. So we must not compare its return
value with NULL.
2013-11-27 20:31:01 +00:00
christos
8a5a38b31c CID 1132786: Out of bounds write (account for padding) 2013-11-27 18:25:13 +00:00
christos
165d460fe9 CID 1132768 Clarify assign 2013-11-27 18:11:50 +00:00
christos
3591634eb4 CID 1132769: Fix memory leak 2013-11-27 18:11:00 +00:00
christos
427405b6f2 CID 1132770: Fix memory leak 2013-11-27 18:09:06 +00:00
christos
5f52cacb08 CID 1132771: Fix memory leak 2013-11-27 18:08:06 +00:00
christos
b4b09a50dd CID 1132772: Fix memory leak 2013-11-27 18:06:28 +00:00
christos
f2f966f0b6 CID 113277: Add toctou annotation 2013-11-27 17:58:59 +00:00
christos
a2828a1865 CID 1132782: Fix uninitialized variable 2013-11-27 17:55:46 +00:00
christos
b93be9d772 CID 1132783: Fix uninitialized variable 2013-11-27 17:53:00 +00:00
christos
65d0b13b80 CID 1132784: Fix uninitialized variable 2013-11-27 17:51:04 +00:00
christos
82ddaf640d CID 1132786: Fix uninitialized variable 2013-11-27 17:48:21 +00:00
mrg
634d6075be remove unused variable. 2013-11-27 14:21:31 +00:00
macallan
9b3f3c1555 Add (hopefully temporary) kludge to define PCI_MAGIC_IO_RANGE on shark and
make accelerated X work again.
This used to be defined in machine/param.h but lately the param.h from
arch/arm is installed in machine/ instead of the one from arch/shark, so the
Xserver didn't see PCI_MAGIC_IO_RANGE and couldn't figure out how to map its
IO space.
2013-11-27 02:04:48 +00:00