Age | Commit message (Collapse) | Author | Files | Lines |
|
Differences from previous version (5.5.2):
2013.02.15: Changes between NTL 5.5.2 and 6.0
Replaced the old template-like macros for vectors, matrices, and pairs
with true template classes: Vec<T>, Mat<T>, and Pair<S,T>. For
backwards compatibilty, all the names that were used in previous
versions (e.g., vec_ZZ_p, mat_ZZ_p) have been replaced with
appropriate typedefs.
For many years, I resisted the temptation of using templates, because
compiler support was very inconsistent. But that no longer seems to
be the case.
This change, while rather sweeping, should create very few, if any,
incompatibilities with existing software. The biggest issue would be
for software that uses the old template-like macros: such macro
invocations can simply be replaced with appropriate typedefs.
Made the conversion interface more complete and uniform. Also, using
template notation, one can and should now write conv<ZZ>(a) instead of
to_ZZ(a) (for backward compatibility, all the old names to_XXX are
still there, but many new conversions are not available under these
old names). There are many new conversions provided. Moreover,
whenever there is a conversion from a ring R to a ring S, there is a
corresponding, coefficiet-wise conversion from the polynomial ring
R[X] to the polynomial ring R[X].
In addition, using the template mechanism, there are generic
conversions for vectors and matrices. For example, if there is a
conversion from S to T, then there is automatically a corresponding
component-wise conversion from Vec<S> to Vec<T>.
Introduced a more general mechanism for accessing GF2's in packed
structures via indexing (see the class ref_GF2 in the GF2 module).
Employed ideas from David Harvey to make the single-precision FFT
faster (about twice as fast in many cases). This speeds up many
higher-level operations.
Fixed all known bugs.
|
|
|
|
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
|
|
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
|
|
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
|
|
that they look nicer.
|
|
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
|
|
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
|
|
|