Debian Codegraph @

Changes

raw
1 0.024 2026-06-13 T. R. Wyant
2 Remove references to the RT bug tracking system.
3
4 Replace [email protected] with [email protected].
5
6 Repackage licenses so that GitHub can find them (maybe).
7 Thanks to Mikko Koivunalho (specifically his blog post
8 https://blogs.perl.org/users/mikko_koivunalho/2025/11/github-and-the-perl-license.html
9 for the how-to.
10
11 Add SECURITY policy.
12
13 No functional changes.
14
15 0.023 2022-09-16 T. R. Wyant
16 Update discouragement notice for variables(), and add a TODO in
17 t/variables.t for why.
18
19 Correct normalization of ${^FOO} for PPI. If the caret is present
20 the braces are not removed.
21
22 0.022 2022-04-15 T. R. Wyant
23 Remove 'postderef' argument to new(). Postfix dereference is always
24 recognized.
25
26 0.021 2022-04-03 T. R. Wyant
27 Recognize postfix deref in '@{[ ... ]}' for determining minimum Perl
28 version. This recognizes all forms of postfix dereference,
29 including ->%*, ->&*, and ->**. NOTE that for now this remains a
30 PPIx::QuoteLike::Token::Interpolation.
31
32 Require PPI 1.238 for postfix deref support, and prune code that
33 dealt with PPI's old behavior.
34
35 Postfix %*, &*, and ** do not interpolate.
36
37 Correct perl_version_introduced() for interpolated postfix scalar
38 deref.
39
40 0.020 2022-03-17 T. R. Wyant
41 Correct and optimize the computation of logical column position (the
42 one that takes account of tabs).
43
44 0.019 2021-11-15 T. R. Wyant
45 Add CONTRIBUTING file.
46
47 Try to quell weird Win32 test failures which seem to occur only in
48 tests where I am using 'use open' to put the standard handles into
49 UTF-8 mode. The fix (I hope) is to do this to the Test::Harness
50 handles at run time instead of to the standard handles at compile
51 time.
52
53 0.018 2021-10-22 T. R. Wyant
54 Argument postderef is now fatal.
55
56 Correct generation of 'provides' metadata. Thanks to Favio Poletti
57 for blogging
58 https://github.polettix.it/ETOOBUSY/2021/06/15/the-real-pause-workaround/,
59 and ultimately to Joel Berger for the pointer to
60 https://metacpan.org/pod/CPAN::Meta::Spec#no_index
61
62 0.017 2021-04-16 T. R. Wyant
63 All uses of the postderef argument to new() now warn.
64
65 0.016 2021-03-26 T. R. Wyant
66 Add rt.cpan.org back to bug reporting methods. Long live RT!
67
68 Get prerequisites up to snuff, and add xt/author/prereq.t to ensure
69 they stay that way.
70
71 Refactor authortest into three, so I do not have to generate stub
72 files to test without optional modules.
73
74 0.015 2021-02-05 T. R. Wyant
75 Handle <<\EOD and <<~\EOD, which are equivalent to <<'EOD' and
76 <<~'EOD', respectively.
77
78 Recognize indented here documents. Thanks to Olaf Alders (oalders)
79 for alerting me to this omission.
80
81 0.014 2021-01-14 T. R. Wyant
82 Add Travis CI testing.
83
84 Use GitHub as bug tracker. R.I.P. rt.cpan.org.
85
86 0.013 2020-10-09 T. R. Wyant
87 Warn on first use of attribute 'postderef'.
88
89 0.012 2020-07-28 T. R. Wyant
90 Remove prototypes from testing subroutines defined in t/*.t.
91
92 0.011 2020-03-31 T. R. Wyant
93 Normalize interpolation before feeding to PPI. This produces a
94 more-easily-analyzed PPI parse.
95
96 The ->variables() method is now discouraged. It was written to support
97 Perl::Critic::Policy::Variables::ProhibitUnusedVarsStricter, but turned
98 out to be inadequate for the job.
99
100 Deprecate new() argument postderef. At this stage it is only
101 documented as deprecated. In the first release after October 1 2020
102 it will warn on the first use. Eventually it will be retracted, and
103 postfix dereferences will always be recognized. This is the default
104 behavior now.
105
106 Correct bracket matchers to accept multiple lines. This was, in some
107 cases, causing interpolations to be misclassified as unknown tokens.
108
109 0.010 2020-03-09 T. R. Wyant
110 Remove redundant and poorly-performing code introduced in version
111 0.009.
112
113 0.009 2020-02-27 T. R. Wyant
114 Add new() argument index_locations which causes locations to be
115 indexed during the parse. This defaults based on whether a location
116 argument was provided, and whether the string being parsed is a
117 PPI::Element.
118
119 Add method statement(), which returns the PPI statement containing
120 the string element, or nothing if none.
121
122 Add PPI::Element location methods, to wit: location(),
123 column_number(), line_number(), logical_filename(),
124 logical_line_number(), and visual_column_number().
125
126 Add PPIx::QuoteLike::Utils::is_ppi_quotelike_element() which returns
127 true if the argument is a PPI::Element of interest to us.
128
129 All objects now have a variables() method inherited from
130 PPIx::QuoteLike::Token. This method returns nothing unless
131 overridden. It was added to eliminate $elem->can( 'variables' )
132 ad-hocery.
133
134 Eliminate redirections in POD URL links
135
136 0.008 2019-08-16 T. R. Wyant
137 Fix broken POD links, and add test to ensure they stay fixed.
138
139 0.007 2019-05-31 T. R. Wyant
140 Prohibit interpolation inside \N{...}.
141
142 Fix error message in eg/pqldump
143
144 Allow PPIx::QuoteLike::Utils::__variables() to take a PPI::Element
145 (rather than PPI::Node), PPIx::Regexp::Element, PPIx::QuoteLike, or
146 PPIx::QuoteLike::Token.
147
148 Add eg/variables
149
150 0.006 2018-07-09 T. R. Wyant
151 Only standalone graphemes and non-characters allowed as delimiters
152 starting with Perl 5.29.0.
153
154 Non-ASCII delimiters started working in 5.8.3, so that is what
155 perl_version_introduced() returns for them.
156
157 Collateral with all this, accept word characters as delimiters, but
158 only with at least one space between the operator and the expression
159 -- that is, 'qq xyx' is OK, but 'qqxyx' is not.
160
161 0.005 2016-06-23 T. R. Wyant
162 Fix problem handling nested brackets.
163
164 Fix various corner cases, including such things as '${^O}', '${]}',
165 and even '$${$_[0]}', which turned out to be '$$' followed by
166 '$_[0]'.
167
168 Also pulled the variable recognition out into a separate module in
169 anticipation of it being used other places.
170
171 Dumper message if arg does not parse
172
173 Recognize "$^O" (e.g.) as interpolating $^O, not $^ followed by a
174 literal "O".
175
176 0.004 2016-06-13 T. R. Wyant
177 Require PPI, which was formerly optional. This is because I decided
178 that the variables() method (which needs it) was one of the
179 fundamental points of the module.
180
181 0.003 2016-06-12 T. R. Wyant
182 Another attempt to make old Perls work. Version 0.002 assumed I could
183 have other interpolations in a regex with (??{...}), but this turned
184 out not to be the case if Perl was earlier than 5.18.0. This was
185 actually a step in the wrong direction since (?-1) works back to
186 5.10.0.
187
188 Add PPIx::QuoteLike::Dumper, redo eg/pqldump to use it.
189
190 Recognize postderef slice syntax. This is stuff like $x->@[0,2] (array
191 slice) or $x->@{foo,bar} (hash slice).
192
193 Add methods perl_version_introduced() and perl_version_removed(). As
194 of this release, the former returns '5.000' unless '\F' or postfix
195 dereferencing are detected, and the latter always returns undef.
196
197 0.002 2016-06-11 T. R. Wyant
198 Eliminte blockers to running under Perl 5.6. The significant change
199 was replacing (?-1) in a regular expression (introduced in 5.9.5)
200 with (??{...}) (going back to Heaven knows when, and used in
201 Regexp::Common back in 2003).
202
203 0.001 2016-06-09 T. R. Wyant
204 Initial release to CPAN.