Debian Codegraph @

Changes

raw
1 version 0.014; 2026-01-17
2
3 * Corrected errors made in version 0.012 transition from using Build.PL to
4 Makefile.PL. Tim Legge reported that XS code was not being processed into
5 C code. As side effect, build-time warnings and errors that had been
6 observed over the years in CPANtesters reports were not being observed.
7 Within directory tree Easy.xs was moved to a more typical location (for
8 MakeMaker) on the top level, after which build-time errors were fixed with
9 approaches borrowed from other CPAN distributions. Both XS-based and
10 pure-Perl compilations should now work. No other change in functionality.
11
12 version 0.013; 2026-01-16
13
14 * No change in functionality
15
16 * Small correction in Makefile.PL to generate better module metadata.
17
18 version 0.012; 2026-01-14
19
20 * No substantive changes in code in .pm files.
21
22 * In lib/XML/Easy.xs, customized definition of PERL_VERSION_GE proved no
23 longer necessary for building or testing; removing it enabled elimination of
24 build-time warning.
25
26 * To simplify maintenance going forward, extension is built using
27 Makefile.PL rather than Build.PL.
28
29 * Accepted patch to t/syntax_main.t from Dave Mitchell.
30
31 * Tests of POD and POD coverage now run only when envvar is set.
32
33 * Code is now maintained in GitHub repository.
34
35 version 0.011; 2017-07-25
36
37 * port to Perl 5.23.6, where applying a regexp to codepoints in the
38 upper half of the native unsigned integer range by default causes
39 a deprecation warning
40
41 * update tests for Perl 5.27.1, where codepoints in the upper half of
42 the native unsigned integer range are illegal
43
44 * extend tests to examine codepoints above the 32-bit range on 64-bit
45 Perl builds
46
47 * in test suite, avoid codepoint deprecation warnings from Perl 5.23.6
48 and above
49
50 * in documentation, use four-column indentation for all verbatim
51 material
52
53 * limit the local muffling of "utf8"-category warnings to those Perl
54 versions that generate the unwanted warnings
55
56 version 0.010; 2017-07-19
57
58 * port to Perl 5.19.4, where the C type of array indices has changed
59
60 * update test suite to not rely on . in @INC, which is no longer
61 necessarily there from Perl 5.25.7
62
63 * test that all modules have matching version numbers
64
65 * no longer include a Makefile.PL in the distribution
66
67 * in META.{yml,json}, point to public bug tracker
68
69 * correct some typos in documentation
70
71 version 0.009; 2011-10-27
72
73 * change usage of Params::Classify functions to take advantage of
74 custom ops in Params::Classify 0.012
75
76 * fix a latent bug where SvCUR() was used without first checking SvPOK()
77 (but SvPOK was guaranteed by other circumstances)
78
79 * correct dynamic_config setting to 0
80
81 * include META.json in distribution
82
83 * convert .cvsignore to .gitignore
84
85 * add MYMETA.json to .gitignore
86
87 version 0.008; 2010-10-24
88
89 * in XS, declare "PROTOTYPES: DISABLE" to prevent automatic generation
90 of unintended prototypes
91
92 * jump through hoops to avoid compiler warnings
93
94 * in t/setup_pp.pl, avoid a warning and consequent false test failure
95 that occurs if XSLoader::load() is given no arguments, which is now
96 a valid usage
97
98 version 0.007; 2010-10-15
99
100 * bugfix: avoid memory leak in construction of content objects
101
102 * in XS, use newSVpvs(), sv_catpvs_nomg(), and gv_stashpvs() wherever
103 appropriate
104
105 * in XS, use PERL_NO_GET_CONTEXT for efficiency
106
107 * use full stricture in test suite
108
109 * also test POD coverage of pure Perl implementation
110
111 * in test suite, make all numeric comparisons against $] stringify it
112 first, to avoid architecture-dependent problems with floating point
113 rounding giving it an unexpected numeric value
114
115 * in Build.PL, explicitly set needs_compiler to avoid bogus
116 auto-dependency on ExtUtils::CBuilder
117
118 * list XML::Easy::SimpleSchemaUtil and
119 XML::Easy::Transform::RationalizeNamespacePrefixes in documentation's
120 lists of other distributions
121
122 * in Build.PL, complete declaration of configure-time requirements
123
124 * move declaration of $VERSION in XML::Easy::Syntax to match all
125 other modules
126
127 * slightly reformat some C code to avoid exceeding 80 columns
128
129 version 0.006; 2010-05-20
130
131 * bugfix: in XS, check SvOBJECT before looking at SvSTASH, because
132 the latter isn't guaranteed to be meaningful otherwise
133
134 * port to Perl 5.11, supporting new first-class regexp objects in
135 type checking
136
137 * check for required Perl version at runtime
138
139 * in XS, avoid using "class" as a variable name, for compatibility
140 with C++ compilers
141
142 * in Build.PL, explicitly declare configure-time requirements
143
144 * remove bogus "exit 0" from Build.PL
145
146 * in XML::Easy::NodeBasics documentation, reference
147 XML::Easy::ProceduralWriter
148
149 * add MYMETA.yml to .cvsignore
150
151 version 0.005; 2009-08-16
152
153 * bugfix: in xml_content_object(), xml_content(), and xml_element(),
154 avoid clobbering function arguments (this occurred when passing a
155 content array as an argument)
156
157 * in XML::Easy::NodeBasics, add node equality comparison functions
158
159 * introduce the term "twine" for content
160 arrays, and corresponding methods and functions
161 (XML::Easy::Content->twine, XML::Easy::Element->content_twine,
162 XML::Easy::Classify::is_xml_content_twine,
163 XML::Easy::Text::xml10_read_{content,extparsedent}_twine,
164 XML::Easy::NodeBasics::xml{,_c,_e}_content_twine)
165
166 * in XML::Easy::Classify, add "check_" functions for argument checking
167
168 * in XML::Easy::NodeBasics, add short names for all functions
169
170 * tweak introductory documentation to improve comprehension
171
172 * in documentation, note that returned twine arrays and attribute
173 hashes must not be modified
174
175 * list Test::XML::Easy in documentation's list of other distributions
176
177 version 0.004; 2009-05-20
178
179 * bugfix: correct character classification code that was incorrectly
180 rejecting characters U+ac00 to U+d7a3 (precomposed Hangul syllables)
181 in XML names
182
183 * XS implementation of low-level constructors and accessors for element
184 and content nodes
185
186 * document the XML::Easy::Transform:: namespace
187
188 * in XS code, fix the char_unicode() function to return the documented
189 sentinel value (it was returning a different value than intended,
190 but one which still operated correctly)
191
192 version 0.003; 2009-05-13
193
194 * in XS code, use the correct "PREINIT:" instead of "INIT:" to introduce
195 variable declarations
196
197 * in XS code, use the cheaper SvOBJECT() in place of truth-value uses
198 of SvSTASH()
199
200 * use simpler "parent" pragma in place of "base"
201
202 version 0.002; 2009-03-07
203
204 * in t/syntax_main.t, shortcut test for regexp iteration limit bug on
205 pre-5.10 perls, because the test is liable to overflow the stack
206
207 * work around Module::Build bug that was causing broken
208 ExtUtils::CBuilder objects that failed to compile anything
209
210 * to check whether C compilation is available, use Module::Build's
211 more robust ->have_c_compiler method, rather than just checking for
212 the availability of a C builder object
213
214 * avoid return with expression in void function (not valid in C90)
215
216 * add casts for pointer target signedness, and other small changes to
217 the C code, to avoid compiler warnings
218
219 * in XML::Easy::Syntax documentation, note the possibility of pre-5.10
220 perls overflowing the stack when executing regexps
221
222 version 0.001; 2009-03-03
223
224 * introduce class XML::Easy::Content to encapsulate XML content
225
226 * add friendlier node manipulation functions in XML::Easy::NodeBasics
227
228 * bugfix: work around perl bug that was causing spurious errors in
229 the pure-Perl parser and serialiser for inputs with long (>= 32 Ki)
230 sequences of characters (the XS parser and serialiser were unaffected)
231
232 * document that the long-input perl bug affects the XML::Easy::Syntax
233 regular expressions in a way that can't be effectively worked around
234
235 * bugfix: make pure Perl parser always generate its own exception,
236 not a Perl exception, when processing a character reference for
237 an illegal Unicode character such as U+d800, and not emit a Perl
238 warning when processing a character reference for a dubious Unicode
239 character such as U+1ffff (the XS parser is unaffected)
240
241 * bugfix: make element construction and pure Perl serialiser always
242 generate its own exception, not a Perl exception, when given data
243 containing an illegal Unicode character such as U+d800 (the XS
244 serialiser is unaffected)
245
246 * new module XML::Easy::Classify, with data classification functions
247
248 * move parser and serialiser into new module XML::Easy::Text, leaving
249 XML::Easy itself to be just documentation of the suite
250
251 * revise documentation and some code for consistency of terminology
252
253 * detect and complain about use of non-string input to parser functions
254
255 * detect and complain about use of invalid attribute name in
256 $element->attribute()
257
258 * bugfix: properly detect and complain about use of glob as encoding
259 name argument to XS serialiser functions (they were being treated
260 as undef on perl 5.8)
261
262 * where a content array or attribute hash has multiple errors,
263 consistently complain about the first one rather than any other
264
265 * detect and complain about globs used in place of string arguments,
266 in XS version (the pure-Perl version already detected them)
267
268 * add #line directive to XML::Easy::Text to give useful line numbers
269 in error messages regarding the code in the __DATA__ section
270
271 * more test cases
272
273 * don't use literal CR in t/read.data, because it was causing signature
274 checking problems
275
276 * avoid declaration-after-statement in C code (not valid in C90)
277
278 * use full stricture in Build.PL
279
280 version 0.000; 2008-04-08
281
282 * initial released version