Upstream changes:
1.16 Mon Nov 5 13:47 2012
- Drop erroneous MYMETA files from distribution.
1.15 Sun Nov 4 15:30 2012
- Support for hash keys with NUL (\0) characters. Previously,
these were truncated.
devel/p5-Class-XSAccessor from 1.13 to 1.14.
upstream changes:
1.14 Sun Aug 26 23:23 2012
- Skip some failing tests on old debugging perls. Guys, please
upgrade your perl!
Changes from previous:
1.12 Fri Sep 4 19:00 2011
- Reclaim compatibility with the most recent versions of
ExtUtils::ParseXS.
- Explicit tests for wrong-type invocants.
* Fix assignment to lvalue accessors that point at an uninitialized hash
element.
Changes 1.10:
* We don't occasionally crash during END any more. Instead, we rely on the OS
to reap a bit of memory after perl was shut down anyway.
* Tiny refactoring for smaller object size.
Changes 1.09:
* Fix: Predicates return value, not bool
* TODO test for perl-crashing bug (in perl) that can happen
on (arcane) XSUB aliasing on perls < 5.8.9
We're open for work-around patches.
pkgsrc changes:
- removing dependency to devel/p5-AutoXS-Header
Upstream changes:
1.08 Fri Sep 17 20:30 2010
- Promote latest development release to a stable release.
1.07_04 Sun Sep 12 10:30 2010
- Since WIN32 doesn't have the PERL_CORE optimization,
it gets the PERL_NO_GET_CONTEXT optimization back.
- Add threading test that would previously crash on win32
and perls compiled with track-mempool.
- Use the system's malloc/etc for the shared memory, not perl's.
1.07_03 Thu Sep 9 20:30 2010
- Minor constructor optimization/cleanup.
- Various built-time warning fixes.
- PERL_CORE optimization now disabled on WIN32.
- Class::Accessor::Fast compatibility code added (not
for public consumption!)
- Clear requirement of Perl 5.8 everywhere.
- Fix minor (constant as in O(1)) memory leak.
1.07_02 Mon Aug 23 20:30 2010
- Various warning fixes and small cleanups over previous
dev. version.
1.07_01 Wed Aug 18 20:30 2010
- Experimental support for lvalue accessors:
$obj->foo = 12
Upstream changes:
1.07 Sun Aug 15 14:41 2010
- Include two new test files for the fix in 1.06.
- Define PERL_CORE, but *only* while including XSUB.h to get
a significant speed-up (see XSAccessor.xs for an explanation).
Idea from Chocolateboy. Complaints from rightfully annoyed
perl5-porters (in particular but not limited to Nicholas)
go to Steffen.
1.06 Sat Aug 14 20:21 2010
- Add sanity checks to make sure we don't segfault on
invalid invocants (chocolateboy)
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
Upstream changes:
1.05 Sun Nov 15 12:54 2009
- Minor developer doc tweaks.
- Minor XS refactoring
1.04_05 Mon Nov 9 20:10 2009
- Fixes for perls < 5.10:
=> No entersub optimization
=> Do no use precalculated hashes
- Updated entersub optimization
- Remove brain-damaged double-hashing
- Minor portability fixlets
1.04_04 Thu Nov 5 18:00 2009
- Fixes for non-threaded perls
(no need for locks, perl_mutex not even defined).
1.04_03 Tue Nov 3 22:32 2009
** This release features some very radical changes. Test well. **
- Replace use of perl hashes in the global hash key name storage with
a full-blown, separate implementation of a hash table
(Steffen, Chocolateboy)
- Similarly, throw out the SV's for simple C strings.
- Add a global lock for all modifications to global data structures:
- The above three items fix RT #50454 (serious threading issues).
- Add support for alternate use Class::XSAccessor { ... } syntax
(Adam K)
1.04_02 Mon Sep 7 11:35 2009
** This release features some very radical changes. Test well. **
- Significant optimization by replacing the relevant entersub ops
with stripped down versions (Chocolateboy)
1.04_01 Mon Sep 7 11:35 2009
** This release features some very radical changes. Test well. **
- More aggressive OPTIMIZE flags if possible (Chocolateboy)
- Added shorthand syntax for getters, setters, accessors, and predicates
where the attribute has the same name as the method (Chocolateboy)
- Remove dependency on AutoXS::Header.
- Merge Class::XSAccessor::Array into this distribution.
- Refactored the XS to remove duplicate code.
- Refactored the perl code in XSAccessor.pm and Array.pm to remove
duplicate code (=> Heavy.pm).
- Upgrade Devel::PPPort/ppport.h (Chocolateboy)
1.04 Thu Jun 11 16:40 2009
- Fix a bunch of warnings thanks to a heads up from
Marcela Maslanova.
Packages Collection.
The Perl 5 module Class::XSAccessor implements fast read, write and
read/write accessors in XS. Additionally, it can provide predicates
such as has_foo() for testing whether the attribute foo is defined
in the object. It only works with objects that are implemented as
ordinary hashes.