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