Skip to content

Commit 8b36caa

Browse files
committed
Merge branch 'attribute-handlers-changes' into blead
2 parents 6a9f2d6 + ea3152d commit 8b36caa

File tree

1 file changed

+119
-122
lines changed

1 file changed

+119
-122
lines changed

dist/Attribute-Handlers/Changes

Lines changed: 119 additions & 122 deletions
Original file line numberDiff line numberDiff line change
@@ -1,177 +1,174 @@
1-
t Revision history for Perl extension Attribute-Handlers
1+
Revision history for Perl extension Attribute-Handlers
22

3-
0.50 Sat Apr 21 16:09:31 2001
4-
- original version;
5-
6-
0.51 Tue May 1 06:33:15 2001
7-
8-
- Fixed fatal file path error in MANIFEST (thanks Marcel and Jost)
9-
10-
11-
0.60 Thu May 10 15:46:02 2001
12-
13-
- Added RAWDATA specifier
14-
15-
- Cleaned up documentation (thanks Garrett)
16-
17-
- Added warning for all-lowercase handlers (thanks Garrett)
3+
1.03 2022-10-17 (perl core only)
4+
- reduce how much code is in a string eval, to make debugging simpler
185

19-
- Added autotie functionality
6+
1.02 2022-02-25 (perl core only)
7+
- fix __CALLER__ handling in Attribute::Handlers
8+
- wrap any existing import in the Attribute::Handlers import
209

21-
- Tweaked handling of anon arrays as attribute args
10+
1.01 2017-09-12 (perl core only)
11+
- replace "use vars" with "our" variables
2212

13+
1.00 2016-01-18 (perl core only)
14+
- remove deprecated no-op :unique and :locked attributes
2315

24-
0.61 Thu May 10 16:28:06 2001
25-
26-
- Critical doc patch
16+
0.99 Fri Jul 24 18:44:48 EDT 2015
17+
- CPAN release of v0.97 code
2718

19+
0.97 Sun Jun 1 12:00:00 GMT 2015
20+
- fixes to deal with CVs without GVs
2821

29-
0.70 Sun Jun 3 07:40:03 2001
22+
0.96 Fri Mar 7 08:30:00 CET 2014
23+
- Documentation fixes
24+
- Replace use of base.pm with parent.pm
3025

31-
- Added __CALLER__ pseudo class for 'autotie'
26+
0.93 Mon Dec 19 09:19:00 CET 2011
27+
- documentation: "my" should be "till" (Frederic Briere)
28+
- Spelling fixes (Father Chrysostomos)
29+
- Indentation fixes (Father Chrysostomos)
3230

33-
- Added multi-phasic attribute handlers (thanks Garrett)
31+
0.91 Fri May 20 20:00:00 CET 2011
32+
- Typo fixes in documentation
33+
- POD link fix.
3434

35-
- Fixed nasty $SIG{__WARN__}-induced bug
35+
0.88 Mon Apr 5 16:33:00 CET 2010
36+
- Avoid clobbering $_ (perl #74052, LanX)
3637

37-
- Cached ref/symbol mapping for better performance and more
38-
reliable symbol identification under evil typeglob manipulations
38+
0.87 Mon Sep 21 15:55:00 CET 2009
39+
- Promote to stable release
3940

40-
- Added option to pass arguments when autotied classes are imported
41-
(thanks Marcel)
41+
0.86_01 Thu Sep 17 10:01:00 CET 2009
42+
- From perl change 09330df80caf214f375fcf0c04857347e3b17c69 (Zefram):
4243

43-
- Fixed bug in handling of lexical SCALAR refs
44+
Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES
4445

45-
- Cleaned up interactions with other class hierarchies
46-
(due to being base class of UNIVERSAL)
46+
Attribute handlers being applied to a temporary CV has actually been
47+
reported as a bug, #66970. The attached patch fixes the bug, by
48+
changing the order in which things happen: attributes are now
49+
applied after the temporary CV has been merged into the existing CV
50+
or has otherwise been added to the appropriate GV.
4751

52+
The change breaks part of Attribute::Handlers. Part of A:H searches
53+
the package to find the name of the sub to which a :ATTR attribute
54+
is being applied, and the correct time at which to launch that
55+
search depends crucially on the order in which the CV construction
56+
events occur. So this patch also includes a change to A:H, to make
57+
it detect which way things happen. The resulting A:H works either
58+
way, which is essential for its dual-life nature.
4859

49-
0.75 Mon Sep 3 09:07:08 2001
60+
0.86 Sat Aug 8 12:41:00 CET 2009
61+
- Add resources (bugtracker, ...) section to META.yml
5062

51-
- Cleaned up AUTOLOAD
63+
0.85 Thu Jun 11 09:31:00 CET 2009
64+
- Document findsym for the sake of mod_perl. (David Wheeler)
65+
- Remove unused variable. (David Wheeler)
5266

53-
- Numerous bug fixes (thanks Pete)
67+
0.84 Wed Jun 10 15:14:00 CET 2009
68+
- Core-CPAN synchronization
5469

55-
- Fixed handling of attribute data that includes a newline (thanks Pete)
70+
0.83 Fri Mar 13 15:14:00 CET 2009
71+
- Re-add a TODO marker in the tests that would fail on 5.6.2.
5672

57-
- Added "autotieref" option (thanks Pete)
73+
0.82 Wed Mar 11 17:17:00 CET 2009
74+
- Bring test code in line with core perl.
5875

59-
- Switched off $DB::single
76+
0.81 Sun Nov 9 22:47:00 CET 2008
77+
- Fix to make tests work on 5.6.X (Eric Rybski, RT #40781)
6078

61-
- Changed licence for inclusion in core distribution
79+
0.80 Fri Oct 24 12:06:00 CEST 2008
80+
- CPAN release of the Attribute::Handlers version in bleadperl.
6281

63-
- Fixed 'autotie' for tied classes with multi-level names (thanks Jeff)
82+
0.79
83+
- The version released with Perl 5.10.0
84+
- All interpreted attributes are now passed as array references,
85+
eventually nested.
86+
- Don't AUTOLOAD DESTROY (Jerry D Hedden, cpan bug #1911)
87+
- A::H is now able to report caller's file and line number
88+
(David Feldman)
6489

90+
0.78 Sat Oct 5 07:18:09 CEST 2002
91+
- [#17940] Includes :unique and :shared in the builtin types
6592

66-
0.76 Thu Nov 15 06:31:51 2001
93+
- From perl 5.8 { __CALLER__::foo => __PACKAGE } is missparsed, the
94+
proper approach is to use { '__CALLER__::foo' => __PACKAGE }. The
95+
documentation is updated to reflect this. Reported by Dave Cross
6796

68-
- Fixed documentation nit (thanks Rick)
97+
0.77 Sat Jun 8 22:58:56 CEST 2002
98+
- Since Attribute::Handlers now is core, I will refer to changes with
99+
their patch number, please read Porting/repository.pod from your a
100+
perl tarball for more information.
69101

70-
- Improving intuitiveness of autotie mechanism (thanks Marcel)
102+
- Brought up to date with perl 5.8RC1 version will be 5.8 if no more
103+
changes come in
71104

72-
- Added $VERSION numbrs to demo modules (seems bizarre to me, but
73-
they're core too now).
105+
- [#13686] This changes the behaviour of lexical attributes. Prior to
106+
this lexical attributes were done at a compile time, and they would
107+
loose their attribute on the next run over them. Now perl 5.8 calls
108+
the attribute handler runtime whenever it hits my.
74109

110+
- [#14448] Fixes cases with too high refcounts on lexical attributes
75111

76-
0.77 Sat Jun 8 22:58:56 CEST 2002
112+
- [#15945] Do not warn about too late CHECK and INIT block if
113+
A::H is pulled in using a require.
77114

78-
- Since Attribute::Handlers now is core, I will refer to changes
79-
with their patch number, please read Porting/repository.pod from
80-
your a perl tarball for more information.
115+
0.76 Thu Nov 15 06:31:51 2001
116+
- Fixed documentation nit (thanks Rick)
81117

82-
- Brought up to date with perl 5.8RC1 version
83-
will be 5.8 if no more changes come in
118+
- Improving intuitiveness of autotie mechanism (thanks Marcel)
84119

85-
- [#13686] This changes the behaviour of lexical attributes.
86-
Prior to this lexical attributes were done at a compile time,
87-
and they would loose their attribute on the next run over them.
88-
Now perl 5.8 calls the attribute handler runtime whenever it hits my.
120+
- Added $VERSION numbrs to demo modules (seems bizarre to me, but
121+
they're core too now).
89122

90-
- [#14448] Fixes cases with too high refcounts on lexical attributes
123+
0.75 Mon Sep 3 09:07:08 2001
124+
- Cleaned up AUTOLOAD
91125

92-
- [#15945] Do not warn about too late CHECK and INIT block if
93-
A::H is pulled in using a require.
126+
- Numerous bug fixes (thanks Pete)
94127

95-
0.78 Sat Oct 5 07:18:09 CEST 2002
96-
97-
- [#17940] Includes :unique and :shared in the builtin types
128+
- Fixed handling of attribute data that includes a newline (thanks Pete)
98129

99-
- From perl 5.8 { __CALLER__::foo => __PACKAGE } is missparsed,
100-
the proper approach is to use { '__CALLER__::foo' => __PACKAGE }.
101-
The documentation is updated to reflect this.
102-
Reported by Dave Cross
130+
- Added "autotieref" option (thanks Pete)
103131

104-
0.79
132+
- Switched off $DB::single
105133

106-
- The version released with Perl 5.10.0
107-
- All interpreted attributes are now passed as array references,
108-
eventually nested.
109-
- Don't AUTOLOAD DESTROY (Jerry D Hedden, cpan bug #1911)
110-
- A::H is now able to report caller's file and line number
111-
(David Feldman)
134+
- Changed licence for inclusion in core distribution
112135

113-
0.80 Fri Oct 24 12:06:00 CEST 2008
114-
- CPAN release of the Attribute::Handlers version in bleadperl.
115-
116-
0.81 Sun Nov 9 22:47:00 CET 2008
117-
- Fix to make tests work on 5.6.X (Eric Rybski, RT #40781)
136+
- Fixed 'autotie' for tied classes with multi-level names (thanks Jeff)
118137

119-
0.82 Wed Mar 11 17:17:00 CET 2009
120-
- Bring test code in line with core perl.
121-
122-
0.83 Fri Mar 13 15:14:00 CET 2009
123-
- Re-add a TODO marker in the tests that would fail on 5.6.2.
138+
0.70 Sun Jun 3 07:40:03 2001
139+
- Added __CALLER__ pseudo class for 'autotie'
124140

125-
0.84 Wed Jun 10 15:14:00 CET 2009
126-
- Core-CPAN synchronization
141+
- Added multi-phasic attribute handlers (thanks Garrett)
127142

128-
0.85 Thu Jun 11 09:31:00 CET 2009
129-
- Document findsym for the sake of mod_perl. (David Wheeler)
130-
- Remove unused variable. (David Wheeler)
143+
- Fixed nasty $SIG{__WARN__}-induced bug
131144

132-
0.86 Sat Aug 8 12:41:00 CET 2009
133-
- Add resources (bugtracker, ...) section to META.yml
145+
- Cached ref/symbol mapping for better performance and more
146+
reliable symbol identification under evil typeglob manipulations
134147

135-
0.86_01 Thu Sep 17 10:01:00 CET 2009
136-
- From perl change 09330df80caf214f375fcf0c04857347e3b17c69 (Zefram):
148+
- Added option to pass arguments when autotied classes are imported
149+
(thanks Marcel)
137150

138-
Fix [perl #66970] Incorrect coderef in MODIFY_CODE_ATTRIBUTES
151+
- Fixed bug in handling of lexical SCALAR refs
139152

140-
Attribute handlers being applied to a temporary CV has actually been
141-
reported as a bug, #66970. The attached patch fixes the bug, by
142-
changing the order in which things happen: attributes are now applied
143-
after the temporary CV has been merged into the existing CV or has
144-
otherwise been added to the appropriate GV.
153+
- Cleaned up interactions with other class hierarchies
154+
(due to being base class of UNIVERSAL)
145155

146-
The change breaks part of Attribute::Handlers. Part of A:H searches the
147-
package to find the name of the sub to which a :ATTR attribute is being
148-
applied, and the correct time at which to launch that search depends
149-
crucially on the order in which the CV construction events occur. So
150-
this patch also includes a change to A:H, to make it detect which way
151-
things happen. The resulting A:H works either way, which is essential
152-
for its dual-life nature.
156+
0.61 Thu May 10 16:28:06 2001
157+
- Critical doc patch
153158

154-
0.87 Mon Sep 21 15:55:00 CET 2009
155-
- Promote to stable release
159+
0.60 Thu May 10 15:46:02 2001
160+
- Added RAWDATA specifier
156161

157-
0.88 Mon Apr 5 16:33:00 CET 2010
158-
- Avoid clobbering $_ (perl #74052, LanX)
162+
- Cleaned up documentation (thanks Garrett)
159163

160-
0.91 Fri May 20 20:00:00 CET 2011
161-
- Typo fixes in documentation
162-
- POD link fix.
164+
- Added warning for all-lowercase handlers (thanks Garrett)
163165

164-
0.93 Mon Dec 19 09:19:00 CET 2011
165-
- documentation: "my" should be "till" (Frederic Briere)
166-
- Spelling fixes (Father Chrysostomos)
167-
- Indentation fixes (Father Chrysostomos)
166+
- Added autotie functionality
168167

169-
0.96 Fri Mar 7 08:30:00 CET 2014
170-
- Documentation fixes
171-
- Replace use of base.pm with parent.pm
168+
- Tweaked handling of anon arrays as attribute args
172169

173-
0.97 Sun Jun 1 12:00:00 GMT 2015
174-
- fixes to deal with CVs without GVs
170+
0.51 Tue May 1 06:33:15 2001
171+
- Fixed fatal file path error in MANIFEST (thanks Marcel and Jost)
175172

176-
0.99 Fri Jul 24 18:44:48 EDT 2015
177-
- CPAN release of v0.97 code
173+
0.50 Sat Apr 21 16:09:31 2001
174+
- original version;

0 commit comments

Comments
 (0)