Commit graph

29 commits

Author SHA1 Message Date
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
seb
c3f1e700ad Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.

sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
2010-08-21 16:32:42 +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
he
b021813da0 Bump the PKGREVISION for all packages which depend directly on perl,
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.

The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
2008-10-19 19:17:40 +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
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +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
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +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
jlam
7fbb8d9527 Bump the PKGREVISIONs of all (638) packages that hardcode the locations
of Perl files to deal with the perl-5.8.7 update that moved all
pkgsrc-installed Perl files into the "vendor" directories.
2005-08-06 06:19:03 +00:00
grant
e720c400e2 depends should be ../../<category>/<pkg> 2005-07-19 10:11:48 +00:00
jlam
7a6521287b Turn PERL5_PACKLIST into a relative path instead of an absolute path.
These paths are now relative to PERL5_PACKLIST_DIR, which currently
defaults to ${PERL5_SITEARCH}.  There is no change to the binary
packages.
2005-07-13 18:01:18 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
grant
908e765695 since perl is now built with threads on most platforms, the perl archlib
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").

binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.

addresses PR pkg/28619 from H. Todd Fujinaka.
2004-12-20 11:30:55 +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
snj
7bdebf2480 Convert to buildlink3. 2004-04-27 03:09:57 +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
martti
e69ab8c365 COMMENT should start with a capital letter. 2003-07-21 16:35:12 +00:00
grant
4083b24390 s/netbsd.org/NetBSD.org/ 2003-07-17 21:31:04 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
cjep
841903b203 Lint: shorten SVR4_PKGNAME 2003-04-27 14:31:52 +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