| 1 |
Revision history for Perl module Data::Alias |
| 2 |
|
| 3 |
1.30 2026-03-11 XMATH |
| 4 |
- Use isGV_with_GP_on when available. (RT 173582) |
| 5 |
|
| 6 |
1.29 2026-02-02 XMATH |
| 7 |
- Fix compatibility with perl 5.43.8 (contributed by mauke) |
| 8 |
|
| 9 |
1.28 2022-12-21 XMATH |
| 10 |
- Fix compatibliity with perl 5.37.3 and later |
| 11 |
- Fix support for state-variables (alias state $x = ...) |
| 12 |
- Fix handling of negative literal array index (alias $x[-1] = ...) |
| 13 |
|
| 14 |
1.27 2022-12-02 XMATH |
| 15 |
- Fix tests on older perl versions |
| 16 |
|
| 17 |
1.26 2022-12-01 XMATH |
| 18 |
- Fix compile error when using perl 5.37.2 or later |
| 19 |
- Improve diagnostic output from tests |
| 20 |
|
| 21 |
1.25_01 2021-05-15 XMATH |
| 22 |
- Fix localized alias-assignment to previously non-existing hash element. |
| 23 |
- Avoid testing threading on broken perl versions |
| 24 |
- Fix certain linker errors by making sure perl's global variables are |
| 25 |
accessed through their accessor functions when applicable. |
| 26 |
|
| 27 |
1.25 2021-05-11 XMATH |
| 28 |
- Reformatted this file per CPAN::Changes::Spec |
| 29 |
- Switched from Module::Install to ExtUtils::MakeMaker |
| 30 |
- Fix linker errors with dtrace-enabled perl. |
| 31 |
|
| 32 |
1.24 2021-05-05 XMATH |
| 33 |
- bugfix: copy() no longer produces malformed optrees which under certain |
| 34 |
circumstances crashed perl 5.31.2 and later. (contributed by TonyC) |
| 35 |
- update for removal of '.' from @INC in perl 5.26. |
| 36 |
|
| 37 |
1.23 2021-04-30 XMATH |
| 38 |
- bugfix: fix aliasing semantic unintentionally being applied to subs |
| 39 |
defined after a parenthesized alias()-expression since perl 5.11.2. |
| 40 |
|
| 41 |
1.22 2021-04-22 XMATH |
| 42 |
- bugfix: use SvCUR_set instead of direct SvCUR assignment to fix |
| 43 |
compilation problems with -DDEBUGGING builds. (contributed by TonyC) |
| 44 |
- update for parser changes in v5.33.6. (contributed by TonyC) |
| 45 |
|
| 46 |
1.21 2017-12-08 ZEFRAM |
| 47 |
- update for context stack changes in Perl 5.23.8 |
| 48 |
- update to accommodate PERL_OP_PARENT builds of Perl 5.21.11 or later |
| 49 |
(which is the default from Perl 5.25.1) |
| 50 |
- update for removal of LEX_KNOWNEXT in Perl 5.25.1 |
| 51 |
- update test suite to not rely on . in @INC, which is no longer |
| 52 |
necessarily there from Perl 5.25.7 |
| 53 |
- use cleaner wrap_op_checker() API to control op checking |
| 54 |
|
| 55 |
1.20 2015-10-21 ZEFRAM |
| 56 |
- bugfix: avoid some C undefined behaviour from unsequenced side effects |
| 57 |
that in practice bit when using a newer gcc (4.9 rather than 4.7) |
| 58 |
with the parser token stack change in Perl 5.21.9 |
| 59 |
- add doc note advising users to prefer the core aliasing facility on |
| 60 |
Perl 5.22 |
| 61 |
|
| 62 |
1.19 2015-10-21 ZEFRAM |
| 63 |
- bugfix: properly maintain op_last when munging ops |
| 64 |
- update for the parser's PL_expect changes in Perl 5.21.4 |
| 65 |
- update for op_private stricture in Perl 5.21.4 |
| 66 |
- update for sub references directly in stash in Perl 5.21.4 |
| 67 |
- update for IS_PADGV()'s limited visibility in Perl 5.21.4 |
| 68 |
- update for increased specialness of OP_PUSHMARK in Perl 5.21.6 |
| 69 |
- update for distinct PADNAMELIST type in Perl 5.21.7 |
| 70 |
- update for multideref optimisation in Perl 5.21.7, by a disgusting |
| 71 |
hack that depends on a flaw in the optimisation (which may disappear |
| 72 |
in the future) and which disables the optimisation entirely |
| 73 |
- add MYMETA.json to .gitignore |
| 74 |
|
| 75 |
1.18 2013-09-21 ZEFRAM |
| 76 |
- bugfix: store peep chain link reliably under threads |
| 77 |
- update tests for Perl 5.19.4's removal of the special treatment of |
| 78 |
aliased undef in arrays |
| 79 |
- in doc, switch to consistent use of British English spellings |
| 80 |
- doc typo fix |
| 81 |
|
| 82 |
1.17 2013-08-04 ZEFRAM |
| 83 |
- bugfix: correct the dtrace-related macro squashing for Perls prior |
| 84 |
to 5.13.8, where the macros had the wrong number of parameters and |
| 85 |
prevented compilation |
| 86 |
- bugfix: use core's PL_no_localize_ref string constant as data string |
| 87 |
rather than format string |
| 88 |
- update to handle the new padrange op type in Perl 5.17.6 |
| 89 |
- update to handle the new op allocation mechanism in Perl 5.17.2 |
| 90 |
- clarify and expand documentation around list-like assignments |
| 91 |
- clarify documentation of deref() regarding lvalueness |
| 92 |
- remove the bulk of the documentation from the README file |
| 93 |
|
| 94 |
1.16 2011-11-17 ZEFRAM |
| 95 |
- bugfix: use supported API to put destructor calls on the save stack |
| 96 |
(the unsupported way used before was wrong for 64-bit systems on |
| 97 |
perl 5.13.1 and later) |
| 98 |
- document the behaviour of "alias return" in more detail |
| 99 |
- convert .cvsignore to .gitignore |
| 100 |
|
| 101 |
1.15 2011-06-21 ZEFRAM |
| 102 |
- port to Perl 5.15.0, where the op type aelemfast has been split into |
| 103 |
aelemfast and aelemfast_lex |
| 104 |
- test compatibility with Devel::CallParser |
| 105 |
|
| 106 |
1.14 2011-04-27 ZEFRAM |
| 107 |
- bugfix: never unhook peephole optimiser, because unhooking is liable |
| 108 |
to fail if anything else hooked it |
| 109 |
- bugfix: revise check for dorassign opcode to cope with FreeBSD's |
| 110 |
mutant Perl 5.8 that has it |
| 111 |
- test POD syntax and coverage |
| 112 |
|
| 113 |
1.13 2011-04-25 ZEFRAM |
| 114 |
- bugfix: prevent the lexer getting confused if the first thing inside |
| 115 |
an alias{} block is an open paren |
| 116 |
- bugfix: don't crash if an rv2cv op is built with PL_parser null |
| 117 |
- bugfix: handle variant structure of entersub op which lacks (ex-)list |
| 118 |
op as direct child |
| 119 |
- bugfix: squash bogus dtrace-related macro definitions that are picked |
| 120 |
up due to defining PERL_CORE |
| 121 |
- switch all pp functions to internal linkage |
| 122 |
- avoid some compiler warnings |
| 123 |
- include .cvsignore file in distribution |
| 124 |
|
| 125 |
1.12 2011-02-22 ZEFRAM |
| 126 |
- Updated to work with Perl version 5.13.10, where GvGP() and |
| 127 |
GvCV() are not directly-assignable lvalues |
| 128 |
|
| 129 |
1.11 2011-01-13 ZEFRAM |
| 130 |
- Don't rely on details of core's pp_* functions to determine |
| 131 |
whether an opcode exists, because they can change unpredictably |
| 132 |
(and do change in Perl 5.13.9) |
| 133 |
|
| 134 |
1.10 2010-11-21 ZEFRAM |
| 135 |
- Updated to work with Perl version 5.13.7, where lex_end() |
| 136 |
has disappeared and mod() is now in the public API under the |
| 137 |
name op_lvalue() |
| 138 |
|
| 139 |
1.09 2010-11-15 ZEFRAM |
| 140 |
- Modify source filter test to use Filter::Util::Call directly |
| 141 |
instead of the deprecated Switch, and to not fail if it is not |
| 142 |
available, thus allowing tests to pass on Perl versions 5.13.1 |
| 143 |
and above where Switch is no longer in the core distribution |
| 144 |
- Updated to work with Perl version 5.13.6, where global variables |
| 145 |
are managed in a different way from before |
| 146 |
|
| 147 |
1.08 2010-10-22 ZEFRAM |
| 148 |
- Updated to work with Perl versions 5.11.0 up to 5.13.0, |
| 149 |
including particularly the major change in when rv2cv ops get |
| 150 |
built in 5.11.2 |
| 151 |
|
| 152 |
1.07 2007-09-10 XMATH |
| 153 |
- Fixed reference miscounting for 'my VAR' inside alias |
| 154 |
|
| 155 |
1.06 2007-06-28 XMATH |
| 156 |
- Fixed crash when conditionally aliasing whole aggregate |
| 157 |
|
| 158 |
1.05 2007-05-13 XMATH |
| 159 |
- Updated to work with recent bleadperl (5.9.5 patch 31154) |
| 160 |
|
| 161 |
1.04 2007-05-03 XMATH |
| 162 |
- Avoid directly calling pp_* functions |
| 163 |
- Fixed copy() of empty list in scalar context |
| 164 |
- Updated to work with recent bleadperl (5.9.5 patch 31058) |
| 165 |
- Switched to using Module::Install |
| 166 |
- Added perl version compatibility test on Win32 and AIX |
| 167 |
|
| 168 |
1.03 2007-03-16 XMATH |
| 169 |
- Updated to work with recent bleadperl (5.9.5 patch 29836) |
| 170 |
|
| 171 |
1.02 2007-01-09 XMATH |
| 172 |
- Updated to work with recent bleadperl (5.9.5 patch 29570) |
| 173 |
|
| 174 |
1.01 2006-09-29 XMATH |
| 175 |
- Worked around perl bug (wrong context of refgen due to prototype) |
| 176 |
- Updated to work with recent bleadperl |
| 177 |
- Warn on aliasing a lexical where the effect is limited in scope |
| 178 |
(category "closure") |
| 179 |
|
| 180 |
1.00 2006-07-12 XMATH |
| 181 |
- Further enhanced performance of alias-assign |
| 182 |
- Fixed compile errors on non-gcc compilers |
| 183 |
- Fixed aliasing a constant expression |
| 184 |
- Don't export "copy" by default anymore |
| 185 |
- Properly reallocate ops (bug exposed by perl 5.9.4 patch 27773) |
| 186 |
- Enhanced performance of copy in void context |
| 187 |
- Alias-refgen properly makes stuff read-only that ought to be |
| 188 |
- Support defined-or-assign (//=) in perl 5.9.x |
| 189 |
|
| 190 |
0.10 2006-06-03 XMATH |
| 191 |
- Enhanced performance of alias-assign |
| 192 |
- Made a note about 'local' in the docs |
| 193 |
|
| 194 |
0.09 2006-05-22 XMATH |
| 195 |
- Suppress warnings when using 64-bit integers on 32-bit arch |
| 196 |
- 'local' now doesn't act differently on tied vars than on normal ones |
| 197 |
- Added "Useless use of alias" warning (category 'void') |
| 198 |
|
| 199 |
0.08 2006-02-08 XMATH |
| 200 |
- Avoid giving the "tied array/hash" error when inappropriate, such |
| 201 |
as when the array/hash is merely the target of weakrefs |
| 202 |
|
| 203 |
0.07 2006-02-06 XMATH |
| 204 |
- Removed outer lexical support, since it can't be made to work in |
| 205 |
any consistent way |
| 206 |
|
| 207 |
0.06 2006-02-05 XMATH |
| 208 |
- Fixed memory mismanagement bug (crash) |
| 209 |
- Fixed parse failure of 'alias' or 'copy' at EOF |
| 210 |
|
| 211 |
0.05 2006-02-02 XMATH |
| 212 |
- Split off Data::Swap again |
| 213 |
- Perl 5.9.3 support |
| 214 |
- Fixed alias-returning from within a nested block |
| 215 |
|
| 216 |
0.04 2004-08-29 XMATH |
| 217 |
- Minor fix because PAUSE complained about missing version in Data::Swap |
| 218 |
|
| 219 |
0.03 2004-08-29 XMATH |
| 220 |
- Initial version of Data::Alias (incorporates Data::Swap) |
| 221 |
- Fixed swapping objects with weakrefs |
| 222 |
|
| 223 |
0.02 2003-07-03 XMATH |
| 224 |
- Added Changes file |
| 225 |
- Disallow swapping an overloaded object with a non-overloaded one |
| 226 |
|
| 227 |
0.01 2003-06-30 XMATH |
| 228 |
- Initial version |
| 229 |
|