| 1 |
Revision history for Perl extension Class-XSAccessor. |
| 2 |
|
| 3 |
1.19 Fri Nov 22 07:15 2013 |
| 4 |
- Remove the OP tree munging optimization since it wasn't in the |
| 5 |
end really speeding things up. (chocolateboy) |
| 6 |
- Require Time::HiRes explicitly because CentOS cripples the base |
| 7 |
perl install. |
| 8 |
|
| 9 |
1.18 Mon Jun 17 18:07 2013 |
| 10 |
- Revert fixes for implicitly-lvalue getters for now since that |
| 11 |
actually breaks user code. It seems it's not just because the |
| 12 |
users are naughty, so more investigation required. |
| 13 |
|
| 14 |
1.17 Mon Jun 17 07:09 2013 |
| 15 |
- For Hashes: Implement predicates that check definedness and |
| 16 |
existance explicitly. The traditional "predicates" check |
| 17 |
definedness. It's conceivable to also want a bool-check |
| 18 |
type predicate. File a ticket if you need that. |
| 19 |
- Fix bug regarding getters being implicitly lvalue by |
| 20 |
returning the internal SV*. Instead, we now use TARG. |
| 21 |
|
| 22 |
1.16 Mon Nov 5 13:47 2012 |
| 23 |
- Drop erroneous MYMETA files from distribution. |
| 24 |
|
| 25 |
1.15 Sun Nov 4 15:30 2012 |
| 26 |
- Support for hash keys with NUL (\0) characters. Previously, |
| 27 |
these were truncated. |
| 28 |
|
| 29 |
1.14 Sun Aug 26 23:23 2012 |
| 30 |
- Skip some failing tests on old debugging perls. Guys, please |
| 31 |
upgrade your perl! |
| 32 |
|
| 33 |
1.13 Mon Dec 12 08:21 2011 |
| 34 |
- Promotes 1.12_03 to a stable release. |
| 35 |
|
| 36 |
1.12_03 Fri Dec 9 18:29 2011 |
| 37 |
- Fix for unthreaded perls (broken in 1.12_02). |
| 38 |
|
| 39 |
1.12_02 Wed Dec 7 08:20 2011 |
| 40 |
- Removes the cached read-only and read-write accessors |
| 41 |
for the time being. (These were only available from another |
| 42 |
development releasse. |
| 43 |
- Much more brutal thread-safety testing. |
| 44 |
- Fixed thread-safety problem with the global hashkey storage. |
| 45 |
- Lots of refactoring in the C code. |
| 46 |
- Instead of storing an index in the CV, we store a pointer to |
| 47 |
the hashkey struct. |
| 48 |
|
| 49 |
1.12_01 Tue Nov 29 18:40 2011 |
| 50 |
- Implements cached read-only and read-write accessors. |
| 51 |
Details on what that means are in the documentation. |
| 52 |
|
| 53 |
1.12 Fri Sep 4 19:00 2011 |
| 54 |
- Reclaim compatibility with the most recent versions of |
| 55 |
ExtUtils::ParseXS. |
| 56 |
- Explicit tests for wrong-type invocants. |
| 57 |
|
| 58 |
1.11 Fri Dec 3 18:00 2010 |
| 59 |
- Fix assignment to lvalue accessors that |
| 60 |
point at an uninitialized hash element. |
| 61 |
|
| 62 |
1.10 Wed Dec 1 20:44 2010 |
| 63 |
- Fix RT #63458 and potentially #50454 |
| 64 |
We don't occasionally crash during END any more. |
| 65 |
Instead, we rely on the OS to reap a bit of memory after |
| 66 |
perl was shut down anyway. |
| 67 |
- Tiny refactoring for smaller object size. |
| 68 |
|
| 69 |
1.09 Sun Oct 31 12:45 2010 |
| 70 |
- Fix #62531: Predicates return value, not bool (SJOHNSTON) |
| 71 |
- TODO test for perl-crashing bug (in perl) that can happen |
| 72 |
on (arcane) XSUB aliasing on perls < 5.8.9 (Peter Rabbitson) |
| 73 |
We're open for work-around patches. |
| 74 |
|
| 75 |
1.08 Fri Sep 17 20:30 2010 |
| 76 |
- Promote latest development release to a stable release. |
| 77 |
|
| 78 |
1.07_04 Sun Sep 12 10:30 2010 |
| 79 |
- Since WIN32 doesn't have the PERL_CORE optimization, |
| 80 |
it gets the PERL_NO_GET_CONTEXT optimization back. |
| 81 |
- Add threading test that would previously crash on win32 |
| 82 |
and perls compiled with track-mempool. |
| 83 |
- Use the system's malloc/etc for the shared memory, not perl's. |
| 84 |
|
| 85 |
1.07_03 Thu Sep 9 20:30 2010 |
| 86 |
- Minor constructor optimization/cleanup. |
| 87 |
- Various built-time warning fixes. |
| 88 |
- PERL_CORE optimization now disabled on WIN32. |
| 89 |
- Class::Accessor::Fast compatibility code added (not |
| 90 |
for public consumption!) |
| 91 |
- Clear requirement of Perl 5.8 everywhere. |
| 92 |
- Fix minor (constant as in O(1)) memory leak. |
| 93 |
|
| 94 |
1.07_02 Mon Aug 23 20:30 2010 |
| 95 |
- Various warning fixes and small cleanups over previous |
| 96 |
dev. version. |
| 97 |
|
| 98 |
1.07_01 Wed Aug 18 20:30 2010 |
| 99 |
- Experimental support for lvalue accessors: |
| 100 |
$obj->foo = 12 |
| 101 |
|
| 102 |
1.07 Sun Aug 15 14:41 2010 |
| 103 |
- Include two new test files for the fix in 1.06. |
| 104 |
- Define PERL_CORE, but *only* while including XSUB.h to get |
| 105 |
a significant speed-up (see XSAccessor.xs for an explanation). |
| 106 |
Idea from chocolateboy. Complaints from rightfully annoyed |
| 107 |
perl5-porters (in particular but not limited to Nicholas) |
| 108 |
go to Steffen. |
| 109 |
|
| 110 |
1.06 Sat Aug 14 20:21 2010 |
| 111 |
- Add sanity checks to make sure we don't segfault on |
| 112 |
invalid invocants (chocolateboy) |
| 113 |
|
| 114 |
1.05 Sun Nov 15 12:54 2009 |
| 115 |
- Minor developer doc tweaks. |
| 116 |
- Minor XS refactoring |
| 117 |
|
| 118 |
1.04_05 Mon Nov 9 20:10 2009 |
| 119 |
- Fixes for perls < 5.10: |
| 120 |
=> No entersub optimization |
| 121 |
=> Do no use precalculated hashes |
| 122 |
- Updated entersub optimization |
| 123 |
- Remove brain-damaged double-hashing |
| 124 |
- Minor portability fixlets |
| 125 |
|
| 126 |
1.04_04 Thu Nov 5 18:00 2009 |
| 127 |
- Fixes for non-threaded perls |
| 128 |
(no need for locks, perl_mutex not even defined). |
| 129 |
|
| 130 |
1.04_03 Tue Nov 3 22:32 2009 |
| 131 |
** This release features some very radical changes. Test well. ** |
| 132 |
- Replace use of perl hashes in the global hash key name storage with |
| 133 |
a full-blown, separate implementation of a hash table |
| 134 |
(Steffen, chocolateboy) |
| 135 |
- Similarly, throw out the SV's for simple C strings. |
| 136 |
- Add a global lock for all modifications to global data structures: |
| 137 |
- The above three items fix RT #50454 (serious threading issues). |
| 138 |
- Add support for alternate use Class::XSAccessor { ... } syntax |
| 139 |
(Adam K) |
| 140 |
|
| 141 |
1.04_02 Mon Sep 7 11:35 2009 |
| 142 |
** This release features some very radical changes. Test well. ** |
| 143 |
- Significant optimization by replacing the relevant entersub ops |
| 144 |
with stripped down versions (chocolateboy) |
| 145 |
|
| 146 |
1.04_01 Mon Sep 7 11:35 2009 |
| 147 |
** This release features some very radical changes. Test well. ** |
| 148 |
- More aggressive OPTIMIZE flags if possible (chocolateboy) |
| 149 |
- Added shorthand syntax for getters, setters, accessors, and predicates |
| 150 |
where the attribute has the same name as the method (chocolateboy) |
| 151 |
- Remove dependency on AutoXS::Header. |
| 152 |
- Merge Class::XSAccessor::Array into this distribution. |
| 153 |
- Refactored the XS to remove duplicate code. |
| 154 |
- Refactored the perl code in XSAccessor.pm and Array.pm to remove |
| 155 |
duplicate code (=> Heavy.pm). |
| 156 |
- Upgrade Devel::PPPort/ppport.h (chocolateboy) |
| 157 |
|
| 158 |
1.04 Thu Jun 11 16:40 2009 |
| 159 |
- Fix a bunch of warnings thanks to a heads up from |
| 160 |
Marcela Maslanova. |
| 161 |
|
| 162 |
1.03 Sun May 31 18:45 2009 |
| 163 |
- Upgrade to AutoXS::Header 1.01: Make it C89! |
| 164 |
|
| 165 |
1.02 Sun May 17 11:18 2009 |
| 166 |
- Require new AutoXS header version in order to fix |
| 167 |
prototyping issue. |
| 168 |
|
| 169 |
1.01 Sat May 16 16:11 2009 |
| 170 |
- XS boolean constants for PPI |
| 171 |
|
| 172 |
1.00 Sat May 16 13:48 2009 |
| 173 |
- Implement new caching algorithm: Only recreate |
| 174 |
the int => hash key association for new hash keys. |
| 175 |
|
| 176 |
0.14 Tue Dec 9 21:06 2008 |
| 177 |
- Fix Makefile issue on Windows using nmake (Petar Shangov) |
| 178 |
|
| 179 |
0.13 Thu Dec 4 15:06 2008 |
| 180 |
- Add predicate tests |
| 181 |
- Fix some compiler warnings (Tom Heady) |
| 182 |
|
| 183 |
0.12 Tue Dec 2 14:07 2008 |
| 184 |
- Compilation fix for Solaris cc. (Probably going half-way only.) |
| 185 |
|
| 186 |
0.11 Sat Nov 29 21:37 2008 |
| 187 |
- Forgot to add more tests in previous release. |
| 188 |
|
| 189 |
0.10 Sat Nov 29 21:17 2008 |
| 190 |
- Add generation of constructors. |
| 191 |
|
| 192 |
0.09 Sat Nov 29 17:28 2008 |
| 193 |
- Add the class option to set the target class. |
| 194 |
|
| 195 |
0.08 Fri Nov 21 12:17 2008 |
| 196 |
- Reduce code duplication. |
| 197 |
- Fix for compilation issues on Solaris with Sun's cc. |
| 198 |
|
| 199 |
0.07 Thu Aug 29 14:14 2008 |
| 200 |
- Documented the "replace" option. |
| 201 |
- Added the "chained" option to generate chainable setters |
| 202 |
and mutators. |
| 203 |
|
| 204 |
0.06 Thu Aug 28 13:39 2008 |
| 205 |
- Copy input scalars on setter/mutator calls (RT #38573) |
| 206 |
|
| 207 |
0.05 Sat Jun 21 18:06 2008 |
| 208 |
- Add read/write accessors. (chocolateboy) |
| 209 |
- By default, return the new value from setters. (chocolateboy) |
| 210 |
- Add predicates, i.e. "has_foo". |
| 211 |
|
| 212 |
0.04 Mon May 3 19:12 2008 |
| 213 |
- Win32 support. |
| 214 |
|
| 215 |
0.03 Mon May 3 19:12 2008 |
| 216 |
- Refer to Class::XSAccessor::Array for array based objects. |
| 217 |
|
| 218 |
0.02 Mon Apr 3 17:12 2008 |
| 219 |
- Mention in the docs that fully qualified method names are |
| 220 |
supported. |
| 221 |
|
| 222 |
0.01 Mon Apr 3 17:09 2008 |
| 223 |
- original version as uploaded to CPAN. |
| 224 |
|