summaryrefslogtreecommitdiff
path: root/ext/XS
Commit message (Collapse)AuthorAgeFilesLines
* Rename ext/XS/Typemap to ext/XS-TypemapNicholas Clark2009-02-098-1372/+0
|
* Rename ext/XS/APItest to ext/XS-APItestNicholas Clark2009-02-0923-2667/+0
|
* Verify that pre-computing hashes with shared hash key scalars does not causeNicholas Clark2008-12-281-13/+30
| | | | problems.
* Also test Perl_hv_common() and pre-computed hashes for SV keys.Nicholas Clark2008-12-282-11/+21
|
* Precomputing the hash value for a string representable in bytes, but passed inNicholas Clark2008-12-282-1/+26
| | | | | in UTF-8, would result in storing the wrong hash value in the hash, and hence failing lookups. I guess not that much XS code precomputes hash values.
* Fix typo in code not yet used.Nicholas Clark2008-12-281-1/+1
|
* Fix up .gitignore files some moreFlorian Ragwitz2008-12-191-0/+1
| | | | | | | | | | | | | * Ignore generated macros.all in .gitignore for Sys::Syslog. * Add .gitignore for generated files of GDBM_File. * Ignore DynaLoader.xs in .gitignore for DynaLoader. * Put every pattern in .gitignore files on a single line. * Add some generated .xs files .gitignore of Encode. * Ignore RealPPPort.xs in .gitignore for Devel::PPPort. * Ignore ODBM_File.pm in .gitignore for lib/. * Add .gitignore for generated files of XS::APItest. * Add .gitignore for Compress::Raw::Zlib. * Ignore GDBM_File.pm in .gitignore for lib/.
* [admin] set up .gitignore filesSam Vilain2008-12-191-0/+4
| | | | | A list submitted by Paul Fenwick was briefly factored into directory-specific rules.
* [perl #948] [PATCH] Allow tied $,Chip Salzenberg2008-11-141-1/+1
| | | | | Message-ID: <20081114084436.GJ5779@tytlal.topaz.cx> p4raw-id: //depot/perl@34831
* Avoid leaving a VAR.txt after testing terminates on any platform whereNicholas Clark2008-10-291-2/+1
| | | | | | you can't unlink an open file by instead opening $^X for read to get a file handle for test purposes. p4raw-id: //depot/perl@34639
* $? is PVLV on VMS (and actually, anywhere else where COMPLEX_STATUS isNicholas Clark2008-09-271-0/+5
| | | | | defined). p4raw-id: //depot/perl@34433
* $! and $1 are PVMG(), but their content is undefined when peekingH.Merijn Brand2008-09-261-3/+3
| | | p4raw-id: //depot/perl@34420
* Add new test file to MANIFEST. Fix tests for threaded builds.H.Merijn Brand2008-09-251-1/+1
| | | p4raw-id: //depot/perl@34418
* New XS::APItest's for sv_peek based on my DDumper workH.Merijn Brand2008-09-253-1/+106
| | | p4raw-id: //depot/perl@34417
* Bump VERSIONs in all non-dual-lived modules that have changedSteve Hay2008-09-151-1/+1
| | | | | | | | | | since 5.8.8, ready for merging into maint-5.8 prior to 5.8.9. (Many (all?) of these should really have been changed prior to 5.10.0, but better late than never.) Also modify cmpVERSION.pl to skip uninstalled test modules whose VERSIONs don't really matter. p4raw-id: //depot/perl@34365
* Re: [PATCH] mg_magical() sometimes turns SvRMAGICAL on when it shouldn'tVincent Pit2008-03-103-1/+70
| | | | | Message-ID: <47ACD61B.6030501@profvince.com> p4raw-id: //depot/perl@33458
* Remove hardcoded cop.h constants from APItest.pm :-(Nicholas Clark2008-01-213-21/+15
| | | | | Add G_WANT. Make call.t use G_WANT. p4raw-id: //depot/perl@33023
* Integrate:Nicholas Clark2007-12-228-71/+137
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ 32483] Use a new (clean) anonymous hash for each loop, rather than a hash in the pad, as the latter can change internal state sufficiently to confuse matters (even though in all cases it has no keys and from Perl space is "measurably" identical). [ 32500] Get APItest.xs compiling on 5.8.x by making the compilation of the Perl_hv_common() test code conditional on the macro hv_common being defined, and the refcounted_he code conditional on it being 5.9 or later. [ 32501] Hack round the fact that UNITCHECK is nothing special on 5.8.x by conditionally creating a sub UNITCHECK(&); [ 32502] UNITCHECK isn't anything special in 5.8.x, so don't run those tests. [ 32503] Skip the op.t API test as it's not relevant to 5.8.x (%^H propagation). Correct the expectations of hash.t and svsetsv.t for 5.8.x. [ 32507] Test both dMY_CXT and dMY_CXT_INTERP. p4raw-link: @32507 on //depot/blead-maint-fixup/perl: 948cafa0ee2c83e155ea7f64aa3684aa54c83031 p4raw-link: @32503 on //depot/blead-maint-fixup/perl: 0a4679392d1fb21a111f1f0a9e93261b2b2cd4e7 p4raw-link: @32502 on //depot/blead-maint-fixup/perl: cfed56ecfc9c769a0f76147400aa46972ddbb0be p4raw-link: @32501 on //depot/blead-maint-fixup/perl: 8221ebfdedcb3fbfc645196464faaf397ba18800 p4raw-link: @32500 on //depot/blead-maint-fixup/perl: 77ea6e921df11217724b2f5c3c6b6a6ff488ab44 p4raw-link: @32483 on //depot/blead-maint-fixup/perl: 42b4d13769a3b10e7ffb0a3d275d2fdda0245bd5 p4raw-id: //depot/perl@32699 p4raw-integrated: from //depot/blead-maint-fixup/perl@32698 'copy in' ext/XS/APItest/APItest.pm ext/XS/APItest/APItest.xs ext/XS/APItest/t/hash.t ext/XS/APItest/t/my_cxt.t ext/XS/APItest/t/op.t ext/XS/APItest/t/svsetsv.t ext/XS/APItest/t/xs_special_subs.t ext/XS/APItest/t/xs_special_subs_require.t (@32482..) 'merge in' perl.h (@32504..)
* ext/XS/APITest/APITest.xs was suffering casting issues with g++Steve Peters2007-09-201-3/+3
| | | | | as well after the addition of Perl_hv_common(). p4raw-id: //depot/perl@31929
* Use Perl_hv_common() to test disabling the key conversion in hashNicholas Clark2007-09-202-0/+63
| | | | | lookups. p4raw-id: //depot/perl@31923
* Lots more tests with many permuations of 7, 8 and $lots bit data.Nicholas Clark2007-09-191-9/+46
| | | p4raw-id: //depot/perl@31915
* Parameterise the code that tests the rot13 hash, and add a secondNicholas Clark2007-09-192-54/+141
| | | | | hashtype to test - bitflip (that xors code point with 32). p4raw-id: //depot/perl@31914
* Call the key transformation function for hv_exists()/hv_fetch()/Nicholas Clark2007-09-192-1/+57
| | | | | hv_store(). (And test this) p4raw-id: //depot/perl@31912
* Call the key transformation function for hv_delete().Nicholas Clark2007-09-193-4/+59
| | | | | | | Honour the HV_DISABLE_UVAR_XKEY for hv_delete(). Test this. [Pass in 3 more parameters to S_hv_magic_uvar_xkey()] p4raw-id: //depot/perl@31905
* For an LVALUE fetch, "hv_fetch()" will recurse into "hv_store()" for aNicholas Clark2007-09-192-0/+115
| | | | | | | | | hash with magic. Field hashes have u magic, so this recursion triggers. However, key conversion replaces the original key with the converted key, so we need to ensure that conversion happens exactly once, else for a non-idempotent key conversion routine (eg ROT13) we will see double conversion in this case. p4raw-id: //depot/perl@31898
* PerlIO_exportFILE() and PerlIO_releaseFILE() should manage the fdNicholas Clark2007-03-191-1/+2
| | | | | reference counts correctly. p4raw-id: //depot/perl@30633
* Rename exception() to apitest_exception() in XS/APItest, so that itNicholas Clark2007-03-044-6/+10
| | | | | | doesn't clash with the exception() in Devel/PPPort. This way, all tests pass when both modules are staticly linked. p4raw-id: //depot/perl@30459
* Use newer 'threads' constructsJerry D. Hedden2007-02-151-1/+1
| | | | | | From: "Jerry D. Hedden" <jdhedden@yahoo.com> Message-ID: <844555.64815.qm@web30202.mail.mud.yahoo.com> p4raw-id: //depot/perl@30310
* Also check BEGIN/UNITCHECK/CHECK/INIT/END for require.Nicholas Clark2007-01-292-1/+172
| | | p4raw-id: //depot/perl@30076
* UNITCHECK for XS code. Turned out to be harder that expected.Nicholas Clark2007-01-293-4/+99
| | | | | We need to get the XS BOOT section to run any UNITCHECK blocks for us. p4raw-id: //depot/perl@30072
* BEGIN blocks in XS should work. (Given that CHECK, INIT and END all do)Nicholas Clark2007-01-293-3/+120
| | | p4raw-id: //depot/perl@30067
* Fix tests added by #29248 and #29249Steve Hay2006-11-152-1/+6
| | | p4raw-id: //depot/perl@29284
* Re: Fix linker error on Win32Yves Orton2006-11-151-1/+1
| | | | | Message-ID: <9b18b3110611150136n7c90d187t5cf49847f153a537@mail.gmail.com> p4raw-id: //depot/perl@29277
* Forgot to add the new files for 29248.Nicholas Clark2006-11-124-0/+72
| | | p4raw-id: //depot/perl@29249
* Change 24714 was arguably over-ambitious, in that non-core modulesNicholas Clark2006-11-123-2/+9
| | | | | | | can't be expected to know that sv_setsv() may now not "really" copy a scalar. So arrange things so that COW of shared hash key scalars is only done for calls within the the PERL_CORE. p4raw-id: //depot/perl@29248
* Silence Borland compiler warnings in XS::APItest and Win32Steve Hay2006-08-291-1/+1
| | | | | (See: http://www.nntp.perl.org/group/perl.daily-build.reports/40471) p4raw-id: //depot/perl@28768
* g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and ↵Jarkko Hietaniemi2006-08-222-2/+2
| | | | | | | | | Time::HiRes 1.88 in CPAN) Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi> ...plus various version bumps and Digest::MD5 test file fixes. p4raw-id: //depot/perl@28744
* Clear up most of the VC6 compiler warnings in the following smoke:Steve Hay2006-07-271-1/+0
| | | | | http://www.nntp.perl.org/group/perl.daily-build.reports/39733 p4raw-id: //depot/perl@28626
* Comprehensive regression tests for Perl_refcounted_he_fetch().Nicholas Clark2006-05-292-0/+55
| | | | | | Fix a bug due to the fact that Perl's typedef'd "bool" type isn't actually boolean. p4raw-id: //depot/perl@28335
* Perl_unsharepvn() was no longer being used in core, and changes toNicholas Clark2006-04-102-1/+26
| | | | | S_unshare_hek_or_pvn() had broken it. Now fixed and tested. p4raw-id: //depot/perl@27761
* Fix bug 36267 - assigning to a tied hash shouldn't change theNicholas Clark2006-03-301-3/+3
| | | | | | | | underlying hash. (It used to, if the underlying hash had had storage allocated). This has the side effect of changing the return value from hv_store and hv_store_ent for some tied hash scenarios. But *to* something consistent (ly crazy) p4raw-id: //depot/perl@27636
* Test croak(NULL)Gisle Aas2006-03-212-5/+15
| | | p4raw-id: //depot/perl@27560
* Use a union for storing the shared hash key reference count, ratherNicholas Clark2006-01-301-1/+1
| | | | | than messy pointer hacks. p4raw-id: //depot/perl@27000
* Bump $VERSION in many modules that have changed.Nicholas Clark2006-01-121-1/+1
| | | p4raw-id: //depot/perl@26804
* re-implement MY_CXT API more efficiently, and add explicitDave Mitchell2005-12-291-3/+16
| | | | | interpeter arg variant p4raw-id: //depot/perl@26523
* add tests for MY_CXT API and improve its documentationDave Mitchell2005-12-293-1/+135
| | | p4raw-id: //depot/perl@26522
* Map the HE arena onto SV type 0 (SVt_NULL).Nicholas Clark2005-11-191-3/+4
| | | | | Abolish PL_he_root and PL_he_arenaroot. p4raw-id: //depot/perl@26171
* Typos in *.p[lm]Piotr Fusik2005-08-021-3/+3
| | | | | | From: "Piotr Fusik" <pfusik@op.pl> Message-ID: <001401c595bd$dccb5d80$0bd34dd5@piec> p4raw-id: //depot/perl@25261
* Re: janitorial work ? [patch]Jim Cromie2005-07-081-1/+1
| | | | | | | | Message-ID: <42CC3CE9.5050606@divsol.com> (reverted all dual-lived modules since they must work with older perls too so must wait for a new Devel::PPPort) p4raw-id: //depot/perl@25101
* Make the tests for hv_free_ent and hv_delayfree_ent pass underNicholas Clark2005-07-041-1/+4
| | | | | -DPURIFY too. p4raw-id: //depot/perl@25078