public
Description: Make functions succeed or die in Perl, with lexical scope.
Homepage: http://search.cpan.org/perldoc?autodie
Clone URL: git://github.com/pfenwick/autodie.git
Click here to lend your support to: autodie and make a donation at www.pledgie.com !
autodie / Changes
8822d277 » pfenwick 2008-09-06 1.992 released 1 Revision history for autodie
2
aaf4bd7c » pfenwick 2009-07-05 Tests for autodie leaking n... 3 * TEST: Check for autodie leaking out of scope in the
4 presence of string evals.
5
ad99c5e6 » pfenwick 2009-07-03 Update changes with release... 6 2.05 Sat Jul 4 16:33:01 AUSEST 2009
7
8b12854d » pfenwick 2009-07-02 RT #47520 - No double file/... 8 * BUGFIX: format_default() in autodie::exception no longer
9 returns a string with file and line attached. This would
10 cause the file and line information to appear twice when
11 format handlers would choose to fall back to the defaults.
12 The file and line information is now always added by
13 stringify(). (RT #47520, thanks to Michael Schwern)
14
15 * BUGFIX: Exceptions thrown by 2-argument open() are more likely
16 to specify the mode as 'for reading' when no explicit
17 mode was given. (RT #47520, thanks to Michael Schwern)
18
79a10c3a » pfenwick 2009-07-02 Bump to version 2.04. Tag ... 19 2.04 Thu Jul 2 18:56:57 AUSEST 2009
20
12c7902e » pfenwick 2009-07-01 Removed oops where a debugg... 21 * TEST: Removed spurious warning about insufficient credit.
22
a72aad70 » Jerry D. Hedden 2009-07-01 Reduce debug output from hi... 23 * TEST: hints.t produces less debugging output when testing
24 the Perl core. (Thanks to Jerry D. Hedden)
25
fe193f2a » pfenwick 2009-07-01 Remove spurious failures fr... 26 * TEST: hints.t no longer spuriously fails when checking
27 the return values from File::Copy under Windows before
28 Perl 5.10.1. (Thanks to Curtis Jewell)
29
45270eb4 » pfenwick 2009-06-30 Bump to 2.03 and release 30 2.03 Wed Jul 1 15:39:16 AUSEST 2009
ab614fe5 » pfenwick 2009-06-30 Fix booching test on 5.8.x ... 31
32 * BUGFIX: Stopped blog_hints.t from booching under Perl
33 5.8.x. because parent.pm is not installed.
34
5dc61d7c » pfenwick 2009-06-30 Push to 2.02 and release 35 2.02 Wed Jul 1 15:06:21 AUSEST 2009
36
c55a7a70 » pfenwick 2009-06-30 Add context()/return() to a... 37 * FEATURE: autodie::exception now supports ->context() to
38 discover the context of the failing subroutine, and
39 ->return() to get a list of what it returned.
40
41 * BUGFIX: ->function from autodie::exception now returns
42 the original name of the dying sub, rather than its imported
43 name. For example, 'File::Copy::copy' rather than 'main::copy'.
44 Core functions continue to always return 'CORE::whatever'.
45
1a5f9cf2 » pfenwick 2009-06-30 Add extra tests based upon ... 46 * TEST: blog_hints.t tests new hinting features against
47 examples in my blog at http://pjf.id.au/blog/
48
2fe96c50 » pfenwick 2009-06-30 Bump to 2.01 and release. 49 2.01 Wed Jul 1 01:31:24 AUSEST 2009
50
8c414faa » pfenwick 2009-06-28 Thank-you, Toby, for docufi... 51 * DOCUMENTATION: General copyediting and tidy-up
52 (Thanks to Toby Corkindale)
53
1fb3bbd8 » pfenwick 2009-06-29 Perl 5.10.1 fixes 54 * BUGFIX: Warnings are no longer emitted when undefined values
55 are compared by hinting routines.
56
57 * BUGFIX: Hints for File::Copy now operate correctly under
58 Perl 5.10.1.
59
36240690 » pfenwick 2009-06-30 5.8.x : inheritance is suff... 60 * BUGFIX: Inheritance is now considered sufficient to declare
61 allegiance to the hints provider role under Perl 5.8.x.
62 (Thanks to Glenn Fowler)
63
1fb3bbd8 » pfenwick 2009-06-29 Perl 5.10.1 fixes 64 * TEST: hints.t no longer throws failures under Perl 5.10.1.
65
21a03deb » jawnsy 2009-06-29 pod-coverage.t no longer fa... 66 * TEST: pod-coverage.t (author test) no longer fails if
2fe96c50 » pfenwick 2009-06-30 Bump to 2.01 and release. 67 Sub::Identify is not installed.
68 (Thanks to Jonathan Yu. RT #47437)
21a03deb » jawnsy 2009-06-29 pod-coverage.t no longer fa... 69
aa3813d6 » pfenwick 2009-06-28 Release 2.0 70 2.00 Mon Jun 29 01:24:49 AUSEST 2009
8da7e15d » pfenwick 2009-05-21 Bump to 1.999_01 for release. 71
30adf70c » pfenwick 2009-02-22 Hinting support working! H... 72 * FEATURE: autodie can now accept hints regarding how
73 user and module subroutines should be handled. See
74 autodie::hints for more information.
75
76 * INTERFACE: The calls to the internal subroutines
77 one_invocation() and write_invocation() have changed.
78 An additional argument (the user subroutine reference) is
79 passed as the second-last argument. This may break code
80 that previously tried to call these subroutines directly.
81
82 * BUGFIX: Calls to subroutines to File::Copy should now
83 correctly throw exceptions when called in a list context.
84
b762a06c » pfenwick 2009-03-03 Fixed iternal error in writ... 85 * BUGFIX: An internal error where autodie could potentially
86 fail to correctly report a dying function's name has been
87 fixed.
4ee38780 » pfenwick 2009-02-14 Added (failing) tests for a... 88
4d8aba2f » pfenwick 2009-06-28 Fixed bug where package sca... 89 * BUGFIX: autodie will no longer clobber package scalars when
90 a format has the same name as an autodying function.
91 (Thanks to Ben Morrow)
92
5ee5bf9c » pfenwick 2009-03-03 Changes: Documented backcom... 93 * INTERFACE: The internal interfaces for fill_protos(),
d141c872 » pfenwick 2009-03-03 _make_fatal isn't backwards... 94 one_invocation(), write_invocation() are now once again
95 backward compatible with legacy versions of Fatal. It is
96 still strongly recommended these interfaces are NOT called
97 directly. The _make_fatal() subroutine is not backwards
98 compatible.
7a9c89b6 » pfenwick 2009-02-17 Documented tests. Expanded ... 99
a1c5c734 » pfenwick 2009-03-01 Merge branch 'master' into ... 100 * TEST: Added internal-backcompat.t to test backwards
101 compatibility of internal interfaces.
4ee38780 » pfenwick 2009-02-14 Added (failing) tests for a... 102
6eed7e98 » pfenwick 2009-03-05 Documentation changes with ... 103 * DOCUMENTATION: Expanded documentation regarding how
104 autodie changes calls to system(), and how this must be
105 explicitly enabled.
106
d7300942 » pfenwick 2009-06-28 Upgraded Module::Install to... 107 * BUILD: Upgraded to Module::Install 0.91
fb7ce815 » pfenwick 2009-05-08 Upgrade Module::Install to ... 108
b594b92c » pfenwick 2009-05-10 Insisting on hints now work... 109 * BUGFIX: A situation where certain compile-time diagnostics
110 and errors from autodie would not be displayed has been
111 fixed.
112
a395fbfe » pfenwick 2009-03-01 Added missing timestamp on ... 113 1.999 Sat Feb 28 18:36:55 AUSEDT 2009
b4ad38d5 » pfenwick 2009-02-22 Autodie treats system() as ... 114
963feac9 » pfenwick 2009-02-24 Documented: String eval + 5... 115 * BUGFIX: Autodie now correctly propagates into string evals
116 under 5.10+. Autodie completely fails to propagate into
117 string evals under 5.8. No fix for 5.8 is known.
db04618b » pfenwick 2009-02-24 autodie now propagates corr... 118
b3ac9a11 » pfenwick 2009-02-27 Rearranged Changes in order... 119 * BUGFIX: The caller() method on autodie::exception objects
120 should now always report the correct caller. While it
121 would always get the line, file, and package correct, previously
122 it would sometimes report less-than-helpful callers like
123 '__ANON__' or '(eval)'.
7a9c89b6 » pfenwick 2009-02-17 Documented tests. Expanded ... 124
b4ad38d5 » pfenwick 2009-02-22 Autodie treats system() as ... 125 * BUGFIX: autodie was treating system() as a user-sub, not
126 a built-in. This could tigger extra (unnecessary) work
127 inside autodie, but otherwise had no user impact.
db04618b » pfenwick 2009-02-24 autodie now propagates corr... 128
412113ed » pfenwick 2009-02-22 Fixed misleading synopsis i... 129 * DOCUMENTATION: The synopsis for autodie::exception::system
130 previously implied system() was made autodying by default.
131 This was not the case. It must still be enabled with
132 use autodie qw(system).
133
963feac9 » pfenwick 2009-02-24 Documented: String eval + 5... 134 * DOCUMENTATION: Noted the 5.8 string eval bug in
135 autodie/BUGS.
136
b3ac9a11 » pfenwick 2009-02-27 Rearranged Changes in order... 137 * TEST: Added test for correct caller output on
138 autodie::exception objects. Thanks to Piers Harding
139 for spotting this bug at KiwiFoo.
140
141 * TEST: Added tests for user-defined autodying functions
142 changing behaviour depending upon context. This was
143 reported in http://perlmonks.org/?node_id=744246 .
144
145 * TEST: Tests for autodie propagating into string eval.
146
40762c67 » pfenwick 2009-02-24 Additional tests for autodi... 147 * TEST: Expanded tests to ensure autodie::exception returns
148 the correct line number and caller.
149
4cc96643 » pfenwick 2009-02-24 Expanded caller.t to do ext... 150 * TEST: Expanded tests to ensure autodie::exception returns
151 correct information when calling subroutines in external files.
152
62b738d4 » pfenwick 2009-01-02 Bump version to 1.998 and r... 153 1.998 Sat Jan 3 11:19:53 AUSEDT 2009
154
99f46302 » pfenwick 2008-12-04 Removed Module::AutoInstall... 155 * BUILD: Removed Module::AutoInstall, which previously
156 was loaded but not used, but currently doesn't actually
157 do what we want.
158
7e77782a » pfenwick 2008-12-05 exception_class.t: Worked a... 159 * TEST: We manually stringify $@ for one test in
160 exception_class.t to avoid a bug involving overloaded
161 classes containing apostrophies.
162
d61fa9d5 » pfenwick 2008-12-11 mkdir.t and unlink.t no lon... 163 * TEST: unlink.t and mkdir.t avoid changing directories,
164 which could cause spurious failures when @INC includes
165 paths relative to the current working directory.
166
884aae99 » pfenwick 2008-12-15 Better documentation of use... 167 * DOCUMENTATION: Spurious "used only once" messages are
168 documented in Fatal's documentation (as well as autodie's).
169
b4183273 » Craig A. Berry 2009-01-02 In determining whether test... 170 * TEST: truncate.t has been updated to avoid incorrect
171 test failures on VMS machines. Many thanks to Craig A
172 Berry for the bug report and fix. (RT #42110)
173
4a78d868 » pfenwick 2008-12-03 Don't test exception object... 174 1.997 Thu Dec 4 15:14:00 AUSEDT 2008
175 * TEST: Test::More 0.86 (and possibly 0.85) appears to
176 dislike package names that contain the apostrophe
177 character (these occur in some tests for Klingon
178 localisation). We now skip these tests on systems
179 with Test::More >= 0.85 installed.
180
8305d299 » pfenwick 2008-12-03 Release time! 181 1.996 Thu Dec 4 09:07:39 AUSEDT 2008
7096f27b » pfenwick 2008-12-02 We now provide an exception... 182 * FEATURE: Child classes can now provide an exception_class()
183 method that returns the desired exception class, rather
184 than over-riding the whole throw() method. Existing classes
185 that over-ride throw() will still work as before.
186
707942e6 » pfenwick 2008-12-02 Fixed nasty bug where multi... 187 * BUGFIX: Fixed a bug where multiple autodie-derived classes
188 would share the same subroutine cache. This could result
189 in excptions from the wrong class being thrown.
190
191 This bug did not affect programs which used only autodie,
192 or a single autodie-derived class.
193
3b20b05b » pfenwick 2008-12-02 Added missing version tag e... 194 * BUGFIX: Missing 1.995 version tag added to export list.
195
196 * TEST: Make sure that we always have a working version tag for
197 our current version.
198
411d0d7f » pfenwick 2008-11-29 Release time! 1.995 199 1.995 Sun Nov 30 17:30:16 AUSEDT 2008
fc094d36 » pfenwick 2008-11-29 Documented: We no longer pr... 200
2b596a5c » pfenwick 2008-11-28 Improved error messages fro... 201 * FEATURE: Errors from 2-argument open now have more human
202 friendly error messages for reading, writing, and appending.
203
fc094d36 » pfenwick 2008-11-29 Documented: We no longer pr... 204 * FEATURE: autodie will never print unsightly references to
205 GLOB(0x...) structures in error messages; instead it uses
206 the placeholder '$fh'.
207
bfffde76 » pfenwick 2008-11-04 Module::AutoInstall lets us... 208 * BUILD: Bundled Module::AutoInstall makes it clear to users
209 they need to install IPC::System::Simple for autodying
210 system() support.
211
911a4b5b » pfenwick 2008-11-05 Tests for better looking co... 212 * TEST: truncate.t provides more diagnostics on failure.
213
214 * TEST: Tests for better formatted reports from connect().
215
a9fcab65 » pfenwick 2008-11-12 Added open.t for carefully ... 216 * TEST: New 'open.t' contains specific tests for well-formatted
217 messages from open().
218
c852dd18 » pfenwick 2008-09-24 Release time! Added timest... 219 1.994 Thu Sep 25 16:18:56 AUSEST 2008
0cf81a8f » pfenwick 2008-09-17 flock() added to :file cate... 220
2cdd8db5 » pfenwick 2008-09-21 Greatly increased checking ... 221 * BUGFIX: flock(), ioctl() and truncate() are now part of
222 the :file tag.
223
224 * BUGFIX: link(), mkdir(), rmdir(), symlink() and umask()
225 are now part of the :filesys tag.
226
227 * BUGFIX: The new :msg tag contains msgctl(), msgget(), msgrcv(),
228 and msgsnd().
229
230 * BUGFIX: The new :semaphore tag contains semctl(), semget()
231 and semop().
232
233 * BUGFIX: The new :shm tag contains shmget(), shmread() and
234 shmctl().
235
236 * BUGFIX: The new :ipc tag contains :msg, :semaphore, :shm and pipe().
237
238 * BUGFIX: The read(), seek(), sysread(), syswrite() and sysseek()
239 methods have been added to :io.
0cf81a8f » pfenwick 2008-09-17 flock() added to :file cate... 240
a9bdba68 » pfenwick 2008-09-24 Much better error reporting... 241 * BUGFIX: autodie produces more detailed messages on internal
242 faults, and is more aggressive about stopping code compilation.
243
365bece4 » pfenwick 2008-09-20 Merge branch 'master' into ... 244 * FEATURE: flock will not die on failure when called
245 with the LOCK_NB option and would return false
246 due to an EWOULDBLOCK. See function specific notes
247 in autodie documentation for more details.
248
49dbe3bc » pfenwick 2008-09-17 Added _format_flock handler... 249 * FEATURE: Stringified exceptions from flock() are significantly
365bece4 » pfenwick 2008-09-20 Merge branch 'master' into ... 250 nicer to read.
49dbe3bc » pfenwick 2008-09-17 Added _format_flock handler... 251
3ef29344 » pfenwick 2008-09-24 Version bump to 1.994. Add... 252 * FEATURE: use autodie qw(:1.994) can be used to specify the
253 :default tag from a particular version.
254
5a7c1c26 » pfenwick 2008-09-24 Documented function-specifi... 255 * DOCUMENTATION: flock() is documented as being in the :file tag.
256
257 * DOCUMENTATION: Added function-specific notes in autodie.pm
258
a13f48e1 » pfenwick 2008-09-21 New tests from Jacinta. 259 * TEST: New tests for rmdir(), mkdir(), and unlink(), thanks
260 to Jacinta Richardson.
261
0997eb3d » pfenwick 2008-09-24 Added author-only perlcriti... 262 * TEST: Added author-only perlcritic tests.
263
af97b231 » pfenwick 2008-09-24 META.yml has more correct v... 264 * META: META.yml has more correct author information.
265
34662d22 » pfenwick 2008-09-13 Added release time to Chang... 266 1.993 Sun Sep 14 11:15:36 AUSEST 2008
65768f60 » pfenwick 2008-09-11 RT #39172: The :dbm tag is ... 267
268 * DOCUMENTATION: The :dbm tag is now correctly documented
269 in autodie/CATEGORIES. Thanks to Darren Duncan for spotting
270 this. (RT #39172)
271
25f58ae6 » pfenwick 2008-09-11 RT #39172 closedir() has be... 272 * DOCUMENTATION: The README file has been updated to reflect
273 current minimum Perl versions (5.8.0) and current resources.
274
275 * DOCUMENTATION: The closedir() function is properly
276 documented as being included in the :filesys tag.
277
a4b26ab4 » pfenwick 2008-09-13 Feedback section added to d... 278 * DOCUMENTATION: Feedback section added to the autodie
279 documentation. If you find the module useful, consider
280 saying so on cpanratings.perl.org, or dropping me a note.
281
48b815fb » pfenwick 2008-09-13 Upgrade to Module::Install ... 282 * BUILD: Upgrade to Module::Intstall 0.77
283
8822d277 » pfenwick 2008-09-06 1.992 released 284 1.992 Sun Sep 7 15:51:32 AUSEST 2008
e1033eb0 » pfenwick 2008-03-28 Internal release 285
dfb4ba91 » pfenwick 2008-09-06 Added closedir() to :filesy... 286 * BUGFIX: unlink(), rename(), chdir() and closedir() functions
287 are now included in the :filesys tag.
5059ba7d » pfenwick 2008-08-29 RT #38845, detect missing s... 288
ddeeeaa6 » pfenwick 2008-09-06 binmode added to :file. Sp... 289 * BUGFIX: binmode() is now checked for failure as part of
290 the :file tag.
291
292 * BUGFIX: Using an unopened filehandle in an autodying
293 built-in no longer triggers a spurious warning.
294
5059ba7d » pfenwick 2008-08-29 RT #38845, detect missing s... 295 * BUGFIX: RT #38845, corrected a missing space in the error
296 produced by autodie when called with the ':void' switch.
297 Many thanks to Matt Kraai for the patch!
298
cf04ae2d » pfenwick 2008-09-06 Added support for dbmopen a... 299 * FEATURE: The dbmopen() and dbmclose() functions are now
300 supported in their own :dbm tag. This is part of :io
301 (and hence :default).
302
303 * FEATURE: The dbmopen() built-in has its own formatter,
304 which ensures errors always display the mask in octal,
305 not decimal.
306
0f966af9 » pfenwick 2008-09-05 unlink, rename and chdir ar... 307 * DOCUMENTATION: The :filesys tag is properly documented.
308
8583704f » pfenwick 2008-09-03 Added link to perl tip 309 * DOCUMENTATION: Added link to Perl tip on autodie.
310
0f966af9 » pfenwick 2008-09-05 unlink, rename and chdir ar... 311 * TEST: RT #38845, t/internal.t updated to detect malformed error
312 messages involving the mixing of ':void' and autodie.
313
1a5d5b37 » pfenwick 2008-08-22 Release time. v1.991 314 1.991 Fri Aug 22 23:57:24 AUSEST 2008
06cc027e » pfenwick 2008-08-20 Bugfix: RT#38614, stringifi... 315
316 * BUGFIX: RT #38614, stringified autodie::exceptions objects
317 now always end with a newline. Thanks to Offer Kaye for the
318 report.
319
2ce004eb » pfenwick 2008-08-19 More descriptive changes tags. 320 * BUGFIX: Makefile.PL is no longer executable.
1e5a9526 » pfenwick 2008-07-22 Makefile.PL is no longer ex... 321
2ce004eb » pfenwick 2008-08-19 More descriptive changes tags. 322 * BUGFIX: 'chdir' added to defaults, and the :filesys group.
c261c9ee » pfenwick 2008-08-04 chdir added to defaults and... 323
c0389536 » pfenwick 2008-08-20 Bugfix: RT #38598. The errn... 324 * BUGFIX: RT #38598, the errno attribute on autodie::exception
325 objects is now correctly set.
326
355a109a » pfenwick 2008-08-22 RT #38066 - exceptions from... 327 * BUGFIX: RT #38066, exceptions from system() now report
328 the correct line number.
329
4d2455ad » pfenwick 2008-08-20 RT #38614 - Exceptions shou... 330 * TEST: Internal tests changes to ease integration with core.
331
2ce004eb » pfenwick 2008-08-19 More descriptive changes tags. 332 * TEST: Checks added for empty 'errno' string in basic_exceptions.t
855f51c5 » pfenwick 2008-08-19 Added (failing) tests for e... 333
4d2455ad » pfenwick 2008-08-20 RT #38614 - Exceptions shou... 334 * TEST: Errors should end with a newline.
335
675453bf » pfenwick 2008-08-20 fork tests should no longer... 336 * TEST: fork tests should no longer mysteriously fail
337 on Solaris.
338
1b22117f » pfenwick 2008-08-20 backcompat.t should no long... 339 * TEST: backcompat.t should no longer give strange failures on
340 old versions of 5.8.3 or earlier.
341
355a109a » pfenwick 2008-08-22 RT #38066 - exceptions from... 342 * TEST: system.t ensures the correct file is reported.
343
cbbd4072 » pfenwick 2008-08-20 Upgrade to Module::Install ... 344 * BUILD: Upgrade to Module::Install 0.75
345
c4684e3e » pfenwick 2008-07-21 1.99 release 346 1.99 Mon Jul 21 02:25:23 PDT 2008
e81c961a » pfenwick 2008-07-21 Documentation/category impr... 347
348 * RELEASE CODENAME: "jarich", in thanks for her giving
349 up pretty much a whole week of her life to do nothing
350 but help me work on my talks for OSCON.
61d0f4ea » pfenwick 2008-07-03 autodie now checks open() f... 351
352 * BUGFIX: autodie will now check open() for returning
353 undef, not merely false, as open() can legimiately
354 return zero for open(my $fh, '-|') || exec(...) style
355 calls.
356
a902631c » pfenwick 2008-07-03 Added lethal.t, a test for ... 357 * TEST: Added t/lethal.t, a test for basic subclassing.
358
fbc72df8 » pfenwick 2008-07-05 Added t/lethal.t and t/user... 359 * TEST: Added t/usersub.t, a test for correct handling
360 of user subroutines.
361
362 * DOCUMENTATION: Noted in autodie.pm that user subs can
363 only be made Fatal/autodying if they've been declared
364 first.
365
2bac1c23 » pfenwick 2008-07-10 We can (again) detect an il... 366 * FEATURE: Conflicts between 'no autodie' and 'use Fatal'
367 re-enabled.
368
5156ce30 » pfenwick 2008-07-15 Added sysopen(), fcntl() an... 369 * FEATURE: Added sysopen() and fcntl() to :file, and
ce4c1553 » pfenwick 2008-07-15 Vanilla autodie means :defa... 370 exec() and system to :system. exec() doesn't yet work
371 due to its prototype;
372
373 * FEATURE: Vanilla 'use autodie' now implies
374 'use autodie qw(:default)'. This excludes system(),
e81c961a » pfenwick 2008-07-21 Documentation/category impr... 375 which depends upon an optional module, and exec(),
376 which breaks its exotic form.
5156ce30 » pfenwick 2008-07-15 Added sysopen(), fcntl() an... 377
d3d6ca2f » pfenwick 2008-07-18 Moved internal tests from F... 378 * TEST: Internal tests moved from Fatal.t to
379 internal.t
380
265bfe79 » pfenwick 2008-07-18 Added support for fileno. 381 * FEATURE: Added support for fileno.
382
c38808f0 » pfenwick 2008-07-18 Added support for exec(). 383 * FEATURE: Addded support for exec (although this
384 breaks the exotic form while autodie is in scope).
385
916e9a24 » pfenwick 2008-07-18 We now correctly support 'n... 386 * BUGFIX: 'no autodie' now plays nicely with user subs.
387
e81c961a » pfenwick 2008-07-21 Documentation/category impr... 388 * DOCUMENTATION: Added a brief mention of the category
389 system that autodie provides.
390
2626d8fb » pfenwick 2008-07-03 Release time! 1.11_01 "Ari... 391 1.11_01 Fri Jul 4 12:53:11 AEST 2008
392
393 * RELEASE CODENAME: "Aristotle", in thanks for the many
394 long and detailed discussions about the autodie interface
395 and how it should interact with Fatal. Aristotle was
396 instrumental in ensuring autodie has the clean and
397 simple interface that it does now.
fd1ce5e5 » pfenwick 2008-07-01 Removed kludge that forced ... 398
2544843f » pfenwick 2008-07-03 Retabbed 399 * FEATURE: 5.8 now has the ability to differentiate between calls
400 that return false to indicate failure, and those that
401 only return undef to indicate failure. CORE::send and
402 CORE::recv are examples of these.
fd1ce5e5 » pfenwick 2008-07-01 Removed kludge that forced ... 403
2544843f » pfenwick 2008-07-03 Retabbed 404 * FEATURE: You can now 'use autodie qw(fork)' to make sure your
405 forks are successful (they must return defined).
e0dfa76f » pfenwick 2008-07-01 autodie now knows about for... 406
86d1f35e » pfenwick 2008-07-01 Leaks into other files are ... 407 * TEST: t/todo.t removed. We have passing tests (recv.t)
662cbaef » pfenwick 2008-07-01 todo.t is dead. Huzzah! 408 for the reminder I had stuffed into here.
409
2544843f » pfenwick 2008-07-03 Retabbed 410 * TEST: t/fork.t added, for testing autodying fork.
970d6e66 » pfenwick 2008-07-01 Added tests for fork() 411
86d1f35e » pfenwick 2008-07-01 Leaks into other files are ... 412 * INTERNAL: The internal subroutine _remove_lexical_subs has been
5a82dc17 » pfenwick 2008-07-01 _remove_lexical_subs rename... 413 renamed to a much less misleading name of _install_subs,
414 since that's what it actually does now.
415
86d1f35e » pfenwick 2008-07-01 Leaks into other files are ... 416 * BUGFIX: Found and fixed a nasty bug where autodie's internal
417 subroutine cache was being too agressive. This could result in
418 handles from the incorrect package being used. Scalar filehandles
419 have never been affected by this bug.
420
421 * BUGFIX: Autodying subroutines will no longer leak into other
422 files if they are used/required/done in the same lexical scope.
48094bf0 » pfenwick 2008-07-01 Fixed nasty bug where autod... 423
d7f35efe » pfenwick 2008-07-01 Fatal.pm should now properl... 424 * BUILD: Fatal and autodie now install themselves with a
425 INSTALLDIRS=perl target, meaning they will now correctly
426 override (and possibly overwrite) your installed Fatal.pm
427 on 'make install'.
428
18e1027f » pfenwick 2008-07-02 Documented the 'used only o... 429 * DOCUMENTATION: Documented the 'used only once' bug when
430 using Fatal/autodie with package filehandles. This has
431 always existed in Fatal, and as far as I know it incurable
432 (but harmless).
433
d351cea0 » pfenwick 2008-07-03 Crickey! We can now subcla... 434 * FEATURE: autodie and its exceptions can now be subclassed!
435
436 * TEST: Added t/crickey.t as an example of using fair dinkum
437 subclasses of autodie. Mate, I reckon it's time for a beer.
438
2379b761 » pfenwick 2008-07-03 Moved autodie::exception ob... 439 * INTERNAL: Moved exception architecture from inside-out
440 objects (which need lots of extra work under 5.8) to
441 regular hashes (which don't need extra work).
442
5832655b » pfenwick 2008-07-03 Inline relevant portions of... 443 * INTERNAL: Inlined relevant portions of Scope::Guard, meaning
444 autodie can be installed with no dependencies. (It still
445 recommends IPC::System::Simple.)
446
2626d8fb » pfenwick 2008-07-03 Release time! 1.11_01 "Ari... 447 1.10_07 Sun Jun 29 15:54:26 AEST 2008
2544843f » pfenwick 2008-07-03 Retabbed 448 * RELEASE CODENAME: "ikegami", in thanks for solving the problem
449 of getting lexical replacement of subroutines working for real
450 under Perl 5.8. As this works better than my 5.10 implemenation,
451 it forms the foundation for this release.
02984ceb » pfenwick 2008-06-22 Housekeeping of version num... 452
2544843f » pfenwick 2008-07-03 Retabbed 453 * Removed inappropriate diagnostics about :lexical from Fatal.pm
3b7bb604 » pfenwick 2008-06-23 Documentation improvements ... 454
2544843f » pfenwick 2008-07-03 Retabbed 455 * Moved can't mix lexical and void diagnostics to autodie.pm
3b7bb604 » pfenwick 2008-06-23 Documentation improvements ... 456
2544843f » pfenwick 2008-07-03 Retabbed 457 * Added some basic tests for sysopen()
f7292cbd » pfenwick 2008-06-25 Added basic tests to see if... 458
2544843f » pfenwick 2008-07-03 Retabbed 459 * Removed the 5.10 only way of tracking lexical hints with
460 %^H. Our code now exclusively uses the more portable
461 5.8 code that employs Scope::Guard (and has less side-effects).
413982c0 » pfenwick 2008-06-28 Removed 5.10 hints tracking... 462
2544843f » pfenwick 2008-07-03 Retabbed 463 * Exotic system is no longer clobbered under 5.10 outside of
464 autodie's scope.
fc7519a9 » pfenwick 2008-06-28 Documentation reminder: exo... 465
2544843f » pfenwick 2008-07-03 Retabbed 466 * autodie::exception::match is better exercised in the 5.8
467 test suite.
59abe196 » pfenwick 2008-06-28 autodie::exception::Match i... 468
2544843f » pfenwick 2008-07-03 Retabbed 469 * Re-enabled 'use autodie' vanilla tests.
08bb0e3b » pfenwick 2008-06-28 Re-enabled failing 'use aut... 470
2544843f » pfenwick 2008-07-03 Retabbed 471 * t/backcompat.t no longer fails under Devel::Cover
c49b1143 » pfenwick 2008-06-28 backcompat.t no longer fail... 472
2544843f » pfenwick 2008-07-03 Retabbed 473 * Repeating function names in arguments to autodie no
474 longer causes those functions to become 'stuck' in
475 autodying mode.
d3be6e3b » pfenwick 2008-06-28 Repeating function names in... 476
2544843f » pfenwick 2008-07-03 Retabbed 477 * Wrong-version of Fatal.pm support added, along with basic
478 hints on how to get it working.
dae30624 » pfenwick 2008-06-28 Extra documentation particu... 479
2544843f » pfenwick 2008-07-03 Retabbed 480 * Expanded documentation on autodie, particularly for
481 exception handling under Perl 5.8.
dae30624 » pfenwick 2008-06-28 Extra documentation particu... 482
2544843f » pfenwick 2008-07-03 Retabbed 483 * Less warnings from t/exceptions.t when running under 5.10.
c6a566bc » pfenwick 2008-06-28 Scope::Guard is now a requi... 484
2544843f » pfenwick 2008-07-03 Retabbed 485 * All releases now really depend upon Scope::Guard, not just 5.8.
515fc231 » pfenwick 2008-06-28 Made exceptions.t less warn... 486
7a573dae » stennie 2008-07-01 replace cygwin TZs with mor... 487 1.10_06 Sun Jun 22 21:50:39 AEST 2008
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 488
2544843f » pfenwick 2008-07-03 Retabbed 489 * RELEASE CODENAME: "Chocolateboy", in thanks for his wonderful
490 insights, and for letting me sound off way too many ideas
491 about how things may be done.
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 492
2544843f » pfenwick 2008-07-03 Retabbed 493 * Fixed speeling errors in context.t, thanks to Stennie.
ec998c7d » pfenwick 2008-06-14 Fixed spelling errors in co... 494
2544843f » pfenwick 2008-07-03 Retabbed 495 * Fixed minor pod errors and omissions.
54c408c3 » pfenwick 2008-06-15 Corrected minor pod errors ... 496
2544843f » pfenwick 2008-07-03 Retabbed 497 * Fixed bug in recv.t which resulted in an incorrect number
498 of skipped tests on systems using socketpair emulation.
b2c74be1 » pfenwick 2008-06-15 Fixed incorrect number of s... 499
2544843f » pfenwick 2008-07-03 Retabbed 500 * Fixed a bug that would cause unwanted interactions between
501 autodie and autobox. Thanks to chocolateboy. (5.8)
113251f8 » pfenwick 2008-06-15 Fixed a bug that would caus... 502
2544843f » pfenwick 2008-07-03 Retabbed 503 * Wrote a (failing) test case demonstrating that the
504 autodie pragma could leak across files. Many thanks to
505 chocolateboy for bringing this to my attention.
219a33a5 » pfenwick 2008-06-15 Added (failing) test to det... 506
2544843f » pfenwick 2008-07-03 Retabbed 507 * t/system.t checks to see if exotic system has been injured
508 in the same package as 'use qutodie qw(system)'
f2fe4549 » pfenwick 2008-06-16 Check for continuing health... 509
2544843f » pfenwick 2008-07-03 Retabbed 510 * Calling filename reliably reported in 5.8 error messages
511 and error objects.
9cc30842 » pfenwick 2008-06-18 5.8 error objects now corre... 512
2544843f » pfenwick 2008-07-03 Retabbed 513 * User subs can be made autodying under 5.8, but they leak
514 over the entire package (which is very bad!)
6e775c5c » pfenwick 2008-06-18 Added tests for autodying u... 515
2544843f » pfenwick 2008-07-03 Retabbed 516 * Context-checking tests split into package-scope tests and
517 lexical scope tests.
61cec2c6 » pfenwick 2008-06-21 Support for lexical user-su... 518
2544843f » pfenwick 2008-07-03 Retabbed 519 * Lexical user-subs are disabled under Perl 5.8. They were
520 leaking everywhere and not being lexical at all. Attempting
521 to use a lexical user-sub under 5.8 now causes an error.
61cec2c6 » pfenwick 2008-06-21 Support for lexical user-su... 522
2544843f » pfenwick 2008-07-03 Retabbed 523 * Bugs found in interaction between autodie and Fatal in
524 5.8. When used together, we can't reliably replace a
525 Fatalised sub with an autodying one, and then switch it
526 back again at the end of block.
f5ec7da0 » pfenwick 2008-06-21 Detection for (failing) att... 527
2544843f » pfenwick 2008-07-03 Retabbed 528 * Bugs described above fixed, thanks to ikegami!
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 529
2544843f » pfenwick 2008-07-03 Retabbed 530 * Overhauled _remove_lexical_subs, based on ikegami's
531 input. This routine would now be better named
532 "_install_lexical_subs", since it can now both
533 install and remove.
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 534
2544843f » pfenwick 2008-07-03 Retabbed 535 * Surpressed some warnings under 5.8 about uninitialised
536 hints hashes.
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 537
2544843f » pfenwick 2008-07-03 Retabbed 538 * Added support for backwards compatible Fatal calls in
539 5.8. These are currently a little *too* backwards compatible,
540 possessing the same bugs as the old Fatal (clobbering
541 context).
68d4714f » pfenwick 2008-06-22 Overhauled lexical subs pro... 542
2544843f » pfenwick 2008-07-03 Retabbed 543 * Improved caching of pre-generated subroutines. We now
544 cache the compiled subroutine, rather than the uncompiled
545 code.
f5ec7da0 » pfenwick 2008-06-21 Detection for (failing) att... 546
2544843f » pfenwick 2008-07-03 Retabbed 547 * Added more tests to ensure Fatal throws backcompat
548 strings, whereas autodie throws exception objects.
f5ec7da0 » pfenwick 2008-06-21 Detection for (failing) att... 549
2544843f » pfenwick 2008-07-03 Retabbed 550 * Support for lexical user-subs enabled, tested, and working
551 in 5.8!
f9c4e27c » pfenwick 2008-06-22 Lexical user subs work in 5... 552
2544843f » pfenwick 2008-07-03 Retabbed 553 * Added resources to Makefile.PL / META.yml
da0e3551 » pfenwick 2008-06-22 Added blog and repository i... 554
61cec2c6 » pfenwick 2008-06-21 Support for lexical user-su... 555
7a573dae » stennie 2008-07-01 replace cygwin TZs with mor... 556 1.10_05 Sun Jun 15 15:46:38 AEST 2008
2544843f » pfenwick 2008-07-03 Retabbed 557 * Kludgy support for Perl 5.8 using Scope::Guard and dark
558 and terrible magicks taken from namespace::clean.
ccb64ae6 » pfenwick 2008-06-13 Bumped versions. Updated C... 559
2544843f » pfenwick 2008-07-03 Retabbed 560 * Rudimentary caching of generated code, to avoid having
561 to regenerate the same code every single time Fatal/autodie
562 is used on the same function.
ccb64ae6 » pfenwick 2008-06-13 Bumped versions. Updated C... 563
2544843f » pfenwick 2008-07-03 Retabbed 564 * Nuking subroutines at end of lexical scope moved into
565 own subroutine.
09dde36c » pfenwick 2008-06-14 (5.8) Nuking subs at end of... 566
2544843f » pfenwick 2008-07-03 Retabbed 567 * Perl 5.8 support working! Backcompat mode not yet
568 supported, nor is autodie with user defined subs.
569 The 5.8 support that is there is rather kludgy, and
570 still needs a lot of work.
3c4b8429 » pfenwick 2008-06-14 Perl 5.8 autodie support is... 571
2544843f » pfenwick 2008-07-03 Retabbed 572 * Perl 5.8 code no longer gets executed under 5.10 when
573 executing write_invocation().
1b45db17 » pfenwick 2008-06-14 Perl 5.8 code no longer exe... 574
2544843f » pfenwick 2008-07-03 Retabbed 575 * lex58.t tells the user that we'll get warnings under
576 Win32, and these are to be ignored. This is due to
577 a Perl behaviour where it always calls the shell under
578 Win32, even when multi-arg system is used.
6d62a304 » pfenwick 2008-06-14 Updated test cases, Makefil... 579
2544843f » pfenwick 2008-07-03 Retabbed 580 * lex58.t no longer fails to compile on Perl 5.10 which
581 is still clobbering exotic open. Perl 5.8 does not
582 clobber the exotic form.
6d62a304 » pfenwick 2008-06-14 Updated test cases, Makefil... 583
2544843f » pfenwick 2008-07-03 Retabbed 584 * Backcompat tests are all marked as TODO under perl 5.8
6d62a304 » pfenwick 2008-06-14 Updated test cases, Makefil... 585
2544843f » pfenwick 2008-07-03 Retabbed 586 * Makefile.PL moved back to saying autodie works under 5.8
6d62a304 » pfenwick 2008-06-14 Updated test cases, Makefil... 587
2544843f » pfenwick 2008-07-03 Retabbed 588 * Context/user-sub tests skipped under 5.8, which does
589 not yet support autodying of user subs.
18e93b6b » pfenwick 2008-06-14 Context/user-sub tests skip... 590
2544843f » pfenwick 2008-07-03 Retabbed 591 * lex58 tests now skipped if IPC::System::Simple not installed.
132c4008 » pfenwick 2008-06-14 Scope::Guard required for P... 592
2544843f » pfenwick 2008-07-03 Retabbed 593 * Squished a spurious warning from lex58.t
132c4008 » pfenwick 2008-06-14 Scope::Guard required for P... 594
7a573dae » stennie 2008-07-01 replace cygwin TZs with mor... 595 1.10_04 Sat Jun 14 15:02:17 AEST 2008
2544843f » pfenwick 2008-07-03 Retabbed 596 * Made all $VERSION numbers more friendly to static code
597 analysis tools (including CPAN).
598 * Added a test to make sure all version numbers are incremented
599 in lock-step.
6f0e88c7 » pfenwick 2008-06-12 Made all $VERSIONs more fri... 600
2544843f » pfenwick 2008-07-03 Retabbed 601 * Started 5.8 support
602 * Removed dependencies on 5.10 'use feature'.
603 * Removed dependencies on 5.10 fieldhashes.
604 * a::e::match no longer uses smart-match or //
605 * %^H init doesn't use // anymore.
606 * 5.8 won't try to use // in fatalised subs (kludge)
754c6f68 » pfenwick 2008-06-12 First steps in a 5.8 port; ... 607
2544843f » pfenwick 2008-07-03 Retabbed 608 * recv.t corrected to use a custom socket (closed for writing)
609 and to ignore SIGPIPEs.
1ef565c1 » pfenwick 2008-06-13 Make sure our send/recv tes... 610
7a573dae » stennie 2008-07-01 replace cygwin TZs with mor... 611 1.10_03 Fri Jun 13 11:04:17 AEST 2008
2544843f » pfenwick 2008-07-03 Retabbed 612 * Updated backwards compatibility tests to work on
613 non-Enligh systems.
db9fab71 » pfenwick 2008-06-12 Bumped to 1.10_03. Fixed b... 614
7a573dae » stennie 2008-07-01 replace cygwin TZs with mor... 615 1.10_02 Fri Jun 13 10:55:00 AEST 2008
2544843f » pfenwick 2008-07-03 Retabbed 616 * Tweaked boilerplate test to remove windows-only paths.
617
618 1.10_01 Thu Jun 12 17:19:13 AEST 2008
619 * First beta release of module.
620
621 1.09 UNRELEASED
622 * Many changes not documented here.
623 * Fatal is now fully backwaards compatible again.
624 * system() can be fatalised/autodying if IPC::System::Simple
625 is installed.
626 * Rationlisation of autodie::exception API.
627 * autodie::exception->function() now always returns the
628 full function name as best we can find it, and not
629 what may be getting replaced (eg, CORE::open instead of
630 main::open).
631
632 1.08 Sat Mar 29 10:54:20 AEDT 2008
e1033eb0 » pfenwick 2008-03-28 Internal release 633 Dual-lifed module internally from work I was doing on p5p.
634