Debian Codegraph @

Changes

raw
1 Revision history for Perl extension Class::Prototyped
2
3 1.16 Tue Sep 24 2024
4 - Fixed t/include.t test failure when PERL_USE_UNSAFE_INC=0
5
6 1.15 Fri Sep 20 2024
7 - ARGH! Missed updating version numbers on sub-packages
8
9 1.14 Fri Sep 20 2024
10 - Updated test file include.t to use static include_xxx.pl file for
11 included module contents, fixing test issues on readonly file system
12
13 1.13 Wed Aug 28 2013
14 - Added version numbers to sub-packages to eliminate PAUSE indexer issues.
15
16 1.12 Thu Aug 22 2013
17 - Updated test suite to use getSlots(undef, 'rotated') to resolve issues with
18 5.18 due to the introduction of hash order randomization.
19
20 1.11 Tue Dec 18 2007
21 - Fixed error in synopsis (C::P->new is correct, C::P::new isn't). Thanks
22 to Matthew Browning.
23 - Added @$isa=@$isa changes to workaround @ISA issues in 5.10.0.
24
25 1.10 Tue Mar 15 2005
26 - Merlyn strongly suggested that I unify the behavior of new() for named
27 classes and un-named objects. After much discussion, I concurred. This
28 is a BACKWARDS INCOMPATIBLE change. Hopefully it will not affect too
29 much code. In 1.01, calling new() on an un-named object was identical
30 to calling Class::Prototyped->new(). In 1.10, calling new() on an
31 un-named object ALSO adds 'class*' as a slot pointing to the original
32 object. This also necessitated a change to clone.
33 - Two new Class::Prototyped methods are added: clonePackage (a cross between
34 clone and newPackage) and newCore (implements core object instantiation
35 behavior). If you implement either method in any of your Class::Prototyped
36 code, there will be problems!
37 - Fixed a bug in Class::Prototyped::Mirror::Normal::new that affected
38 superable calls to C::P objects following reflection on a non-C::P object
39 blessed into a C::P class.
40
41 1.01 Sat Mar 20 2004
42 - Now using create_makefile_pl => 'traditional' because passthrough
43 doesn't seem to work with subclassing (Thanks merlyn for reporting this)
44
45 1.00 Sat Mar 20 2004
46 - Now using Module::Build!
47 - Now generating PPMs as well!
48 - Long live Module::Build!
49
50 0.98 Mon Jan 19 2004
51 - Distribution updated to migrate Class directory into lib and update
52 Manifest and Makefile.pl.
53
54 0.97 Mon Sep 22 2003
55 - Slot attribute 'profile' modified to support recording
56 calling location.
57
58 0.96 Tue Sep 16 2003
59 - More POD changes and updates
60
61 0.95 Mon Sep 8 2003
62 - Minor changes to POD
63 - Minor changes to test code
64
65 0.94 Thu Jan 9 2003 (not released)
66 - Rationalized and codified attribute support
67 - Moved addSlots parsing/checking code into separate method from
68 implementation, thus eating up a good chunk of the optimizations.
69 On the other hand, this improved the handling of error conditions
70 in addSlots and exposes the parsing to external code. In addition,
71 implementation of slots was moved into separate method so that the
72 slots could be parsed, then modified in parsed form, and then passed
73 to the implementor.
74 - Cleared up bug that caused infinite recursion when non-C::P structured
75 objects that inherit from C::P from call $self->reflect->super(). Using
76 reflect on objects (not classes) that are not C::P structured is still
77 fraught with peril, but super is at least safe.
78 - Added support for defaultAttributes.
79 - Unfortunately, we lost the performance battle. Package creation is
80 running slightly faster than in 0.90. Package instantion from subs is
81 running much faster. addSlots, however, is running around 20% slower
82 (it's a hard call because there are both constant and proportional terms).
83 Individual calls appear to be slightly faster, but each slot handled in
84 the call appears to be somewhat slower. All in all, the optimizations
85 applied have managed to keep in check the performance hits from all of the
86 added functionality.
87 - Added support for FIELD attribute 'autoload' (i.e. FIELD slots that are
88 initialized with a subroutine reference - the first access to the FIELD
89 slot causes the subroutine to be executed). Tied interface access to
90 these slots is _not_ supported for the first call.
91 - Added support for the FIELD attribute 'wantarray'. This looks at the
92 wantarray value to determine whether to unwrap an array reference and
93 return it as a list.
94 - Added incomplete support for the METHOD attribute 'profile'. This
95 keeps track of the number of calls to this method in a C::P::Mirror
96 global.
97
98 0.93 Mon Jan 6 2003 (not released)
99 - Lots of attempted and somewhat successful optimizations
100 - Addition of :NO_CHECK import option that eliminates additional checks
101 in order to improve performance
102 - More work remains to be done in this area - packages are expensive, and
103 any work that can be done to optimize this would be advantageous.
104
105 0.92 Fri Jan 3 2003 (not released)
106 - Added support for extended slot syntax via anonymous arrays for addSlots
107 - Migrated trailing character support (second * for parent slots,
108 ! on methods, & on fields) to use slot attributes. First two
109 notations maintained for backward compatibility, but deprecated.
110 - Defined optimizations for extended slot syntax
111 - Updated tests and documentation to use extended slot syntax
112 - Updated getSlot to use extended slot syntax
113 - Added support to getSlot for format parameter
114 - Moved Carp::Croak lines to head of addSlots so object remains unchanged
115
116 0.91 Sun Dec 29 2002 (not released)
117 - Added support for constant field slots using trailing & notation
118 - Added tiedInterfacePackage to C::P::M
119 - Modified C::P::new to respect return value of tiedInterfacePackage
120 - tiedInterfacePackage is now read/write!
121 - :TIED_INTERFACE is being removed (good riddance!)
122 - tiedInterfacePackage is inherited when class packages are objectified
123 - Oodles of tests on the new tied interface support
124 - Tests for the new constant field slot support
125
126
127 0.90 Wed Dec 18 2002
128 - Moved addition of DESTROY symbol table entry in newPackage into
129 code guarded by check for PREFIXED package name
130 - Created $parent_DESTROY search code that looks for DESTROYs that
131 aren't clones of C::P::DESTROY
132 - Modified destroy and DESTROY so that parent slots aren't deleted
133 until the destruction sequence on an object is complete
134 - Updated destroy.t to include parent** slots, more explicit scope
135 ordering (which fixed test variations related to changes in the
136 order in which lexicals exit scope), as well as use of field slots
137 - Added more tests to super.t
138 - Code passes all tests under:
139 ActivePerl 804 (based on v5.8.0)
140 ActivePerl 633 (based on v5.6.1)
141 ActivePerl 517 (based on v5.005_03)
142 - Incremented version number to 0.90 to reflect code maturity level
143
144
145 0.11 (released 7/14/01) and prior:
146
147 RCS file: /usr/local/cvsroot/perl/Class/Prototyped/Class/Prototyped.pm,v
148 Working file: Class/Prototyped.pm
149 head: 1.36
150 branch:
151 locks: strict
152 access list:
153 symbolic names:
154 keyword substitution: kv
155 total revisions: 36; selected revisions: 36
156 description:
157 ----------------------------
158 revision 1.36
159 date: 2001/07/15 01:05:37; author: ned; state: Exp; lines: +5 -1
160 added credit for chromatic
161 ----------------------------
162 revision 1.35
163 date: 2001/07/15 01:05:08; author: ned; state: Exp; lines: +13 -7
164 More changes for DESTROY/import problems under 5.005 by chromatic
165 ----------------------------
166 revision 1.34
167 date: 2001/07/15 00:54:27; author: ned; state: Exp; lines: +43 -20
168 5.005_03 changes by chromatic and ned
169 ----------------------------
170 revision 1.33
171 date: 2001/07/13 00:09:57; author: ned; state: Exp; lines: +78 -33
172 Toby's bug fixes, added findImplementation
173 ----------------------------
174 revision 1.32
175 date: 2001/07/12 01:10:47; author: ned; state: Exp; lines: +69 -36
176 Added Data::Dumper support.
177 ----------------------------
178 revision 1.31
179 date: 2001/07/12 00:59:10; author: ned; state: Exp; lines: +20 -18
180 More changes and bug fixes
181 ----------------------------
182 revision 1.30
183 date: 2001/07/11 22:27:37; author: ned; state: Exp; lines: +216 -203
184 With changes for reflection of anything,
185 detecting odd numbers of args to addSlots,
186 auto-numbering parent slots.
187 ----------------------------
188 revision 1.29
189 date: 2001/07/11 19:24:32; author: ned; state: Exp; lines: +19 -17
190 Moved lexicals into globals
191 ----------------------------
192 revision 1.28
193 date: 2001/07/11 19:15:28; author: ned; state: Exp; lines: +5 -2
194 changed version number
195 ----------------------------
196 revision 1.27
197 date: 2001/07/11 19:15:05; author: ned; state: Exp; lines: +15 -11
198 Made sure that we don't pollute symbol tables.
199 ----------------------------
200 revision 1.26
201 date: 2001/07/11 19:02:23; author: ned; state: Exp; lines: +19 -10
202 Fixed problems with include and vivification
203 ----------------------------
204 revision 1.25
205 date: 2001/07/11 18:04:16; author: ned; state: Exp; lines: +5 -2
206 added =back
207 ----------------------------
208 revision 1.24
209 date: 2001/07/11 17:49:20; author: ned; state: Exp; lines: +6 -2
210 Added Toby's blessed hash tie work
211 ----------------------------
212 revision 1.23
213 date: 2001/07/11 16:41:59; author: ned; state: Exp; lines: +632 -208
214 More edits from Toby for adding tied-hash capability.
215 Whew! major rework, again...
216 ----------------------------
217 revision 1.22
218 date: 2001/07/11 05:05:00; author: ned; state: Exp; lines: +22 -9
219 More edits
220 ----------------------------
221 revision 1.21
222 date: 2001/07/10 17:05:49; author: ned; state: Exp; lines: +8 -3
223 Fixed a couple of class reflection bugs
224 ----------------------------
225 revision 1.20
226 date: 2001/07/10 03:34:48; author: ned; state: Exp; lines: +37 -15
227 Added debugging for global destruction
228 ----------------------------
229 revision 1.19
230 date: 2001/07/10 02:11:07; author: ned; state: Exp; lines: +8 -6
231 fixed typos made by Ned
232 ----------------------------
233 revision 1.18
234 date: 2001/07/10 02:05:28; author: ned; state: Exp; lines: +465 -214
235 Much more work by Toby.
236 ----------------------------
237 revision 1.17
238 date: 2001/07/09 04:47:32; author: ned; state: Exp; lines: +160 -44
239 Fix clones and super methods;
240 autovivification of classes after includes.
241 ----------------------------
242 revision 1.16
243 date: 2001/07/08 23:54:14; author: ned; state: Exp; lines: +26 -12
244 Fixed POD
245 ----------------------------
246 revision 1.15
247 date: 2001/07/08 23:43:18; author: ned; state: Exp; lines: +111 -38
248 (toby) Added super method to ::Mirror and :EZACCESS
249 (ned) Added explanation of super, include to POD
250 Cleaned up croak messages
251 Do not do include if we have a symbol table
252 rename _include as include so it's public
253 ----------------------------
254 revision 1.14
255 date: 2001/07/08 19:49:27; author: ned; state: Exp; lines: +26 -49
256 Fixed POD docs
257 ----------------------------
258 revision 1.13
259 date: 2001/07/08 19:31:25; author: ned; state: Exp; lines: +43 -35
260 More debugging
261 ----------------------------
262 revision 1.12
263 date: 2001/07/08 18:23:37; author: ned; state: Exp; lines: +11 -3
264 added :REFLECT back in
265 ----------------------------
266 revision 1.11
267 date: 2001/07/08 18:16:14; author: ned; state: Exp; lines: +6 -3
268 Fixed reflect on classes
269 ----------------------------
270 revision 1.10
271 date: 2001/07/08 18:09:04; author: ned; state: Exp; lines: +15 -8
272 Added reflect to CORE::GLOBAL, changed :REFLECT to :EZACCESS
273 ----------------------------
274 revision 1.9
275 date: 2001/07/08 16:16:55; author: ned; state: Exp; lines: +39 -45
276 bug fixes, fixed overloading
277 ----------------------------
278 revision 1.8
279 date: 2001/07/08 07:41:34; author: ned; state: Exp; lines: +208 -193
280 Initial work by Ned on Toby's stuff.
281 ----------------------------
282 revision 1.7
283 date: 2001/07/08 02:59:26; author: ned; state: Exp; lines: +259 -226
284 Perltidy --tabs --indent-columns=4 -pt=1 -bt=1 -sbt=1 -nbl
285 ----------------------------
286 revision 1.6
287 date: 2001/07/08 02:25:58; author: ned; state: Exp; lines: +394 -191
288 Second rev from Toby, with POD
289 ----------------------------
290 revision 1.5
291 date: 2001/07/08 02:17:46; author: ned; state: Exp; lines: +301 -297
292 First rev from Toby
293 ----------------------------
294 revision 1.4
295 date: 2001/07/06 19:43:35; author: ned; state: Exp; lines: +148 -101
296 Added better test routines; got fields working right.
297 Fixed DESTROY (was not destroying symbol tables).
298 ----------------------------
299 revision 1.3
300 date: 2001/07/06 04:46:19; author: ned; state: Exp; lines: +58 -27
301 added ability to overload ref to provide "parent". Not sure this is useful yet. Also added class field pointing back at package for efficiency.
302 ----------------------------
303 revision 1.2
304 date: 2001/07/06 00:49:36; author: ned; state: Exp; lines: +140 -29
305 Made Data::Dumping work; removed memory leak.
306 ----------------------------
307 revision 1.1
308 date: 2001/07/05 22:27:47; author: ned; state: Exp;
309 Initial revision