Karen Etheridge [Mon, 25 Nov 2019 00:18:11 +0000]
ignore local .ackrc
Karen Etheridge [Mon, 25 Nov 2019 00:16:51 +0000]
use Travis CI
Karen Etheridge [Mon, 25 Nov 2019 00:16:35 +0000]
advertise github mirror in metadata
Karen Etheridge [Mon, 25 Nov 2019 00:16:25 +0000]
Changes entry for PR#1
Karen Etheridge [Mon, 25 Nov 2019 00:14:44 +0000]
Merge remote-tracking branch 'github/pull/1'
Karl Williamson [Sun, 24 Nov 2019 18:20:11 +0000]
Update to work with Perl 5.31.7
This deprecated module was using deprecated macros that recently have
been removed. Any use of them should have generated a warning for the
past two Perl releases. Nonetheless, no one apparently reported this to
the module's bg tracker, and so, the issue was raised only when things
stopped working.
The code contains the file 'stolen_chunk_of_toke.c'. And this is as
scary as it sounds. There was a similar situation a while back with
B::Hooks::Parser, and that was solved by making public a few functions
in toke.c that should be used outside the perl core only by that module.
It makes sense for that module to have access to these, given its
purpose, and it becomes innoculated against most future changes to the
parser.
Devel::Declare, unfortunately is using an earlier version of toke.c, and
so the above approach doesn't work, because the parameters to the
functions have changed, and the code is highly entwined with various
interpreter level lexing variables, expecting them to work in the way it
has coded for them, which may not be the case now or at some point in
the future if it used the real toke.c functions. So its best to try to
get this stolen chunk to work.
A problem is that there are bugs in the way toke.c worked at the time
this was stolen. I have fixed only the most obvious.
There are two main issues.
The easiest is that this won't compile because of security-related
changes in blead. This is why most of these macros were deprecated:
they allow a potential read past the end of the buffer. That means an
extra parameter must be passed, giving the upper limit for the buffer.
There have been versions of the macros available for several releases
that takes the extra parameter, so all we have to do is convert to use
those versions when available, and the old versions when not.
The harder is that these use is_utf8_mark() to find the ends of
identifiers being parsed. This is long obsolete, valid mostly only for
Western Latin-based languages. Unicode came up with a better scheme
many versions ago, which is to define a property that indicates if a
character continues an identifier or not. Perl 5.31.7 finally removed
the old deprecated function. I have tried to change the code here that
used it without changing the results when using inputs that used to be
valid. But there was a bug in the ordering of this. The UTF-8 case
must come first, so I reordered it. Also, the new toke.c code has a
do-while loop for the non-UTF8 case. I copied that too, without
investigating why that change was made in the modern toke.c.
This now passes all its tests on blead. I did find some omissions in
blead that I fixed to get this to pass.
Karen Etheridge [Fri, 12 May 2017 10:00:43 +0000]
add explicit dependency on the ::Install::Files module that ExtUtils::Depends uses
Karen Etheridge [Tue, 28 Mar 2017 07:10:40 +0000]
Bumping version to 0.006020
Karen Etheridge [Tue, 28 Mar 2017 07:10:21 +0000]
Release commit for 0.006019
Karen Etheridge [Tue, 28 Mar 2017 02:59:47 +0000]
add deprecation WARNING to pod
Karen Etheridge [Tue, 28 Mar 2017 02:59:10 +0000]
add DEPRECATED note to abstract
Karen Etheridge [Tue, 28 Mar 2017 02:58:25 +0000]
add x_deprecated flag to metadata
Karen Etheridge [Fri, 17 Mar 2017 18:20:11 +0000]
avoid relying on . being in @INC
Karen Etheridge [Tue, 30 Aug 2016 01:40:05 +0000]
tighten up these entries
Karen Etheridge [Mon, 29 Aug 2016 01:56:47 +0000]
Bumping version to 0.006019
Karen Etheridge [Fri, 5 Aug 2016 21:55:38 +0000]
move this make dependency from postamble to "depends" attribute
Karen Etheridge [Thu, 28 Jul 2016 20:13:03 +0000]
avoid relying on . being in @INC
Karen Etheridge [Thu, 28 Jul 2016 20:12:54 +0000]
use a more specific link
Karen Etheridge [Mon, 11 Jul 2016 22:14:23 +0000]
stringify version before comparing, as recommended by Zefram
Karen Etheridge [Mon, 11 Jul 2016 22:14:19 +0000]
fix Test::More prereq for done_testing
Karen Etheridge [Tue, 24 Mar 2015 19:11:07 +0000]
Release commit for 0.006018
Karen Etheridge [Tue, 24 Mar 2015 19:07:45 +0000]
add contributors to metadata
Karen Etheridge [Tue, 24 Mar 2015 19:01:17 +0000]
Bumping version to 0.006018
Karen Etheridge [Tue, 24 Mar 2015 19:01:12 +0000]
changelog for patch for RT#102818
Matthew Horsfall [Mon, 23 Mar 2015 19:27:48 +0000]
dont use sub_inwhat (RT#102918)
Karen Etheridge [Tue, 24 Mar 2015 18:52:15 +0000]
tighten up entries
Karen Etheridge [Thu, 25 Sep 2014 02:49:56 +0000]
Release commit for 0.006017
Karen Etheridge [Thu, 25 Sep 2014 02:46:29 +0000]
changelog for RT#99102 fix
Father Chrysostomos [Wed, 24 Sep 2014 15:32:44 +0000]
fix for 5.21.4 (blead commit 2eaf799) (RT#99102)
Karen Etheridge [Thu, 25 Sep 2014 02:31:44 +0000]
make bump
Karen Etheridge [Thu, 25 Sep 2014 02:31:32 +0000]
realclean is fully populated by Distar
Karen Etheridge [Thu, 25 Sep 2014 01:41:53 +0000]
newer Distar provides the bump targets and script
Karen Etheridge [Wed, 2 Apr 2014 16:55:40 +0000]
also blow away Distar dir on "make realclean"
Karen Etheridge [Tue, 1 Apr 2014 03:01:13 +0000]
Release commit for 0.006016
Karen Etheridge [Tue, 1 Apr 2014 02:57:38 +0000]
make bump
Karen Etheridge [Tue, 1 Apr 2014 02:52:06 +0000]
add strict and warnings
Karen Etheridge [Mon, 31 Mar 2014 16:43:35 +0000]
remove unneeded shebang
Karen Etheridge [Mon, 31 Mar 2014 16:43:07 +0000]
gotta have a plan
Karen Etheridge [Mon, 31 Mar 2014 16:39:29 +0000]
fix syntax error in module use line
Karen Etheridge [Mon, 3 Feb 2014 02:54:05 +0000]
Release commit for 0.006015
Karen Etheridge [Mon, 3 Feb 2014 02:52:38 +0000]
make bump
Karen Etheridge [Mon, 3 Feb 2014 02:50:29 +0000]
ignore this cruft file too
Karen Etheridge [Mon, 3 Feb 2014 02:45:31 +0000]
bring back Declare.c target
..removed in commit 921d7ad, v0.006014
Karen Etheridge [Mon, 3 Feb 2014 02:28:33 +0000]
fix changelog header
Karen Etheridge [Mon, 3 Feb 2014 02:30:05 +0000]
changelog for fix
Zefram [Mon, 3 Feb 2014 02:28:14 +0000]
RT#91983: format warnings during compilation
Karen Etheridge [Thu, 12 Dec 2013 01:22:44 +0000]
revert to previous formatting
Karen Etheridge [Fri, 23 Aug 2013 00:05:50 +0000]
properly set v2 metadata!
Karen Etheridge [Fri, 2 Aug 2013 19:44:46 +0000]
EUMM before 6.57_02 do not like arrayrefs for AUTHOR
Karen Etheridge [Tue, 30 Jul 2013 00:37:42 +0000]
ensure we create a v2 meta file
Karen Etheridge [Sun, 21 Jul 2013 16:05:24 +0000]
Release commit for 0.006014
Karen Etheridge [Sat, 20 Jul 2013 20:53:57 +0000]
bump version
Karen Etheridge [Sat, 20 Jul 2013 20:34:17 +0000]
Merge branch 'topic/distar'
99 MI installs on the wall, 99 MI installs,
take one down, convert it to Dist::Zilla (or Distar),
98 MI installs on the wall
Karen Etheridge [Sat, 20 Jul 2013 21:11:40 +0000]
stolen_chunk_of_toke.c is not built into its own .o
Graham Knop [Sun, 21 Jul 2013 08:47:41 +0000]
include extra required files in manifest
Karen Etheridge [Sat, 20 Jul 2013 20:35:38 +0000]
changelog
Karen Etheridge [Sat, 20 Jul 2013 20:50:08 +0000]
copy bump-version from Moo, which handles single-dot versions
Karen Etheridge [Thu, 18 Jul 2013 18:35:50 +0000]
clean up use of postamble (thanks haarg!)
Karen Etheridge [Tue, 18 Jun 2013 22:30:18 +0000]
convert Makefile.PL to using Distar
Karen Etheridge [Tue, 18 Jun 2013 22:28:15 +0000]
Distar's maint directory
Karen Etheridge [Wed, 19 Jun 2013 06:00:31 +0000]
tighten up these entries
Karen Etheridge [Thu, 18 Jul 2013 21:24:21 +0000]
make changelog more readable, CPAN::Changes-compliant
Karen Etheridge [Fri, 21 Jun 2013 01:45:33 +0000]
use Test::Requires for optional deps
Karen Etheridge [Wed, 19 Jun 2013 01:35:07 +0000]
sigh, empty MANIFEST in the last release...
Karen Etheridge [Tue, 18 Jun 2013 23:05:30 +0000]
add dates to changelog entries that were missing them
Karen Etheridge [Tue, 18 Jun 2013 22:57:20 +0000]
canonicalize date format in changelog
Karen Etheridge [Tue, 18 Jun 2013 22:54:51 +0000]
bump version for imminent release
Karen Etheridge [Tue, 18 Jun 2013 22:48:22 +0000]
fix repository
Karen Etheridge [Tue, 18 Jun 2013 22:09:49 +0000]
fix repository metadata
Karen Etheridge [Tue, 18 Jun 2013 22:08:30 +0000]
Updates for some deprecations in perl 5.17. (Zefram, RT#83968)
Zefram [Wed, 22 Feb 2012 20:35:12 +0000]
Version 0.006011
Zefram [Wed, 22 Feb 2012 20:29:54 +0000]
use PERL_NO_GET_CONTEXT
Zefram [Tue, 21 Feb 2012 22:40:17 +0000]
avoid using Test::Warn
Zefram [Tue, 7 Feb 2012 16:19:39 +0000]
Version 0.006010
Zefram [Tue, 7 Feb 2012 13:56:56 +0000]
avoid "insecure rcfile" warning from test
Zefram [Tue, 7 Feb 2012 13:52:13 +0000]
restrict symbol export hack to threading builds
Zefram [Wed, 1 Feb 2012 21:43:39 +0000]
Version 0.006009
Zefram [Wed, 1 Feb 2012 21:40:24 +0000]
be adaptive about deleting the realloc filter
Filters can only be deleted in the correct order (reverse of the order in
which they were added). Insisting on deleting the filter would break if
another filter were added after ours and is still around. Not deleting
the filter at all would break if another filter were added earlier and
attempts to delete itself later. We can play nicely to the maximum
possible extent by deleting our filter iff it is currently deletable
(i.e., it is on the top of the filter stack). Can still run into trouble
in more complex situations, but can't avoid that.
Zefram [Wed, 1 Feb 2012 20:31:02 +0000]
document that injecting newlines doesn't work
Zefram [Wed, 1 Feb 2012 19:59:05 +0000]
partially substitute for unexported symbols
We use two interpreter variables on Perl 5.8 that are not exported on
Windows. Can work around the lack of export on multiplicity/threading
builds.
Zefram [Thu, 8 Dec 2011 21:03:02 +0000]
jump through hoops to avoid compiler warnings
Zefram [Thu, 8 Dec 2011 20:28:40 +0000]
fix a C declaration after statement
Zefram [Sat, 5 Nov 2011 21:53:20 +0000]
Version 0.006008
Zefram [Sat, 5 Nov 2011 21:50:24 +0000]
leave linestr prefix unchanged in toke_scan_str
Zefram [Mon, 12 Sep 2011 18:53:50 +0000]
Version 0.006007
Zefram [Mon, 12 Sep 2011 18:52:17 +0000]
give D:D:Context::Simple a version number
Zefram [Sun, 11 Sep 2011 18:17:14 +0000]
initialize earlier to help with string evals
Zefram [Sun, 11 Sep 2011 17:44:38 +0000]
toke_scan_str return undef for unterminated string
Zefram [Sun, 11 Sep 2011 17:31:30 +0000]
prevent toke_scan_str moving backward in linestr
Zefram [Sun, 11 Sep 2011 12:57:41 +0000]
avoid memory leak in toke_scan_str
Zefram [Sun, 11 Sep 2011 12:56:17 +0000]
croak if reallocation occurs during scan_str
Zefram [Sun, 11 Sep 2011 10:10:47 +0000]
add MYMETA.{json,yml} to MANIFEST.SKIP and .gitignore
Zefram [Sun, 11 Sep 2011 10:09:19 +0000]
depend on bugfixed B::Hooks::OP::Check 0.19
Florian Ragwitz [Tue, 23 Aug 2011 14:22:48 +0000]
Version 0.006006
Florian Ragwitz [Tue, 23 Aug 2011 14:19:55 +0000]
Increase the default linestr size to avoid reallocations
Florian Ragwitz [Wed, 6 Jul 2011 13:31:09 +0000]
Version 0.006005
Florian Ragwitz [Tue, 5 Jul 2011 19:16:27 +0000]
Merge pull request #4 from clkao/master
this makes it possible for silencing the 'redefine' warns
Chia-liang Kao [Wed, 15 Jun 2011 03:28:46 +0000]
tests for redefined subroutine warnings.
Chia-liang Kao [Mon, 30 May 2011 08:20:55 +0000]
use the "redefine" warning flag when importing DD to determine if redefined subs should be warned
Florian Ragwitz [Mon, 2 May 2011 09:25:27 +0000]
Version 0.006004