-
Notifications
You must be signed in to change notification settings - Fork 8
/
Changes
378 lines (256 loc) · 9.57 KB
/
Changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
Revision history for Perl extension autobox
3.0.2 - 2024-09-03
- GH #15: fix debugger test (thanks, djerius)
- upgrade ppport.h from 3.42 to 3.68
- GH #12: fix doc typo (thanks, guimard)
- GH #14: fix changelog typo (thanks, EdwardBetts)
3.0.1 - 2018-05-05
- GH #11: fix version declaration on 5.8 (thanks, Grinnz)
3.0.0 - 2018-05-05
- breaking change:
- the behaviour of UNIVERSAL methods like $native->can and
$native->isa is now defined as being the same as when autobox
is not enabled rather than "undefined". (technically, this
still falls under the rubric of "undefined", but the switch
from "don't know" to "don't" could break buggy code, so bump
for safety)
- add DOES to the list of non-autoboxed methods
- switch to SemVer i.e. 2.86 (v2.860.0) -> 3.0.0 (v3.0.0)
- upgrade ppport.h from 3.35 -> 3.42
2.86 - 2018-04-20
- GH #9: fix bug which prevented autoboxing working
under the debugger on perl 5.22+ (thanks, skington)
- added t/debugger.t
- GH #8: fix bug which prevented bareword method-calls being
exempted when the method is a variable e.g. Foo->$bar
- add operator-overloading note to the gotchas section (GH #7)
2.85 - 2017-02-27
- fix failing test under 5.25.10 with -Ddefault_inc_excludes_dot
(thanks, Kent Fredric)
2.84 - 2016-08-26
- compatibility fix for perl >= 5.25
(thanks, mat813, karenetheridge and eserte)
- upgrade ppport.h from 3.20 to 3.35
2.83 - 2015-02-01
- RT #100247: fix assertion failures on 5.21.x perls
with -DDEBUGGING (thanks, ilmari and Father Chrysostomos)
- RT #100717: don't hide autobox::universal from PAUSE
(thanks, ppisar)
- RT #89754: INSTALLDIRS fix (thanks, Kent Fredric)
2.82 - 2013-10-26
- simplify test to avoid portability woes
2.81 - 2013-10-26
- fix failing test on Windows
2.80 - 2013-10-25
- RT #71777: fix segfault in destructor called during
global destruction (thanks, Tomas Doran)
- added t/rt_71777.t
- fix doc typo (thanks, David Steinbrunner)
2.79 - 2013-04-30
- allow import arguments to be passed as a hashref
- added t/import_hashref.t
- doc tweaks
2.78 - 2013-04-30
- RT #80400: fix segfault in destructor called in END block
(thanks, Tokuhiro Matsuno)
- added t/rt_80400.t
2.77 - 2012-12-13
- doc tweaks
- add multiple-arg auto-ref tests
2.76 - 2012-11-21
- fix breaking tests in perl >= 5.17.5: update error
message pattern (thanks, rjbs)
- upgrade ppport.h from 3.19 to 3.20
2.75 - 2011-07-21
- POD spelling fixes (thanks, Jonathan Yu and gregor herrmann)
2.74 - 2011-07-20
- portability fix for perl >= 5.14 (thanks, chorny)
2.73 - 2011-03-13
- Makefile.PL fix
2.72 - 2011-01-28
- fix conflict with `use re "taint"` (thanks, Peter Rabbitson)
2.71 - 2010-09-23
- fix for recent perls: remove cargo-cultism
2.70 - 2010-03-17
- replace autobox_can and autobox_isa with autobox_class.
this also fixes import, unimport and VERSION
- added t/version.t
- renamed t/universal.t -> t/autobox_class.t
2.60 - 2010-03-17
- fix RT #46814 (thanks, Tye McQueen)
- added t/rt_46814.t
- fix RT #49273 (thanks, Daniel Austin)
- fix RT #55565 (thanks, Schwern)
- fix RT #55652 (thanks, Schwern)
- $native->isa and $native->can must now be called as
$native->autobox_isa and $native->autobox_can
- added t/rt_55652.t
2.55 - 2008-05-25
- fix MANIFEST again - restore Changes
2.54 - 2008-05-25
- fix MANIFEST
2.53 - 2008-05-24
- add support for UNIVERSAL virtual type
- added t/universal.t
- moved autobox::type method to autobox::universal::type subroutine
- added export.t
- added t/default.t
- portability fix for non-gcc compilers (thanks, chris)
- misc code/documentation fixes/cleanups
2.52 - 2008-05-20
- more type fixes
2.51 - 2008-05-20
- fix type identification for former INTEGERs and FLOATs
(thanks, Mitchell N Charity)
- added type.t
- fix for perl 5.11 (thanks, Andreas Koenig)
- document `eval EXPR` gotcha
2.50 - 2008-05-19
- add support for INTEGER, FLOAT, NUMBER and STRING
- added scalar.t
- updated documentation
2.43 - 2008-05-15
- fix @isa bug
- added t/isa.t
- scope cleanup
- documentation tweak
2.42 - 2008-05-13
- upgrade ppport.h to 3.13_03 to s/workaround/fix/
2.41 - 2008-05-13
- work around $value->$method segfault with non-string method
names under perls <= 5.8.8
- added license info
2.40 - 2008-05-12
- support @array and %hash (thanks, Yuval Kogman (nothingmuch)
and Matthijs van Duin (xmath))
- added t/autoref.t
- fix $value->$method segfault with undef, integer, float etc.
(i.e. non-string) method names (thanks, John Goulah)
2.30 - 2008-05-09
- support $value->$method, where $method is a method name or
subroutine reference:
- added t/name.t
- added t/coderef.t
2.23 - 2008-02-24
- rm redundant $^H hacking
2.22 - 2008-02-24
- added hints.t
2.21 - 2008-02-22
- merge unimport.t and time_travel.t into unmerge.t
- more tests
2.20 - 2008-02-21
- Fix broken merging
- corrected merge.t
- added time_travel.t to verify correctness
2.11 - 2008-02-20
- Windows portability fix: ANSIfy C99-ism (thanks, Taro Nishino)
- revert broken micro-optimization
2.10 - 2008-02-20
- fix + add tests for:
- unimport
- default namespace(s) in an array ref
2.02 - 2008-02-17
- doc tweak
- POD formatting
2.01 - 2008-02-17
- documentation fix:
- rm reference to $class->SUPER::import(TYPE => __PACKAGE__)
and explain why an auxiliary class should be used
2.00 - 2008-02-17
- API changes:
- autobox with one or more args leaves the unspecified
types unboxed
- multiple autobox (or autobox subclass) invocations
in the same lexical scope are merged (thanks, Matsuno Tokuhiro)
- multiple bindings for each type can be supplied as an
ARRAY ref of classes or namespaces
- `no autobox qw(...)` disables/resets bindings for the
specified type(s)
- fixed incorrect bareword handling
- perl 5.10 compatibility fixes (thanks, Andreas Koenig)
- document previously-undocumented features
- document subclassing
- merge.t: test merging
- beef up the default DEBUG handler so that it shows the superclasses
of the synthetic classes
- Windows compatibility fix (thanks, Alexandr Ciornii)
- misc optimizations, cleanups
1.22 - 2007-09-23
- (Perl_ck_subr and Perl_ck_null): fix build failure on Windows
1.21 - 2007-09-23
- (Makefile): fix build failure on Windows (thanks, Alexandr Ciornii)
1.20 - 2007-09-23
- (ptable.h): fix build failures on perl >= 5.9.3
(thanks, Andreas Koenig)
- (Perl_pp_method_named): fix build failure on Windows
(thanks, randyk and Alexandr Ciornii)
1.10 - 2006-11-23
- moved END handler into XS
- updated SEE ALSO section
- s/REPORT/DEBUG/
- fix and test for UNDEF => ''
- portability fixlet for Windows
1.04 - 2006-11-20
- fix threaded perl pessimization
- applied patch: https://rt.cpan.org/Public/Bug/Display.html?id=22868
(thanks, Steve Peters)
- documentation fixlet
- portability fixlet
1.03 - 2005-04-23
- workaround and test for %^H bug
- require perl >= 5.8
1.02 - 2005-04-12
- re-fixed Makefile.PL/META.yml + copyright
1.01 - 2005-04-12
- compatibility/portability fixes + isolate ptr table
from perl's implementation
1.00 - 2005-04-12
- rewrite: no longer requires a patch
0.11 - 2004-02-03
- Added patch for perl-5.8.3
0.10 - 2003-12-12
- fixed obsolete reference to perl-5.8.1 in POD
0.09 - 2003-12-12
- Added patch for perl-5.8.2
0.08 - 2003-10-17
- removed obsolete references to perl-5.8.1-RC4
from README
0.07 - 2003-10-14
- updated patch to work against perl-5.8.1. This
patch should be applied to a clean perl-5.8.1 tree.
previous versions of perl are no longer supported
- minor documentation tweaklets
- added typemap() static method to autobox.pm to
facilitate subclassing
0.06 - 2003-08-18
- this version provides an updated patch. it should be
applied to a clean perl-5.8.1-RC4 tree
- thanks to Tassilo von Parseval for hunting down
and fixing a memory leak
- added support for builtin pseudotype, UNDEF
- added tests and documentation for old VERSION() and
new UNDEF features
0.05 - 2003-08-11
- autobox.pm update: no change to the patch
- cleaned up implementation of isa() and can()
- added support for VERSION() (untested)
0.04 - 2003-08-10
- this version provides a new patch which ensures
that undef values aren't autoboxed. it should
be applied to a clean perl-5.8.1-RC4 tree
- fixed (i.e. prevented) autoboxing of undef in
isa() and can()
- fixed Makefile.PL and META.yml to ensure that new
installs of autobox.pm aren't shadowed by old
versions (thanks, Michael G Schwern)
0.03 - 2003-08-10
- added support for can() and isa()
- documented `print { hashref_expression() }`
issues/workarounds
0.02 - 2003-08-06
- the patch is now a single file
- instructions for applying the patch added to README
- documentation fixlets for the patch and module
0.01 - 2003-08-04
- original version; created by h2xs 1.21 with
options -n autobox-0.01