This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
ExtUtils::ParseXS: Check that an XSUB with CODE&RETVAL has an OUTPUT
[perl5.git] / dist / ExtUtils-ParseXS / Changes
CommitLineData
e5b34a76
DG
1Revision history for Perl extension ExtUtils::ParseXS.
2
5179f978
S
3 - No detects and throws a warning if there is a CODE section using
4 RETVAL, but no OUTPUT section. [CPAN RT #69536]
5
44d82860 63.03 - Thu Aug 11 08:24:00 CET 2011
dbef30a6
MS
7
8 - Test fix: Try all @INC-derived typemap locations. (CPAN RT #70047)
9 [Mike Sheldrake]
10
54d18cdc
S
113.02 - Thu Aug 4 18:19:00 CET 2011
12
13 - Test fix: Use File::Spec->catfile instead of catdir where appropriate.
14
e69061dc
S
153.01 - Thu Aug 4 17:51:00 CET 2011
16
17 - No significant changes form 3.00_05.
18
772f5a1a
S
193.00_05 - Wed Jul 27 22:54:00 CET 2011
20
21 - Define PERL_UNUSED_ARG for pre-3.8.9 perls.
22 This should fix the tests on those perls.
23
b21842bd
S
243.00_04 - Wed Jul 27 22:22:00 CET 2011
25
26 - Require perl 5.8.1.
747627ec
S
27
28 - Patches from CPAN RT #53938, #61908
29 Both of these are attempts to fix win32 problems:
30 Bug #61908 for ExtUtils-ParseXS: MSWin compilers and back-slashed paths
31 Bug #53938 for ExtUtils-ParseXS: MinGW Broken after 2.21
32
b999df4d
S
333.00_03 - Fri Jul 22 20:13:00 CET 2011
34
35 - Add some diagnostics when xsubpp fails to load a current-enough
36 version of ExtUtils::ParseXS. [Steffen Mueller]
37
38 - Add a check to Makefile.PL that scans @INC to determine whether
39 the new xsubpp will be shadowed by another, existing xsubpp
40 and warn the user vehemently. [Steffen Mueller]
41
423.00_02 - Thu Jul 14 18:00:00 CET 2011
43
44 - Move script/xsubpp back to lib/ExtUtils/xsubpp
45 The original move caused old xsubpp's to be used.
46
473.00_01 - Tue Jul 12 22:00:00 CET 2011
63972a1e 48
96893281 49 - Major refactoring of the whole code base.
1cfdcba9 50 It finally runs under 'use strict' for the first time!
96893281
S
51 [James Keenan, Steffen Mueller]
52
53 - Typemaps can now be embedded into XS code using a here-doc
54 like syntax and the new "TYPEMAP:" XS keyword.
55 [Steffen Mueller]
56
57 - Move typemap handling code to ExtUtils::Typemaps
58 with full object-oriented goodness. [Steffen Mueller]
1cfdcba9
S
59
60 - Check API compatibility when loading xs modules.
61 If on a new-enough perl, add the XS_APIVERSION_BOOTCHECK macro to
62 the _boot function of every XS module to compare it against the API
63 version the module has been compiled against. If the versions do
64 not match, an exception is thrown. [Florian Ragwitz]
65
66 - Fixed compiler warnings in XS. [Zefram]
67
68 - Spell-check [Peter J. Acklam]
69
494e8c4c
CBW
702.2206 - Sun Jul 4 15:43:21 EDT 2010
71
72 Bug fixes:
73
74 - Make xsubpp accept the _ prototype (RT#57157) [Rafael Garcia-Suarez]
75
76 - INCLUDE_COMMAND portability fixes for VMS (RT#58181) [Craig Berry]
77
78 - INCLUDE_COMMAND fixes to detect non-zero exit codes (RT#52873)
79 [Steffen Mueller]
80
387b6f8d
S
812.2205 - Wed Mar 10 18:15:36 EST 2010
82
83 Other:
84
85 - No longer ships with Build.PL to avoid creating a circular dependency
86
872.2204 - Wed Mar 10 14:23:52 EST 2010
88
89 Other:
90
91 - Downgraded warnings on using INCLUDE with a command from "deprecated"
92 to "discouraged" and limited it to the case where the command includes
93 "perl" [Steffen Mueller]
94
952.2203 - Thu Feb 11 14:00:51 EST 2010
96
97 Bug fixes:
98
99 - Build.PL was not including ExtUtils/xsubpp for installation. Fixed
100 by subclassing M::B::find_pm_files to include it [David Golden]
101
1022.2202 - Wed Jan 27 15:04:59 EST 2010
103
104 Bug fixes:
105
106 - The fix to IN/OUT/OUTLIST was itself broken and is now fixed.
107 [Reported by Serdar Dalgic; fix suggested by Rafael Garcia-Suarez]
108
109 We apologize for the fault in the regex. Those responsible
110 have been sacked.
111
1122.2201 Mon Jan 25 16:12:05 EST 2010
113
114 Bug fixes:
115
116 - IN/OUT/OUTLIST, etc. were broken due to a bad regexp. [Simon Cozens]
117
1182.22 - Mon Jan 11 15:00:07 EST 2010
119
120 No changes from 2.21_02
121
1222.21_02 - Sat Dec 19 10:55:41 EST 2009
123
124 Bug fixes:
125
126 - fixed bugs and added tests for INCLUDE_COMMAND [Steffen Mueller]
127
1282.21_01 - Sat Dec 19 07:22:44 EST 2009
129
130 Enhancements:
131
132 - New 'INCLUDE_COMMAND' directive [Steffen Mueller]
133
134 Bug fixes:
135
136 - Workaround for empty newXS macro found in P5NCI [Goro Fuji]
137
28892255
DG
1382.21 - Mon Oct 5 11:17:53 EDT 2009
139
140 Bug fixes:
141 - Adds full path in INCLUDE #line directives (RT#50198) [patch by "spb"]
142
143 Other:
144 - Updated copyright and maintainer list
145
1462.20_07 - Sat Oct 3 11:26:55 EDT 2009
147
148 Bug fixes:
149 - Use "char* file" for perl < 5.9, not "char[] file"; fixes mod_perl
387b6f8d 150 breakage due to prior attempts to fix RT#48104 [David Golden]
28892255
DG
151
1522.20_06 - Fri Oct 2 23:45:45 EDT 2009
153
154 Bug fixes:
155 - Added t/typemap to fix broken test on perl 5.6.2 [David Golden]
156 - More prototype fixes for older perls [Goro Fuji]
157 - Avoid "const char *" in test files as it breaks on 5.6.2 [Goro Fuji]
158
159 Other:
160 - Merged changes from 2.2004 maintenance branch (see 2.200401 to 2.200403)
161 [David Golden]
162
1632.20_05 - Sat Aug 22 21:46:56 EDT 2009
164
165 Bug fixes:
166 - Fix prototype related bugs [Goro Fuji]
167 - Fix the SCOPE keyword [Goro Fuji]
168
1cb9da9d
DG
1692.200403 - Fri Oct 2 02:01:58 EDT 2009
170
171 Other:
172 - Removed PERL_CORE specific @INC manipulation (no longer needed)
173 [Nicholas Clark]
174 - Changed hard-coded $^H manipulation in favor of "use re 'eval'"
175 [Nicholas Clark]
176
1772.200402 - Fri Oct 2 01:26:40 EDT 2009
178
179 Bug fixes:
180 - UNITCHECK subroutines were not being called (detected in ext/XS-APItest
181 in Perl blead) [reported by Jesse Vincent, patched by David Golden]
182
1832.200401 - Mon Sep 14 22:26:03 EDT 2009
184
185 - No changes from 2.20_04.
186
28892255 187
1cb9da9d
DG
1882.20_04 - Mon Aug 10 11:18:47 EDT 2009
189
190 Bug fixes:
191 - Changed install_dirs to 'core' for 5.8.9 as well (RT#48474)
192 - Removed t/bugs.t until there is better C++ support in ExtUtils::CBuilder
193
194 Other:
195 - Updated repository URL in META file
196
1972.20_03 - Thu Jul 23 23:14:50 EDT 2009
198
199 Bug fixes:
387b6f8d
S
200 - Fixed "const char *" errors for 5.8.8 (and older) (RT#48104)
201 [Vincent Pit]
1cb9da9d
DG
202 - Added newline before a preprocessor directive (RT#30673)
203 [patch by hjp]
204
d17935ef
DM
2052.2002 - Sat Jul 18 17:22:27 EDT 2009
206
207 Bug fixes:
208 - Fix Makefile.PL installdirs for older perls
209
e5b34a76
DG
2102.20_01 - Wed Jul 8 12:12:47 EDT 2009
211
212 - Fix XSUsage prototypes for testing [Jan Dubois]
213
2142.20 - Wed Jul 1 13:42:11 EDT 2009
215
216 - No changes from 2.19_04
217
2182.19_04 - Mon Jun 29 11:49:12 EDT 2009
219
220 - Changed tests to use Test::More and added it to prereqs
221
222 - Some tests skip if no compiler or if no dynamic loading
223
224 - INTERFACE keyword tests skipped for perl < 5.8
225
2262.19_03 - Sat Jun 27 22:51:18 EDT 2009
227
228 - Released to see updated results from smoke testers
229
230 - Fix minor doc typo pulled from blead
231
2322.19_02 - Wed Aug 6 22:18:33 2008
233
234 - Fix the usage reports to consistently report package name as well
235 as sub name across ALIAS, INTERFACE and regular XSUBS. [Robert May]
236
237 - Cleaned up a warning with -Wwrite-strings that gets passed into
238 every parsed XS file. [Steve Peters]
239
240 - Allow (pedantically correct) C pre-processor comments in the code
241 snippets of typemap files. [Nicholas Clark]
242
2432.19 - Sun Feb 17 14:27:40 2008
244
245 - Fixed the treatment of the OVERLOAD: keyword, which was causing a C
246 compile error. [Toshiyuki Yamato]
247
2482.18 - Mon Jan 29 20:56:36 2007
249
250 - Added some UNITCHECK stuff, which (I think) makes XS code able to
251 do UNITCHECK blocks. [Nicholas Clark]
252
253 - Changed 'use re "eval";' to 'BEGIN { $^H |= 0x00200000 };' so we
254 can compile re.xs in bleadperl. [Yves Orton]
255
256 - Fix an undefined-variable warning related to 'inout' parameter
257 processing.
258
2592.17 - Mon Nov 20 17:07:27 2006
260
261 - Stacked $filepathname to make #line directives in #INCLUDEs work.
262 [Nicholas Clark]
263
264 - Sprinked dVAR in with dXSARGS, for God-(Jarkko)-knows-what
265 reason. [Jarkko Hietaniemi]
266
267 - Use printf-style formats in Perl_croak() for some significant
268 savings in number of distinct constant strings in the linked
269 binaries we create. [Alexey Tourbin]
270
271 - Don't use 'class' as a variable name in the t/XSTest.xs module,
272 since that's a keyword in C++. [Jarkko Hietaniemi]
273
2742.16 Fri Sep 15 22:33:24 CDT 2006
275
276 - Fix a problem with PREFIX not working inside INTERFACE
277 sections. [Salvador Fandin~o]
278
2792.15 Mon Oct 10 11:02:13 EDT 2005
280
281 - I accidentally left out a README from the distribution. Now it's
282 auto-created from the main documentation in ExtUtils/ParseXS.pm.
283
2842.14 Sat Oct 8 21:49:15 EDT 2005
285
286 - The filehandle for the .xs file was never being properly closed,
287 and now it is. This was causing some Win32 problems with
288 Module::Build's tests, which create a .xs file, process it with
289 ParseXS, and then try to remove it. [Spotted by Randy Sims]
290
2912.13 Mon Oct 3 21:59:06 CDT 2005
292
293 - Integrate a cleanup-related change from bleadperl that somehow
294 never got into this copy. [Steve Hay]
295
2962.12 Wed Aug 24 20:03:09 CDT 2005
297
298 - On Win32, there was a DLL file we create during testing that we
299 couldn't delete unless we closed it first, so testing failed when
629b8367 300 the deletion was attempted. This should now work (provided the
e5b34a76
DG
301 version of perl is high enough to have DynaLoader::dl_unload_file()
302 - I'm not sure what will happen otherwise). [Steve Hay]
303
304 - Fix a spurious warning during testing about a variable that's used
305 before it's initialized. [Steve Hay]
306
3072.11 Mon Jun 13 23:00:23 CDT 2005
308
309 - Make some variables global, to avoid some "will not stay shared"
310 warnings at compile time. [Rafael Garcia-Suarez]
311
3122.10 Mon May 30 21:29:44 CDT 2005
313
314 - This module is being integrated into the perl core; the regression
315 tests will now work properly when run as part of the core build.
316 [Yitzchak Scott-Thoennes]
317
318 - Added the ability to create output files with a suffix other than
319 ".c", via the new "csuffix" option. This gets the module working
320 on Symbian. [Jarkko Hietaniemi]
321
322 - Added the ability to put 'extern "C"' declarations in front of
323 prototypes. [Jarkko Hietaniemi]
324
3252.09 Sun Mar 27 11:11:49 CST 2005
326
327 - Integrated change #18270 from the perl core, which fixed a problem
328 in which xsubpp can make nested comments in C code (which is
329 bad). [Nicholas Clark]
330
331 - When no "MODULE ... PACKAGE ... PREFIX" line is found, it's now
332 still a fatal error for ParseXS, but we exit with status 0, which
333 is what the old xsubpp did and seems to work best with some modules
334 like Win32::NetAdmin. See RT ticket 11472. [Steve Hay]
335
3362.08 Fri Feb 20 21:41:22 CST 2004
337
338 - Fixed a problem with backslashes in file paths (e.g. C:\Foo\Bar.xs)
339 disappearing in error messages. [Randy Sims, Steve Hay]
340
341 - Did a little minor internal code cleanup in the
342 ExtUtils::ParseXS::CountLines class, now other classes don't poke
343 around in its package variables.
344
3452.07 Sun Jan 25 17:01:52 CST 2004
346
347 - We now use ExtUtils::CBuilder for testing the compile/build phase
348 in the regression tests. It's not necessary to have it for runtime
349 usage, though.
350
351 - Fixed a minor documentation error (look in 'Changes' for revision
352 history, not 'changes.pod'). [Scott R. Godin]
353
3542.06 Fri Dec 26 09:00:47 CST 2003
355
356 - Some fixes in the regression tests for the AIX platform.
357
3582.05 Mon Sep 29 10:33:39 CDT 2003
359
360 - We no longer trim the directory portions from the "#line " comments
361 in the generated C code. This helps cooperation with many editors'
362 auto-jump-to-error stuff. [Ross McFarland]
363
364 - In some cases the PERL_UNUSED_VAR macro is needed to get rid of C
365 compile-time warnings in generated code. Since this eliminates so
366 many warnings, turning on "-Wall -W" (or your platform's
367 equivalent) can once again be helpful. [Ross McFarland]
368
369 - Did a huge amount of variable-scoping cleanup, and it *still*
370 doesn't compile under 'use strict;'. Much progress was made
371 though, and many scoping issues were fixed.
372
3732.04 Thu Sep 4 13:10:59 CDT 2003
374
375 - Added a COPYRIGHT section to the documentation. [Spotted by Ville
376 Skytta]
377
3782.03 Sat Aug 16 17:49:03 CST 2003
379
380 - Fixed a warning that occurs if a regular expression (buried deep
381 within the bowels of the code here) fails. [Spotted by Michael
382 Schwern]
383
384 - Fixed a testing error on Cygwin. [Reini Urban]
385
3862.02 Sun Mar 30 18:20:12 CST 2003
387
388 - Now that we know this module doesn't work (yet?) with perl 5.005,
389 put a couple 'use 5.006' statements in the module & Makefile.PL so
390 we're explicit about the dependency. [Richard Clamp]
391
3922.01 Thu Mar 20 08:22:36 CST 2003
393
394 - Allow -C++ flag for backward compatibility. It's a no-op, and has
395 been since perl5.003_07. [PodMaster]
396
3972.00 Sun Feb 23 16:40:17 CST 2003
398
399 - Tests now function under all three of the supported compilers on
400 Windows environments. [Randy W. Sims]
401
402 - Will now install to the 'core' perl module directory instead of to
403 'site_perl' or the like, because this is the only place MakeMaker
404 will look for the xsubpp script.
405
406 - Explicitly untie and close the output file handle because ParseXS was
407 holding the file handle open, preventing the compiler from opening
408 it on Win32. [Randy W. Sims]
409
410 - Added an '--output FILENAME' flag to xsubpp and changed ParseXS to use
411 the named file in the #line directives when the output file has an
412 extension other than '.c' (i.e. '.cpp'). [Randy W. Sims]
413
414 - Added conditional definition of the PERL_UNUSED_VAR macro to the
415 output file in case it's not already defined for backwards
416 compatibility with pre-5.8 versions of perl. (Not sure if this is the
417 best solution.) [Randy W. Sims]
418
419
4201.99 Wed Feb 5 10:07:47 PST 2003
421
422 - Version bump to 1.99 so it doesn't look like a 'beta release' to
423 CPAN.pm. No code changes, since I haven't had any bug reports.
424
425 - Fixed a minor problem in the regression tests that was creating an
426 XSTest..o file instead of XSTest.o
427
428
4291.98_01 Mon Dec 9 11:50:41 EST 2002
430
431 - Converted from ExtUtils::xsubpp in bleadperl
432
433 - Basic set of regression tests written