Commit graph

22 commits

Author SHA1 Message Date
wiz
c58d71c525 Updated p5-Devel-StackTrace to 2.02.
2.02   2016-12-07

- Switch to GitHub Issues.

- Some small pod fixes.
2016-12-12 09:41:07 +00:00
mef
ee1d99c162 Update to devel/p5-Devel-StackTrace-2.0.1
-----------------------------------------
2.01   2016-03-02
- Fixed the frames method when it is called with arguments. Previously this
  did not work if it was called before the method was called as a
  reader. Fixed by Mark Fowler. PR #8.
2016-04-10 02:24:57 +00:00
agc
d9e4cfe05d Add SHA512 digests for distfiles for devel category
Issues found with existing distfiles:
	distfiles/eclipse-sourceBuild-srcIncluded-3.0.1.zip
	distfiles/fortran-utils-1.1.tar.gz
	distfiles/ivykis-0.39.tar.gz
	distfiles/enum-1.11.tar.gz
	distfiles/pvs-3.2-libraries.tgz
	distfiles/pvs-3.2-linux.tgz
	distfiles/pvs-3.2-solaris.tgz
	distfiles/pvs-3.2-system.tgz
No changes made to these distinfo files.

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-03 03:27:11 +00:00
wen
fa81a38c03 Update to 2.00
Upstream changes:
2.00   2014-11-01

[BACKWARDS INCOMPATIBILITIES]

- The no_refs constructor parameter is now deprecated, and has been replace by
  a new unsafe_ref_capture parameter that defaults to false, meaning no
  references are captured by default. Capturing references by default caused
  too many issues that couldn't be worked around, including running DESTROY
  blocks multiple times on captured objects in the worst case.

- Removed support for the long-deprecated no_object_refs constructor parameter
  (deprecated in 2002!).
2014-11-03 07:12:12 +00:00
wen
fdbf76b171 Update to 1.34
Upstream changes:
1.34   2014-06-26

- Fixed use of // operator (my use, not Graham's) in previous release.


1.33   2014-06-26

- Added a skip_frames option. This causes the stack trace to skip an arbitrary
  number of frames. Patch by Graham Knopp.


1.32   2014-05-05

- Added a filter_frames_early option to filter frames before arguments are
  stringified. Added by Dagfinn Ilmari Mannsker.


1.31   2014-01-16

- No code changes, just doc updates, including documenting the as_string()
  method in Devel::StackTrace::Frame. Requested by Skef. RT #91575.
2014-10-02 00:35:46 +00:00
rhaen
e555ecb5f3 - Updated to 1.30
ChangeLog:
1.30   2012-11-19

- There was an eval which did not first localize $@ and $SIG{__DIE__}. This
  broke Plack::Middleware::StackTrace (and possibly other tihngs).


1.29   2012-11-16

- The Devel::StackTrace->frames() method is now read-write. This allows you to
  do more complex filtering of frames than is easily possible with the
  frame_filter argument to the constructor. Patch by David Cantrell.


1.28   2012-11-16

- Allow arguments to a trace's as_string method, specifically max_arg_length
  Patch by Ricardo Signes.

- Added a no_args option to the constructor in 1.26 but forgot to mention it
  in Changes. Requested by Scott J. Miller. RT #71482.
2013-01-26 20:12:31 +00:00
adam
ec24d216ca Changes 1.27:
* Skip some tests on 5.13.8+ that are no longer relevant because of a change
  in the Perl core.
2011-08-12 11:47:39 +00:00
rhaen
ddefbe74cf - Updated to 1.26
Changelog:
- The as_string method did not localize $@ and $SIG{__DIE__} before doing an
  eval. Reported and tested by Marc Mims. RT #61072.
2010-12-17 14:12:10 +00:00
sno
146fcad7db Updating devel/p5-Devel-StackTrace from 1.2200nb1 to 1.2500
pkgsrc changes:
- adjusting Module Type
- adjusting license definition

Upstream changes:
1.25  Sep 6, 2010
- Devel::StackTraceFrame was not actually subclassing
  Devel::StackTrace::Frame. Patch by Tatsuhiko Miyagawa.

1.24  Sep 3, 2010
- Version 1.23 was missing a $VERSION assignment. Reported by Sergei
  Vyshenski.
- Moved the frame object to its own file, and renamed it
  Devel::StackTrace::Frame. The old package name, Devel::StackTraceFrame, is
  now a subclass of the new package, to provide a backwards compatibility
  shim.

1.23  Aug 27, 2010
- Added message and indent constructor parameters. Based on a patch by James
  Laver. RT #59830.
2010-09-08 06:28:25 +00:00
sno
8d4fd7de81 Updating package for p5 module Devel::StackTrace from 1.2100 to 1.2200
Upstream changes from 1.21 to 1.22:
1.22  Jul 15, 2009

- Apparently, overload::StrVal on older Perls (5.8.5, but not 5.8.8)
  tried to call a stringification method if it existed. So now,
  Devel::StackTrace just uses overload::AddrRef instead, which should
  always be safe. Reported by Michael Stevens. Fixes RT #47900.
2009-07-18 17:45:52 +00:00
sno
5f16f19562 pkgsrc changes:
- Updating package for module Devel::StackTrace from 1.20 to 1.21
  - Adjusting meta information:
    * license to ${PERL5_LICENSE}
    * module type to Module::Build
    * remove dependency to devel/p5-Test-Simple - desired version is in
      perl core

Upstream changes:
1.21  Jul 1, 2009

- Overloaded objects which didn't provide a stringification method
  cause Devel::StackTrace to die when respect_overload was
  true. Reported by Laurent Dami. RT #39533.

- Added a frame_filter option which allows for fine-grained control
  over what frames are included in a trace. Based on (but expanded)
  from a patch proposed by Florian Ragwitz. RT #47415.
2009-07-08 08:10:23 +00:00
he
37c52516e5 Update from version 1.1902nb1 to 1.2000 (upstream 1.20).
(I hope the maintainer won't mind.)

Pkgsrc changes:
 o Add the "00" suffix to ensure we don't decrease the version number

Upstream changes:

1.20  Oct 25, 2008

- The change in 1.15 to object creation broke the no_refs feature,
  causing references to be stored until the trace's frame objects were
  created.

* Exception::Class objects are always stringified by calling
  overload::StrVal().
2008-11-05 23:18:48 +00:00
rhaen
c44f7c7596 updated to 1.1902
took maintainership

ChangeLog:
1.1902  Jul 16, 2008

- This release just contains another test fix.

- The new tests for bad utf-8 apparently fail with any Perl before
  5.8.8. Reported by Lee Heagney. RT #37702.
2008-07-22 08:01:34 +00:00
rhaen
5dbfd0b072 - updated to 1.1901
Changelog:
1.1901  Jun 13, 2008

- This release just contains a test fix.

- The new tests for bad utf-8 fail with Perl 5.8.x where x <=
  6. Apparently, utf-8 was just more broken back then. Reported by
  Andreas Koenig's smokebots.


1.19  Jun 13, 2008

- Dropped support for Perl 5.005.

- If a function was in stack trace had been called with invalid utf-8
  bytes, this could cause stringifying a stack trace to blow up when
  it tried to stringify that argument. We now catch those (and other)
  errors and simply put "(bad utf-8)" or "?" in the stringified
  argument list. Reported by Alex Vandiver.
2008-07-16 13:49:21 +00:00
heinz
810f0896da Updated to version 1.18.
Pkgsrc changes:
  - Used author-independent URL for HOMEPAGE.
  - The package supports installation to DESTDIR.
  - A C compiler is not required.

Changes since version 1.15:
===========================
1.18  Mar 31, 2008
- Fix a test failure on Win32. No changes to the non-test code.

1.17  Mar 30, 2008
- Added a max_arg_length parameter, which if set causes
  Devel::StackTrace to truncate long strings when printing out a
  frame. RT #33519. Patch by Ian Burrell.

1.16  Feb 2, 2008
- A test fix for bleadperl. The value of wantarray from caller() needs
  to be treated as a boolean, as opposed to expecting 0 (vs
  undef). RT #32583. Patch by Jerry Hedden.
2008-04-06 14:53:57 +00:00
wiz
6398e5bfb1 Update to 1.15:
1.15  Apr 28, 2007

- Changed how objects are created in order to greatly speed up the
  constructor. Instead of processing all the stack trace data when the
  object is first created, this is delayed until it is needed. This
  was done in order to help speed up Exception::Class. There are cases
  where code may be throwing many exceptions but never examining the
  stack traces.

  Here is a representative benchmark of object construction for the
  old code versus the new code:

          Rate  old  new
    old 1764/s   -- -76%
    new 7353/s 317%   --


1.14  Mar 16, 2007

- Added a few micro-optimizations from Ruslan Zakirov, who is hoping
  this will ultimately help speed up RT.
2007-06-08 08:38:27 +00:00
wiz
02147cf25d Update to 1.13:
1.13  Apr 1, 2006

- Add another fix for filename handling in the tests. Tests were
giving false failures on Win32 because the tests needed to use
File::Spec->canonpath(), just like Devel::StackTrace does internally.
2006-07-19 22:37:21 +00:00
wiz
7ab3de8ca3 Update to 1.12:
1.12  Sep 30, 2005

- Newer versions of Perl use Unix-style filenames when reporting the
filename in caller(), which breaks Exception::Class tests on other
platforms, and is just kind of funky.  This module now calls
File::Spec->canonpath() to clean up the filename in each frame.
Reported by Garret Goebel.
2005-11-22 22:03:26 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
wiz
8bde37a8eb Update to 1.11:
1.11  Apr 12, 2004

- No code changes, just switching to including a Makefile.PL that uses
ExtUtils::MakeMaker instead of one that sneakily uses Module::Build.
Requested by Perrin Harkins.

1.10  Mar 10, 2004

- Silence a warning from the test code if Exception::Class isn't
installed.  Reported by Stefano Ruberti.

- Localize $@ to avoid overwriting a previously set $@ while creating
a Devel::StackTrace object.  This caused a test failure in the
Exception::Class tests when run with Perl 5.6.1, but not with 5.8.3.
I don't really know how to test for it outside of Exception::Class.
Reported by Jesse Erlbaum.

1.09  Feb 26, 2004

- The overload workaround blows up if a DBI handle is anywhere in the
stack, because of a bad interaction between overload::Overloaded and
DBI's custom dispatching.  This release works around that.

1.08  Feb 23, 2004

- Some tests failed on Win32 because they were hardcoded to expect a
file name with forward slashes.  Reported by Steve Hay.

1.07  Feb 21, 2004

- This release includes a change to the overload handling that is
necessary for cooperation with Exception::Class.

1.06  Feb 21, 2004

- Devel::StackTrace now uses overload::StrVal() to get the underlying
string value of an overloaded object when creating a stack frame for
display.  This can be turned off by setting respect_overload to a true
value.  Suggested by Matt Sisk.

1.05  Feb 17, 2004

- Devel::StackTrace incorrectly reported that arguments were being
passed to eval blocks (which isn't possible).  Reported by Mark Dedlow.

1.04  Sep 25, 2003

- The special handling of Exception::Class::Base objects was broken.
This was exposed by the fact that Exception::Class 1.15 now uses
Devel::StackTrace in a slightly different way than it did previously.
2004-07-04 22:36:32 +00:00
wiz
74b2318981 Update to 1.03:
1.03  Jan 22, 2003

- Special handling of Exception::Class::Base objects when stringifying
references.  This avoids infinite recursion between the two classes.

Requested by p5-Exception-Class package (hi he!).
2003-09-19 09:33:33 +00:00
mjl
887dd83071 Import of p5-Devel-StackTrace 1.02
The Devel::StackTrace module contains two classes, Devel::StackTrace and
Devel::StackTraceFrame. The goal of this object is to encapsulate the
information that can found through using the caller() function, as well
as providing a simple interface to this data.
2003-01-02 15:03:18 +00:00