[libscalar-list-utils-perl] branch master updated (9c19a49 -> c586211)
Salvatore Bonaccorso
carnil at debian.org
Sat Aug 30 14:50:45 UTC 2014
This is an automated email from the git hooks/post-receive script.
carnil pushed a change to branch master
in repository libscalar-list-utils-perl.
from 9c19a49 Merge tag 'upstream/1.39'
new 8f9492f Add debian/upstream/metadata
new d272514 Update debian/changelog
adds d5e1552 Create repository
adds cb75f62 Fri Feb 20 1998 Graham Barr <gbarr at pobox.com>
adds 8a55518 Modified XS code so it will compile with 5.004 and 5.005
adds 2c5c8c9 - Added reftype - improved reduce by not doing a sub call - reduce now uses $a and $b - now compiles with 5.005_5x
adds f75c19b Rename package
adds 9ad2e6d - Split into three packages Ref::Util, List::Util and Scalar::DualVar - readonly and clock were removed in favor of other modules
adds cff5354 Add new .pm files to repository
adds b43c421 Added weaken and isweak to Ref::Util
adds 511a106 Added List::Util::forall
adds 086141e Removed forall as it is very broken
adds aed3814 Updated README
adds ee55631 - Modules are now called List::Util & Scalar::Util - Supports non-XS install - perl version of reftype now returns "REF" when it should
adds b4bda74 - Better testcase for reftype
adds 9e7354f - Added some examples of simple subs that have been requested but not added - Updated copyright dates
adds 095e11b - Added auto-detection for a compiler and install the perl version if not found - Better perl implemenation of reftype, should be thread-safe now
adds 5cc845c Release 1.01
adds 560ae37 Check for SvMAGICAL on argument for reftype and blessed
adds 7d29f2a Release 1.02
adds 8243cf3 Fix stack problem in first() and reduce() Align with core dist
adds 65b47b8 perl5.004 does not like exit from within a BEGIN, it core dumps
adds b65bc2a Handle eval{} inside of the code blocks for first and reduce
adds 805b8f7 Handle tied variables passed for the number to dualvar() Preserve number type (IV/UV/NV) in dualvar()
adds 98777c5 Added List::Util::shuffle() similar to that described in the perl FAQ except it returns a shuffled list instead of modifying an array passed by reference
adds 06e4d3d More changes to help merging with core dist
adds 1258427 Release 1.03
adds 5c75ec2 Documentation updates
adds 8a388d4 Fix context type (caused a core on Tru64) Call pp_rand via *(PL_ppaddr[OP_RAND])
adds 0580437 Release 1.04
adds 394c2b2 Fix shuffle() to compile with threaded perl
adds 6f1d954 Release 1.05
adds 08ecc85 Document problems known with specific versions of perl
adds d1bdd0f Generate a typemap for NV for all perl version up to and including 5.006
adds 0722352 Some platforms require the main executable to export symbols needed by modules. In 5.7.2 and prior releases of perl Perl_cxinc was not exported so we need to duplicate its functionality
adds b0b88c3 Release 1.06
adds af79f85 Add Scalar::Util::openhandle()
adds cdf14c3 Release 1.07
adds f453bdd Add comment to README about failing tests on perl5.6.0
adds 20679d2 Release 1.0701
adds 44c3483 Scalar::Util - Add refaddr()
adds dc93ccb Add isvstring()
adds 0f9dcca Fix context so that sub for reduce/first is always in a scalar context Fix sum/min/max so that they don't upgrade their arguments to NVs if they are IV or UV
adds 523ba5b Use PAD_* macros in 5.9 Reuse our own target when calling pp_rand in shuffle() so we dont need to create a fake pad
adds 8700ecf Add XS_VERSION
adds b8adff8 Use UV to return refaddr
adds b73d418 Release 1.09
adds bcef5b5 Ensure PERL_DL_NONLAZY is false so we don't catch link errors during bootstrap and then test the perl only version
adds 4651794 Add looks_like_number
adds 51cfd5a Make lln tests and perl implementation mimic changes to looks_like_number in different perl versions
adds aa22b6d Fix linking error for older perls
adds 84cdf61 Release 1.10
adds 3cc3b75 Add -DPERL_EXT to DEFINEs, requested by Jarkko for 5.8.1
adds f630f23 Change how patchlevel.h is included and check we got what we wanted (from Jarkko)
adds 19a34e7 Fix t/isvstring.t so it does not cause perl5.004 to segv because of the exit from within BEGIN
adds 6657ba0 Add set_prototype from Rafael Garcia-Suarez
adds c279d57 Add t/proto.t to MANIFEST
adds 08309b4 Release 1.11
adds 38e8875 Get path for make from $Config
adds ef90327 Fix test for EBCDIC portability
adds 4e0d21c Install into the 'perl' installdirs for >= 5.008
adds bfcf4f4 Don't directly use the SV returned as $a in the next iteration, take a copy instead. Fixes problem if the code block result was from an eval or sub call
adds 07abd71 Release 1.12
adds 06a4c21 Fix NV casting issue with some compilers
adds dc4e803 Release 1.13
adds 1becd11 Check passing a reference to a constant to weak()
adds fbee3a2 Avoid memory leak
adds 750a522 Fixed looks_like_number(undef) to return false for perl >= 5.009002
adds 7e380b4 Fixed bug in refaddr() when passed a tied variable
adds b416214
adds b9417a5
adds 161a2b8 prepare for release 1.14
adds 4b6ccb9 Add test to always test the perl-only code
adds c085b98 Convert to use Module::Install
adds 8d0db75 Convert to use Test::More
adds 7860f9d include Test::More
adds 319f2f1 Refactor use of Sv..X() macros to be Sv.._set()
adds 396adcd Changes from Jarkko for Symbian port of Perl
adds d7b1401 Doc updates
adds 4405dd9 Fix mem-leak in first
adds 44eeca0 Prepare 1.15
adds ce90774 * Change to refaddr.t test to avoid false errors on some 64 bit platforms * Fix all perl only tests to work when in the core build environment * Fix looks like number test to work for 5.8.5 and above
adds 5b8c9e7 Update XS code to declare PERL_UNUSED_DECL conditionally
adds 9f1384a Prepare 1.17
adds 114dd77 Fix memory leaks in first and reduce
adds 6277917 Do not bless an un-blessed reference passed to the pure-perl implementation of refaddr()
adds 6453615 Apply multicall from Robin Houston
adds 7b5a8da Update of multicall patch to fix memory leak
adds c8a0ce3 use strict
adds c9a9855 Document sum() returns undef if passed an empty list
adds 89b3011 Change how perl only testing is done due to use of XSLoader
adds 39b8684 looks_like_number() to return 0 for undef or reference for all perl version
adds f3b2c1f Make perl-only looks_like_number match Perl API version for undef and references
adds 84f1462 Add note to weaken doc that copying creates a non-weak reference
adds 2a66d26 Avoid calling pp_rand for perl >= 5.8.1
adds addce73 Update multicall from Robin
adds 0cddc1b Make XS compile again for perl<5.6.0 but still use perl-only for reduce and first
adds a6f69e1 Changes for 1.18
adds b4a5a48 Fix invalid conversion from `const char*' to `char*' warnings Patch from Paul Marquess
adds f3c3aaa Document that reduce calls BLOCK in a scalar context
adds 0dd9db2
adds 098d3c8 Add SEE ALSO to docs
adds 7f2b7f0 Avoid Makefile error when building on Win32
adds af32af1 Avoid calling pp_rand for perl >= 5.9.0
adds 6e23ed2 Fix hardcoded "/" in a filepath that causes p_tainted.t to fail on VMS
adds 2f95ce3 A new regression test for readonly, taking a reference to a constant passed to a sub
adds 7130fb8 Update version to 1.19
adds be6e061 fix the issue reported by Tassilo von Parseval. The essential problem is that PUSHSTACK does an implicit PUTBACK, but POPSTACK doesn't.
adds d8481f4 Add note to documentation about identity values
adds 7b89627 Improve import error reporting
adds 7b3b17d Removed need for dummy methods in UNIVERSAL for perl-only code
adds fd7d41a Removed mention of a book that was never published
adds 5e561c0 Update Module::Install
adds db4b04d Check first argument to reduce is a CODE reference
adds faafed5 Check first argument to reduce is a CODE reference in the perl implementation Add tests for first argument to reduce being a CODE reference
adds 9f23926 Fix min/max to support overloaded values
adds 835676c Fwd: [PATCH] [Scalar::Util] more tests for openhandle
adds 4ab93e8 Avoid Use of uninitialized value in pattern match
adds e87c3dd Fix sum() to support overloaded values
adds fbf0ccd Fix looks_like_number to support tied and overloaded values
adds 1dae19d Add List::Util::XS
adds ccb6ddd Change repository in META.yml to point to gitweb
adds 0b3b5d3 Remove Module::Install::InstallDirs
adds c85c501 Fix typo in docs
adds cbf5ee6 die $@ if do $f fails
adds 153a5d4 Skip constant ref test on a MAD build as they do not have a ref count of 1
adds ae5a479 Move required version to 5.006_01
adds 0bade6f Add test to check List::Util::XS::VERSION
adds d592854 Protect perl-only version of blessed against recursion by UNIVERSAL::can
adds ec8f415 remove dynamic content
adds b50bf97 deal with stupid slashing on Win32 http://rt.cpan.org/Public/Bug/Display.html?id=25430
adds e37d29d fail as early as possible on old versions
adds 13a01cb make it clear that the synopsis is not exhaustive
adds 44f7702 test that we fail on pure-perl exporting xs-only stuff
adds 90162a7 fix typo in exception
adds 2ac9110 document the list of XS-only routines
adds 07a8671 make export failure test more specific
adds 9fcb503 ...and remove some noise
adds a5a73b3 actual workign fix from DAGOLDEN for p_tainted on win32
adds de58a66 ...make the previous fix work on win32 and otherwise
adds 544d84c Remove Module::Install and just use EU::MM
adds bb72847 Ignore more files
adds fcf7491 Fix used only once warning
adds 94de03f Increase minimum perl version required to 5.8
adds 6fbc2bf Make more drop-in for core perl
adds b0a16f5 Move pure perl code from eval strings to separate modules
adds 6b60a9e Add stack-corruption.t from core
adds eddddcc Reimplement perl version of reftype and blessed using B
adds 8ce1f4f Revert minimum version needed to 5.6
adds 7f5194f Release 1.20
adds 90a2ed1 Do not attempt to modify files in blib after being copied there
adds 83baa72 When building inside perl, tests for weaken should be always run
adds c278358 Release 1.21
adds caf9e22 silence a compiler warning about an unreferenced local variable
adds 94929af RT#51484 Preserve utf8 flag of string passed to dualvar()
adds 5e8db83 RT#51454 Check first argument to first/reduce is a code reference
adds 9045802 RT#50528 [PATCH] p_tainted.t fix for VMS
adds 69ab4ea RT#48550 fix pure perl looks_like_number not to match non-ascii digits
adds fbf4073 fix file permissions on tests
adds 31de41f Release 1.22
adds 32804ff Add a test file to ensure 'GETMAGIC' called once
adds 9890861 "GETMAGIC" should be called only once
adds 96ac4a1 Use PERL_NO_GET_CONTEXT for efficiency (see perlguts)
adds 729747b Don't care about dVAR. ExtUtils::ParseXS deals with it.
adds 091c735 t/p_max.t, t/p_min.t fail on perl5.8.1. This may be issue in the old perl5 or overload.pm. I added explicit overloading for the mock object, then test passed.
adds a78c2fd avoid non-portable warnings
adds 02ce02c Fix PP::reftype in edge cases
adds 962152b Release 1.23
adds 6f3506d Add failing tests; SVt_RV is not directly SvROK
adds 14561f6 Implement openhandle() in XS (with extra tests)
adds e0d65aa Modernize *.pm
adds 9994eea Fix t/openhan.t for 5.6
adds fa6527c Modernize ListUtil.xs
adds 393021f Add ppport.h
adds 71b1810 Fix an overloading issue on sum(), and add tests for overloading
adds 8c83734 Small tweaks for minstr()/maxstr()
adds 05dbe5e Optimize dualvar()
adds f7b57f2 Use sv_copypv() instead of SvPV() and sv_setpv()
adds d05b09a No regexp capture
adds f518433 Release 1.23_01
adds 5f0b099 Fix first() and reduce() to check the callback first; &first(1) is now illigal.
adds 74a78f5 Fix the use of gv_fetchpv(): its second argument is a flag, not a boolean.
adds b7f591c Fix reduce() to allow XSUB callbacks
adds 8575ce4 Fix first() to allow XSUB callbacks
adds 917644f Resolve RT #55763: tainted() doesn't do SvGETMAGIC(sv)
adds 608223c define CvISXSUB so older erl versions will still compile
adds 38d8a41 Release 1.23_02
adds a3da4e5 use no overloading pragma in refaddr() when available
adds 6148179 Fix comment to reflect the patch just applied to blead perl
adds 6a8bbdd The demise of the PP implementation
adds a216141 Version bump to 1.23_03, remove leftover function
adds ba31709 document changes
adds a0389ac Remove pure perl tests from MANIFEST
adds 210d1f9 RT#61118 Fix assumption in sum() that once magic, always magic
adds e3b2e66 increase perl version required to be 5.008
adds 61ebeaf Release 1.23_03
adds b0fbf96 Fix off-by-two on string literal size argument - fixes RT72700
adds 7da10c9 Capture MANIFEST after adding MYMETA.yml
adds 1e07c68 Bumped version to 1.23_04; updated Changes notes
adds bcaaba5 git ignore MYMETA.{json,yml}
adds 7182ffc Bump to 1.24 release version
adds c5d36f6 Update git repo location in Makefile.PL
adds 20cb2c5 restore portability to perl 5.6, such as it was
adds f16d69a Bump version to 1.25; updated Changes notes
adds bc0f133 Set INSTALLDIRS to 'site' if the perl version is >= 5.11 (Robert Sedlacek)
adds 922f287 Implement a 'sum0', which is the first step to making sum() return 0 for an empty list
adds f09d20a Apply perl.git 2a5bd8731bfdd9308c12fac06faa637e38b5eeb5 - fix a hash order dependency in cpan/List-Util tests (RT81316)
adds f44efcd Merge (modified) patch from RT76150 - adds Scalar::Util::isdual()
adds 6f057f8 Bumped version to 1.26; updated Changes notes
adds b4285bf Updated MANIFEST
adds 0fc27e2 First attempt at fixing multicall refcount bug (RT80646)
adds da485bb Bump version to 1.26_001; updated Changes notes
adds 92af173 Bumped version to 1.27; updated Changes notes
adds 48be772 Fix the tests for blessed() so they don't break Test::More.
adds 382756e Merge pull request #2 from schwern/bug/TB2
adds f647f81 Initial implementation of pairgrep
adds 44357d6 Initial implementation of pairmap
adds 13a2c62 Initial implementation of pairs
adds f13d10d undef-pad an odd-sized input list to the pair* functions
adds 3e65b3a Bump VERSION, added Changes notes
adds 1077fb5 Added t/pair.t to MANIFEST
adds f52d10b Also added pairkeys and pairvalues
adds afa81bd Bump VERSION, added Changes notes
adds b40540b Document and unit-test that pairmap and pairgrep alias $a and $b to elements of the list
adds 85ba3e0 Bump VERSION, update Changes notes
adds fd29309 Ensure that pair* functions can cope with returning lists even if the stack changes base beneath them
adds 8630ea8 Also handle moving stack in pair* functions for fetching arguments from it
adds 8b93bf7 Use the ST() macro also for setting return list values
adds 781ba85 Bump VERSION, update Changes notes
adds 5a7ded4 MSVC is C89 and doesn't allow mixed declarations and statements
adds c24990a Merge pull request #5 from tonycoz/fix-win32
adds ec5d2c8 Move pairgrep/pairmap to outside of main \#ifdef dMULTICALL
adds ed79b59 Implement MULTICALL-optimised versions of pairgrep and pairmap
adds cc35cec XS implementation of pairfirst
adds f13492c MULTICALL implementation of pairfirst
adds 43c975a Fix declaration-after-code for C99-challenged C compilers *cough*MSVC*cough*
adds ac86b5b Bump VERSION, update Changes notes
adds e82b948 Documentation rearrangement in List::Util
adds 8553644 Bump VERSION, update Changes notes
adds c9d2eb3 pairmap in scalar context should return just count
adds b593fc0 Warnings (in 'misc' category) if pair* functions are given odd-sized lists
adds f2f4a17 Bumped version to 1.31; updated Changes notes
adds 8409086 TODO test in t/readonly.t now passes since 5.19.3 (RT88223)
adds cfdbbed Use =head2 rather than =item for function names in Scalar/Util.pm
adds e7139d6 Comment on the fact that package "0" is defined but false (RT88201)
adds 734657a Skip pairmap()'s MULTICALL implementation on 5.8.9 and 5.10.0 as it appears not to work (RT87857)
adds 629c008 Bumped version to 1.32; updated Changes notes
adds dcf173a Touch the caller's and , to avoid 'used only once' warnings (RT88848)
adds 0cd86a9 Added first attempt at any/all/none/notall
adds 2042bbc Provide also a MULTICALL version of any/all/none/notall
adds 0c405b7 Bumped version to 1.33; updated Changes notes
adds 24a8c43 Capture t/any-all.t in MANIFEST
adds 80119df Provide examples of implementations of any/all/none/notall on reduce
adds e3c7bdc Expurge C99 comments
adds de149a9 Merge pull request #9 from vpit/expurge-c99-comments
adds 069bbb8 Fix skip() counts in t/dualvar.t
adds 2389bf8 Replace uses of the :shared attribute by calls to share()
adds 900ce65 Correct the number of tests in t/dualvar.t
adds 486cdd9 Merge branch 'fix-dualvar-test-for-560' of git://github.com/vpit/Scalar-List-Utils into vpit-fix-dualvar-test-for-560
adds 3a36f13 Fix test count again; load threads::shared at BEGIN time so share()'s prototype takes effect properly
adds a8dbd5e Neater examples of other functions built using 'reduce'
adds c09628b Updated (C) info
adds e56d3d4 Neaten indentation in ListUtil.xs - standarise on sw=4
adds 3fd30ca Tabs Are Evil
adds 0106ad8 More whitespace code-style fixes and neatenings
adds d6234eb Ensure that reduce() and first() are always implemented even without MULTICALL
adds ddc9bdf Neater muxing logic on any/all/none/notall; have them all return PL_sv_{yes,no}
adds 44018c1 Multiplex sum() and sum0() in XS code
adds 76058ca Added List::Util::product()
adds bd31ebc Test that blessed() returns undef for non-blessed refs, not merely false
adds dc6dc72 Bump version to 1.35; updated Changes notes
adds da059a9 Wording fixes in descriptions of any/none/notall
adds 2bcee9b Clarify aliasing behaviour of the pair* functions as compared grep/map
adds ac5708c Rewrap all the documentation to tw=79
adds c1e0478 Fix 'overload' invocations in unit tests (thanks Zefram; RT#91969)
adds 24475c9 Nicer module docs; notate return types in =head lines, reorder and group Scalar::Util functions by classifications
adds 608a895 Much neatening of t/weak.t
adds 6fb0d6d Initial attempt at Scalar::Util::unweaken()
adds b411008 Perl before 5.14 lacks croak_no_modify(); #define it
adds f544967 Perl before 5.14 lacks Perl_sv_del_backref(); simulate it by sv_clear(); SvRV_set()
adds f1c5f1c Perl before 5.12 lacks Perl_ck_warner(); copypaste a definition from a later Perl
adds c125af1 Add t/product.t to MANIFEST
adds d04e59c Bump version to 1.36; updated Changes notes (new format)
adds 2e570c0 Assert that an unweaken()ed ref remains a ref
adds f54227c Need to call sv_setsv(sv, &PL_sv_undef) rather than sv_clear(sv) to just set it to undef
adds 914f6db Bump version to 1.37; updated Changes notes
adds 6d566d2 Avoid Perl_ckwarn() by using ckWARN() directly, allowing build on older perls (RT92363)
adds 3315b85 Bump version to 1.38; updated Changes notes
adds 8cf9192 Unit test a simple case of pairmap-within-pairmap
adds 1dba326 Have pairs() return blessed objects that recognise ->key and ->value (inspired by DCONWAY's Var::Pairs)
adds b810db1 'use strict; use warnings;' in all unit tests
adds 9921cf7 Delete the silly BEGIN blocks because they're old legacy; all tests pass fine anyway even with some of them missing
adds 767bccc Ensure all shebangs are relative simple ones
adds a0d9ea4 Rewrite sum()/product() to allow neater addition of UV accumulator
adds 6d873d3 Expand L:U:sum() to use IVs while it can, to preserve integer precision of large integers
adds e0f06a4 Abstract out the 'accum' type detection logic so min/max can reuse it
adds b624167 Document known bug RT#95409
adds d520bb5 Booleanise result of looks_like_number() so as not to accidentally leak internals (RT94806)
adds f88e4db SvGETMAGIC() in S:U:set_prototype() (RT72080)
adds b3b6b8a Document the version each of the non-ancient functions were added in (RT96220)
adds 62aa3b5 Bump version to 1.39; updated Changes notes
adds 8cadbe6 Add an empty case block to keep gcc warnings happy (RT96424)
adds 8866c23 Since looks_like_number() returns a boolean, might as well have it yield PL_sv_{yes,no}
adds c779bbc Copy subname out of Sub::Name; rename it to set_subname
adds cd08cfe Initial hack at subname() to return function names, inspired by Sub::Identify
adds a2dbda3 Add unit tests of subname and set_subname
adds 46f4fa3 Bumped version to 1.39_001; updated Changes notes
adds f49c8ea Move the subname utils out into a new Sub::Util package
adds 07efdaf Add a cautionary note to Sub::Name users, that S:U:subname() is not the same as S:N:subname()
adds 7edc0b1 Don't use Test::More 0.88 and done_testing; just supply a test count (for 5.8.x)
adds 7742c19 Move set_prototype to Sub::Util also, give it a different (nicer) interface; add back-compat proxy from Scalar::Util
adds 0bbf225 Updated MANIFEST
adds 2fa79b5 Bumped version to 1.39_003; updated Changes notes (because I forgot to include Changes in _002)
adds 1ebb072 Don't add t/multicall-refcount.t to MANIFEST
adds c91aeba Nicer documentation style using only the function's name in =head2 with a preformatted synopsis afterwards; allows nicer cross-POD L<...> linking
adds 87ae517 Use L</foo> for internal linkage to mention other functions
adds 0657eec Bumped version to 1.39_004; updated Changes notes
adds f4b7858 Also provide a 'prototype' function that wraps CORE's, for symmetry and completeness
adds 47c16cd Bumped version to 1.40; updated/collapsed Changes notes
adds 85aacbe Imported Upstream version 1.40
new e680ab9 Merge tag 'upstream/1.40'
new 095fdca Update debian/changelog
new 1644112 Add copyright stanza for new included lib/Sub/Util.pm
new 7a650bf Update Comment in copyright stanza for lib/Scalar/Util.pm
new 371d44d Wrap and sort fields in debian/control file
new b14bc1d Remove trailing whitespaces in debian/copyright
new ee77d21 Update copyright years for debian/* packaging
new c586211 Prepare changelog for release
The 10 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
Changes | 16 +++
ListUtil.xs | 198 +++++++++++++++++++++++++++++++-------
MANIFEST | 6 +-
META.json | 4 +-
META.yml | 12 +--
MYMETA.json | 4 +-
MYMETA.yml | 12 +--
debian/changelog | 13 ++-
debian/control | 7 +-
debian/copyright | 17 +++-
debian/upstream/metadata | 5 +
lib/List/Util.pm | 112 ++++++++++++++-------
lib/List/Util/XS.pm | 2 +-
lib/Scalar/Util.pm | 83 ++++++++++++----
lib/Sub/Util.pm | 147 ++++++++++++++++++++++++++++
t/prototype.t | 40 ++++++++
t/{proto.t => scalarutil-proto.t} | 0
t/subname.t | 81 ++++++++++++++++
18 files changed, 637 insertions(+), 122 deletions(-)
create mode 100644 debian/upstream/metadata
create mode 100644 lib/Sub/Util.pm
create mode 100644 t/prototype.t
rename t/{proto.t => scalarutil-proto.t} (100%)
create mode 100644 t/subname.t
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libscalar-list-utils-perl.git
More information about the Pkg-perl-cvs-commits
mailing list