5 years agospelling
Karen Etheridge [Sat, 6 Jul 2019 21:17:13 +0000]
spelling

5 years agouse more efficient expr form of map, grep when possible
Karen Etheridge [Sat, 6 Jul 2019 18:15:35 +0000]
use more efficient expr form of map, grep when possible

5 years agouse new-style authority config
Karen Etheridge [Sat, 6 Jul 2019 18:15:21 +0000]
use new-style authority config

5 years agorun tests in parallel
Karen Etheridge [Sat, 6 Jul 2019 18:14:42 +0000]
run tests in parallel

5 years agoalso test on perls 5.28, 5.30
Karen Etheridge [Sat, 6 Jul 2019 18:14:26 +0000]
also test on perls 5.28, 5.30

5 years agotravis is deprecating container-based environments
Karen Etheridge [Sat, 6 Jul 2019 18:14:13 +0000]
travis is deprecating container-based environments

5 years agobizarre smartmatch changes were removed in 5.27.10
Karen Etheridge [Sat, 6 Jul 2019 18:14:02 +0000]
bizarre smartmatch changes were removed in 5.27.10

6 years agoincrement $VERSION after 0.30 release
Karen Etheridge [Thu, 21 Dec 2017 07:23:58 +0000]
increment $VERSION after 0.30 release

6 years agoTry-Tiny-0.30 v0.30
Karen Etheridge [Thu, 21 Dec 2017 07:23:58 +0000]
Try-Tiny-0.30

  - expand "when" test skippage to more perl versions

6 years agojust skip when tests on all perls since when changed to whereis/whereso
Karen Etheridge [Thu, 21 Dec 2017 03:39:00 +0000]
just skip when tests on all perls since when changed to whereis/whereso

6 years agoincrement $VERSION after 0.29 release
Karen Etheridge [Tue, 19 Dec 2017 03:52:14 +0000]
increment $VERSION after 0.29 release

6 years agoTry-Tiny-0.29 v0.29
Karen Etheridge [Tue, 19 Dec 2017 03:52:14 +0000]
Try-Tiny-0.29

  - skip tests of "when" and "given/when" usage for perl 5.27.7 *only* (see
    RT#123908)

6 years agodocument Perl 5.14.0 fixed $@ clobbering in DESTROY
Jens Berthold [Fri, 14 Jul 2017 11:13:06 +0000]
document Perl 5.14.0 fixed $@ clobbering in DESTROY

This is from PR#8:
- rebased to master
- commits squashed
- links fixed as per Aristotle's comment
- wordwrapped

6 years agoonly do dzil build once for all Travis builds
Karen Etheridge [Tue, 19 Dec 2017 03:32:00 +0000]
only do dzil build once for all Travis builds

6 years agoclarify docs re switch statements, given
Karen Etheridge [Tue, 19 Dec 2017 03:29:19 +0000]
clarify docs re switch statements, given

6 years agotemporary fix for RT#123908
Karen Etheridge [Tue, 19 Dec 2017 03:26:24 +0000]
temporary fix for RT#123908

smartmatch semantics in general, and the use of "when" in particular,
has changed in 5.27.7.  They might change again, so I'm skipping tests
for this version only, and will revisit for 5.27.8.

7 years agotest on latest perls
Karen Etheridge [Sun, 20 Aug 2017 00:24:35 +0000]
test on latest perls

7 years agobump dep on [Test::CheckDeps] for the skip(..., 0) fix (see also RT#121183)
Karen Etheridge [Wed, 17 May 2017 21:15:56 +0000]
bump dep on [Test::CheckDeps] for the skip(..., 0) fix (see also RT#121183)

7 years agofix ambiguous-without-parentheses warning pre-5.10
Aristotle Pagaltzis [Wed, 26 Apr 2017 11:02:22 +0000]
fix ambiguous-without-parentheses warning pre-5.10

7 years agoonly invoke caller() when _HAS_SUBNAME
Aristotle Pagaltzis [Thu, 13 Apr 2017 15:56:49 +0000]
only invoke caller() when _HAS_SUBNAME

7 years agoincrement $VERSION after 0.28 release
Karen Etheridge [Mon, 9 Jan 2017 01:22:12 +0000]
increment $VERSION after 0.28 release

7 years agoTry-Tiny-0.28 v0.28
Karen Etheridge [Mon, 9 Jan 2017 01:22:11 +0000]
Try-Tiny-0.28

  - enabled some tests of finally blocks that were disabled on 5.6, now that
    that functionality works (since 0.13) (Pali, PR#4)

7 years agoreduce the number of prereqs we add
Karen Etheridge [Mon, 9 Jan 2017 01:15:33 +0000]
reduce the number of prereqs we add

7 years agochangelog for test change on 5.6
Karen Etheridge [Mon, 9 Jan 2017 01:14:14 +0000]
changelog for test change on 5.6

8 years agoRun finally tests also on 5.6.x
Pali [Thu, 17 Nov 2016 13:33:09 +0000]
Run finally tests also on 5.6.x

Skip for those tests was added in commit 2531688ce109de57a8e170677240a17df3f8528e.
But fix for calling finally {} in VOID context also for 5.6.x was added in commit
5f5e92c0e36725a449c010c445eba40589ac8bf6, so there is no need to skip those tests.

8 years agoTry::Tiny::Except is broken with current Try::Tiny
Karen Etheridge [Sat, 29 Oct 2016 17:47:49 +0000]
Try::Tiny::Except is broken with current Try::Tiny

see https://github.com/tfoertsch/perl-Try-Tiny-Except/issues/1

8 years agoensure that Module::Metadata isn't added as a test prereq for t/00-report-prereqs.t
Karen Etheridge [Mon, 3 Oct 2016 20:58:16 +0000]
ensure that Module::Metadata isn't added as a test prereq for t/00-report-prereqs.t

8 years agodocument why we only use MakeMaker
Karen Etheridge [Mon, 3 Oct 2016 20:57:40 +0000]
document why we only use MakeMaker

8 years agocapitalize abstract
Karen Etheridge [Mon, 3 Oct 2016 20:56:58 +0000]
capitalize abstract

8 years agoincrement $VERSION after 0.27 release
Karen Etheridge [Tue, 16 Aug 2016 01:44:07 +0000]
increment $VERSION after 0.27 release

8 years agoTry-Tiny-0.27 v0.27
Karen Etheridge [Tue, 16 Aug 2016 01:44:06 +0000]
Try-Tiny-0.27

  - repository moved to the github p5sagit organization (the primary is on
    shadowcat, mirrored to github)
  - no changes since 0.26

8 years agotime to release as stable
Karen Etheridge [Tue, 16 Aug 2016 01:43:30 +0000]
time to release as stable

8 years agowhitespace
Karen Etheridge [Tue, 16 Aug 2016 01:42:40 +0000]
whitespace

8 years agostringify version before comparing, as recommended by Zefram
Karen Etheridge [Mon, 11 Jul 2016 22:17:29 +0000]
stringify version before comparing, as recommended by Zefram

8 years agomove the repository to p5sagit (github and shadowcat)
Karen Etheridge [Wed, 16 Mar 2016 02:06:28 +0000]
move the repository to p5sagit (github and shadowcat)

8 years agodeclare a minimum version for my bundle (and podweaver bundle)
Karen Etheridge [Wed, 16 Mar 2016 02:05:19 +0000]
declare a minimum version for my bundle (and podweaver bundle)

8 years agoremove stale version control link in pod
Karen Etheridge [Wed, 16 Mar 2016 02:04:06 +0000]
remove stale version control link in pod

8 years agoincrement $VERSION after 0.26 release
Karen Etheridge [Tue, 15 Mar 2016 23:42:45 +0000]
increment $VERSION after 0.26 release

8 years agoTry-Tiny-0.26-TRIAL v0.26
Karen Etheridge [Tue, 15 Mar 2016 23:42:45 +0000]
Try-Tiny-0.26-TRIAL

  - switch from finalizers using an array to a hash, to resolve segfaults when
    creating a pseudofork on MSWin before perl 5.20 (Graham Knop,
    karenetheridge/Sub-Name/#3)

8 years agoprovide proper references to pull requests from older repositories
Karen Etheridge [Tue, 15 Mar 2016 23:21:39 +0000]
provide proper references to pull requests from older repositories

8 years agogive credit by real name, when known
Karen Etheridge [Tue, 15 Mar 2016 23:09:02 +0000]
give credit by real name, when known

8 years agoChanges entry for PR#3
Karen Etheridge [Tue, 15 Mar 2016 23:07:03 +0000]
Changes entry for PR#3

8 years agouse a hash rather than array for finalizers to fix segfault
Graham Knop [Tue, 15 Mar 2016 21:46:31 +0000]
use a hash rather than array for finalizers to fix segfault

Localizing an array entry causes segfaults when creating a pseudofork on
Win32 perl < 5.20.

8 years agoincrement $VERSION after 0.25 release
Karen Etheridge [Mon, 22 Feb 2016 20:17:22 +0000]
increment $VERSION after 0.25 release

8 years agoTry-Tiny-0.25-TRIAL v0.25
Karen Etheridge [Mon, 22 Feb 2016 20:17:22 +0000]
Try-Tiny-0.25-TRIAL

  - "finally" blocks are now run for all methods of leaving the try block
    (including via exit, goto)  (mauke, RT#112099)

8 years agoremove unneeded shebangs
Karen Etheridge [Fri, 19 Feb 2016 23:07:41 +0000]
remove unneeded shebangs

8 years agoChanges entry for PR#1
Karen Etheridge [Mon, 22 Feb 2016 19:45:57 +0000]
Changes entry for PR#1

8 years agouse a lexical variable to prevent external fondling
Lukas Mai [Sun, 21 Feb 2016 19:36:19 +0000]
use a lexical variable to prevent external fondling

8 years agoalways run finally blocks no matter how we leave the try block (RT #112099)
Lukas Mai [Fri, 19 Feb 2016 17:24:53 +0000]
always run finally blocks no matter how we leave the try block (RT #112099)

8 years agoadd a check that we don't accidentally introduce new unwanted prereqs
Karen Etheridge [Tue, 22 Dec 2015 01:27:39 +0000]
add a check that we don't accidentally introduce new unwanted prereqs

8 years agoupdate tooling to avoid detecting the optional use of perl 5.010
Karen Etheridge [Tue, 22 Dec 2015 00:34:13 +0000]
update tooling to avoid detecting the optional use of perl 5.010

8 years agoincrement $VERSION after 0.24 release
Karen Etheridge [Fri, 11 Dec 2015 05:20:43 +0000]
increment $VERSION after 0.24 release

8 years agoTry-Tiny-0.24 v0.24
Karen Etheridge [Fri, 11 Dec 2015 05:20:42 +0000]
Try-Tiny-0.24

  - fix prereq errors in 0.23

8 years agomove Sub::Util prereq to suggests
Karen Etheridge [Fri, 11 Dec 2015 05:16:12 +0000]
move Sub::Util prereq to suggests

8 years agostrip perl 5.010 test prereq
Karen Etheridge [Fri, 11 Dec 2015 05:15:59 +0000]
strip perl 5.010 test prereq

8 years agoincrement $VERSION after 0.23 release
Karen Etheridge [Fri, 11 Dec 2015 04:05:23 +0000]
increment $VERSION after 0.23 release

8 years agoTry-Tiny-0.23 v0.23
Karen Etheridge [Fri, 11 Dec 2015 04:05:22 +0000]
Try-Tiny-0.23

  - fix syntax of example code (Rudolf Leermakers, PR#22)
  - 'perl' removed from prerequisite recommendations, to avoid tripping up
    CPAN clients (Graham Knop)
  - Sub::Util is used preferentially to Sub::Name in most cases (Graham Knop,
    PR#27)

8 years agoremove xt/author/clean-namespaces.t - Carp imports not cleaned up; _subname glob...
Karen Etheridge [Fri, 11 Dec 2015 04:02:54 +0000]
remove xt/author/clean-namespaces.t - Carp imports not cleaned up; _subname glob left behind

8 years agoremove xt/release/minimum-version.t that fails on t/*when.t
Karen Etheridge [Fri, 11 Dec 2015 03:59:35 +0000]
remove xt/release/minimum-version.t that fails on t/*when.t

8 years agofix spelling tests
Karen Etheridge [Fri, 11 Dec 2015 03:51:02 +0000]
fix spelling tests

8 years agotighten up .gitignore entries
Karen Etheridge [Fri, 11 Dec 2015 03:47:05 +0000]
tighten up .gitignore entries

8 years agoupdate copyright data
Karen Etheridge [Fri, 11 Dec 2015 03:45:59 +0000]
update copyright data

8 years agoswitch to my bundle
Karen Etheridge [Fri, 11 Dec 2015 03:40:40 +0000]
switch to my bundle

8 years agotravis now supports 5.22
Karen Etheridge [Fri, 11 Dec 2015 03:25:51 +0000]
travis now supports 5.22

8 years agoChanges entries for next release
Karen Etheridge [Fri, 11 Dec 2015 03:25:43 +0000]
Changes entries for next release

9 years agoprefer Sub::Util to Sub::Name
Graham Knop [Thu, 19 Nov 2015 20:18:57 +0000]
prefer Sub::Util to Sub::Name

Sub::Util can name subs as well, and is in core in newer versions.  Try
to use it instead of Sub::Name, although prefer Sub::Name if it is
already loaded.

Each module has some edge cases though.  Sub::Name has a memory leak
prior to 0.08.  Some systems can end up with a version of Sub::Util that
doesn't have the set_subname sub.  Check for these cases as well when
picking a module to use.

Also optimize out the sub naming if neither module is available.

9 years agoremove perl from test recommendations
Graham Knop [Thu, 19 Nov 2015 20:15:40 +0000]
remove perl from test recommendations

Newer versions of CPAN.pm install recommendations by default.  They
treat them as hard dependencies.  Since a dependency on perl is
impossible for CPAN.pm to fulfill, it will refuse to install Try::Tiny
on perl 5.8 with the default settings.

There isn't really anything useful to be done with a recommendation on a
newer perl version, so just remove it.

9 years agoMerge pull request #22 from hatsuseno/master
Jesse Luehrs [Sat, 17 Jan 2015 19:51:17 +0000]
Merge pull request #22 from hatsuseno/master

Minor documentation fix; assign actual strings, not hashrefs.

9 years agoMinor documentation fix; assign actual strings, not hashrefs.
Rudolf Leermakers [Tue, 6 Jan 2015 13:22:44 +0000]
Minor documentation fix; assign actual strings, not hashrefs.

9 years agoupdate travis
Jesse Luehrs [Fri, 12 Dec 2014 16:57:16 +0000]
update travis

9 years agoMerge pull request #21 from cm-perl/master
Jesse Luehrs [Fri, 12 Dec 2014 16:26:40 +0000]
Merge pull request #21 from cm-perl/master

Typo in comment

9 years agoTypo in comment
cm-perl [Fri, 12 Dec 2014 16:17:10 +0000]
Typo in comment

10 years agochangelog Try-Tiny-0.22
Jesse Luehrs [Tue, 29 Apr 2014 19:40:02 +0000]
changelog

10 years agofix tabs
Jesse Luehrs [Tue, 29 Apr 2014 19:30:33 +0000]
fix tabs

10 years agoadd Sub::Name and perl 5.010 to test recommendations (fixes #18)
Jesse Luehrs [Tue, 29 Apr 2014 19:20:42 +0000]
add Sub::Name and perl 5.010 to test recommendations (fixes #18)

10 years agochangelog Try-Tiny-0.21
Jesse Luehrs [Tue, 15 Apr 2014 13:46:36 +0000]
changelog

10 years agosigh
Jesse Luehrs [Tue, 15 Apr 2014 13:33:01 +0000]
sigh

10 years agochangelog
Jesse Luehrs [Tue, 15 Apr 2014 13:22:11 +0000]
changelog

10 years agopackaging
Jesse Luehrs [Tue, 15 Apr 2014 13:20:45 +0000]
packaging

10 years agoskip test if Capture::Tiny is too old (Martin Popel, fixes #17)
Jesse Luehrs [Tue, 15 Apr 2014 13:19:45 +0000]
skip test if Capture::Tiny is too old (Martin Popel, fixes #17)

10 years agochangelog Try-Tiny-0.20
Jesse Luehrs [Fri, 21 Mar 2014 21:20:24 +0000]
changelog

10 years agochangelog
Jesse Luehrs [Fri, 21 Mar 2014 21:19:19 +0000]
changelog

10 years agoMerge pull request #15 from Flimm/master
Jesse Luehrs [Fri, 21 Mar 2014 20:19:27 +0000]
Merge pull request #15 from Flimm/master

Add warning to POD about try/finally

10 years agoAdd warning to POD about try/finally
David Lowe [Fri, 7 Mar 2014 17:33:54 +0000]
Add warning to POD about try/finally

try/finally suppresses errors, which is unexpected behaviour if you come
from another programming language.

10 years agochangelog Try-Tiny-0.19
Jesse Luehrs [Thu, 23 Jan 2014 01:52:51 +0000]
changelog

10 years agochangelog
Jesse Luehrs [Thu, 23 Jan 2014 01:48:15 +0000]
changelog

10 years agofix test plan
Jesse Luehrs [Thu, 23 Jan 2014 01:36:30 +0000]
fix test plan

10 years agoMerge pull request #11 from ilmari/global-destruction
Jesse Luehrs [Thu, 23 Jan 2014 01:34:37 +0000]
Merge pull request #11 from ilmari/global-destruction

Import 'import' instead of inheriting it

10 years agopackaging stuff
Jesse Luehrs [Thu, 23 Jan 2014 01:30:47 +0000]
packaging stuff

10 years agoMerge pull request #13 from anaxagoras/master
Jesse Luehrs [Thu, 23 Jan 2014 00:42:20 +0000]
Merge pull request #13 from anaxagoras/master

Better docs on capturing success with catch block

10 years agosecond example now behaves the same as the first
awalker [Wed, 22 Jan 2014 19:02:56 +0000]
second example now behaves the same as the first

10 years agoBetter docs on capturing success with catch block
anaxagoras [Tue, 21 Jan 2014 16:47:24 +0000]
Better docs on capturing success with catch block

While there is a note that calls it out below, I believe the behavior and usage of capturing success when also using a catch{} block is sufficiently different to the example that it merits its own example in the same code block. My rationale is twofold:

1) Because it is sufficiently different in behavior, giving an example goes a long way towards understanding.
2) Because this is a critical feature to have fail and it might be easy for someone reading the docs to digest the example and move on before reading the note below (which is unemphasized), it is best to have the second code example alongside the first with a meaningful name so that they are both digested at the same time.

11 years agoTest loading during global destruction
Dagfinn Ilmari Mannsåker [Thu, 24 Oct 2013 22:02:43 +0000]
Test loading during global destruction

11 years agoImport 'import' instead of inheriting it
Dagfinn Ilmari Mannsåker [Sun, 20 Oct 2013 12:53:36 +0000]
Import 'import' instead of inheriting it

This fixes errors when the first use of Try::Tiny happens during global
destruction on Perl >= 5.10.0.

The problem is that the inheritance caches don't get invalidated during
global destruction, and base.pm skips classes that the calling class
already inherits from, thus populating an initial empty inheritance
cache, which doesn't get invalidated when it adds the class to @ISA.

11 years agochangelog Try-Tiny-0.18
Jesse Luehrs [Sat, 17 Aug 2013 18:33:25 +0000]
changelog

11 years agochangelog
Jesse Luehrs [Sat, 17 Aug 2013 18:33:08 +0000]
changelog

11 years agoMerge pull request #10 from pghmcfc/old-test-more
Jesse Luehrs [Sat, 17 Aug 2013 18:31:25 +0000]
Merge pull request #10 from pghmcfc/old-test-more

Avoid dependency on Test::More 0.88

11 years agoThe use of done_testing implies a dependency of Test::More 0.88 or
Paul Howarth [Sat, 17 Aug 2013 18:02:57 +0000]
The use of done_testing implies a dependency of Test::More 0.88 or
later. To avoid this, and provide compatibility with older versions,
remove done_testing and supply a test plan.

To ensure that the end of the test is reached (rather than exiting
early due to an error), I added an additional "pass" test to bump
the test count.

11 years agochangelog Try-Tiny-0.17
Jesse Luehrs [Fri, 16 Aug 2013 17:29:19 +0000]
changelog

11 years agochangelog
Jesse Luehrs [Fri, 16 Aug 2013 18:30:10 +0000]
changelog