This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update ExtUtils-ParseXS to CPAN version 3.07
[perl5.git] / dist / ExtUtils-ParseXS / Changes
CommitLineData
e5b34a76
DG
1Revision history for Perl extension ExtUtils::ParseXS.
2
ac616993
CBW
33.07 - Wed Dec 7 14:10:00 CET 2011
4 - Fix inconsistent versioning in 3.06.
5
63.06 - Fri Dec 2 08:10:00 CET 2011
7
8 - Fix Cygwin issues [Tony Cook]
9 avoid conflicting static / dllexport on legacy perls too
10 This probably fixes rt.cpan.org 72313 and 71964.
11 (3928a66ad4bd8aee704eda1942b7877c0ff1ab2c in core)
12
13 - Convert ` to ' [James Keenan]
14 55bee391aeff3c3b8d22fa4ce5491ee9440028aa and
15 6dfee1ec62c64d7afe8ced4650596dd9e7f71a63 in core
16
17 - Avoid some test-time warnings [Zefram]
18 97bae9c59cd181b3b54061213ec1fdce0ccb30d4 in core
19
82da8b34
SM
203.05 - Wed Oct 5 08:14:00 CET 2011
21
22 - No functional changes, promoted to stable release.
23
53970fce
SM
243.04_04 - Mon Sep 12 08:12:00 CET 2011
25
26 - Simplify generated XS code by emitting a compatibility version
27 of dVAR. [Nicholas Clark]
28
65aad273
SM
29 - Fixed "INCLUDE: $cmd |", CPAN RT #70213
30
ca0e6506
SM
313.04_03 - Sun Sep 4 18:49:00 CET 2011
32
33 - By #defining PERL_EUPXS_ALWAYS_EXPORT or
34 PERL_EUPXS_NEVER_EXPORT early in your XS code, you can
35 force ExtUtils::ParseXS to always or never export
36 XSUB symbols. This has no effect on boot_* symbols since
37 those must be exported.
38
393.04_02 - Sat Sep 3 15:28:00 CET 2011
89944908
SB
40
41 - Don't put null characters into the generated source
42 file when -except is used; write the '\0' escape sequence
43 properly instead. [Stephen Bennett]
44
a62da8e6
SM
453.04_01 - Sun Aug 28 17:50:00 CET 2011
46
47 - The XSUB.h changes to make XS(name) use XS_INTERNAL(name)
48 by default (which were in the 5.15.2 dev release of perl)
49 have been reverted since too many CPAN modules expect to
50 be able to refer to XSUBs declared with XS(name).
51 Instead, ExtUtils::ParseXS will define a copy of the
52 XS_INTERNAL/XS_EXTERNAL macros as necessary going back to
53 perl 5.10.0 (which is the oldest perl I had for testing).
54 By default, ExtUtils::ParseXS will use XS_INTERNAL(name)
55 instead of XS(name).
56
dcd8b78a
SM
573.04 - Thu Aug 25 08:20:00 CET 2011
58
59 - Stable release based on 3.03_03, no functional changes.
60
613.03_03 - Wed Aug 24 19:43:00 CET 2011
62
63 - Try to fix regression for input-typemap override in XS argument
64 list. (CPAN RT #70448)
65
71a65ad3
SM
66 - Explicit versions in submodules to fail early if something
67 goes wrong.
68
9c6bc177
SM
693.03_02 - Sun Aug 21 13:19:00 CET 2011
70
71 - Properly strip trailing semicolons form inputmaps. These could
72 trigger warnings (errors in strict C89 compilers) due to
73 additional semicolons being interpreted as empty statements.
74 [Torsten Schoenfeld, Jan Dubois, Steffen Mueller]
75
76 - Now detects and throws a warning if there is a CODE section using
5179f978
SM
77 RETVAL, but no OUTPUT section. [CPAN RT #69536]
78
9c6bc177
SM
79 - Uses the explicit XS_EXTERNAL macro (from perl 5.15.2 and newer)
80 for XSUBs that need to be exported. Defines XS_EXTERNAL to fall
81 back to XS where that is not available.
82
83 - Introduces new EXPORT_XSUB_SYMBOLS XS keyword that forces exported
84 XSUB symbols. It's a no-op on perls before 5.15.2.
85
44d82860 863.03 - Thu Aug 11 08:24:00 CET 2011
dbef30a6
MS
87
88 - Test fix: Try all @INC-derived typemap locations. (CPAN RT #70047)
89 [Mike Sheldrake]
90
54d18cdc
SM
913.02 - Thu Aug 4 18:19:00 CET 2011
92
93 - Test fix: Use File::Spec->catfile instead of catdir where appropriate.
94
e69061dc
SM
953.01 - Thu Aug 4 17:51:00 CET 2011
96
9c6bc177 97 - No significant changes from 3.00_05.
e69061dc 98
772f5a1a
SM
993.00_05 - Wed Jul 27 22:54:00 CET 2011
100
101 - Define PERL_UNUSED_ARG for pre-3.8.9 perls.
102 This should fix the tests on those perls.
103
b21842bd
SM
1043.00_04 - Wed Jul 27 22:22:00 CET 2011
105
106 - Require perl 5.8.1.
747627ec
SM
107
108 - Patches from CPAN RT #53938, #61908
109 Both of these are attempts to fix win32 problems:
110 Bug #61908 for ExtUtils-ParseXS: MSWin compilers and back-slashed paths
111 Bug #53938 for ExtUtils-ParseXS: MinGW Broken after 2.21
112
b999df4d
SM
1133.00_03 - Fri Jul 22 20:13:00 CET 2011
114
115 - Add some diagnostics when xsubpp fails to load a current-enough
116 version of ExtUtils::ParseXS. [Steffen Mueller]
117
118 - Add a check to Makefile.PL that scans @INC to determine whether
119 the new xsubpp will be shadowed by another, existing xsubpp
120 and warn the user vehemently. [Steffen Mueller]
121
1223.00_02 - Thu Jul 14 18:00:00 CET 2011
123
124 - Move script/xsubpp back to lib/ExtUtils/xsubpp
125 The original move caused old xsubpp's to be used.
126
1273.00_01 - Tue Jul 12 22:00:00 CET 2011
63972a1e 128
96893281 129 - Major refactoring of the whole code base.
1cfdcba9 130 It finally runs under 'use strict' for the first time!
96893281
SM
131 [James Keenan, Steffen Mueller]
132
133 - Typemaps can now be embedded into XS code using a here-doc
134 like syntax and the new "TYPEMAP:" XS keyword.
135 [Steffen Mueller]
136
137 - Move typemap handling code to ExtUtils::Typemaps
138 with full object-oriented goodness. [Steffen Mueller]
1cfdcba9
SM
139
140 - Check API compatibility when loading xs modules.
141 If on a new-enough perl, add the XS_APIVERSION_BOOTCHECK macro to
142 the _boot function of every XS module to compare it against the API
143 version the module has been compiled against. If the versions do
144 not match, an exception is thrown. [Florian Ragwitz]
145
146 - Fixed compiler warnings in XS. [Zefram]
147
148 - Spell-check [Peter J. Acklam]
149
494e8c4c
CBW
1502.2206 - Sun Jul 4 15:43:21 EDT 2010
151
152 Bug fixes:
153
154 - Make xsubpp accept the _ prototype (RT#57157) [Rafael Garcia-Suarez]
155
156 - INCLUDE_COMMAND portability fixes for VMS (RT#58181) [Craig Berry]
157
158 - INCLUDE_COMMAND fixes to detect non-zero exit codes (RT#52873)
159 [Steffen Mueller]
160
387b6f8d
SM
1612.2205 - Wed Mar 10 18:15:36 EST 2010
162
163 Other:
164
165 - No longer ships with Build.PL to avoid creating a circular dependency
166
1672.2204 - Wed Mar 10 14:23:52 EST 2010
168
169 Other:
170
171 - Downgraded warnings on using INCLUDE with a command from "deprecated"
172 to "discouraged" and limited it to the case where the command includes
173 "perl" [Steffen Mueller]
174
1752.2203 - Thu Feb 11 14:00:51 EST 2010
176
177 Bug fixes:
178
179 - Build.PL was not including ExtUtils/xsubpp for installation. Fixed
180 by subclassing M::B::find_pm_files to include it [David Golden]
181
1822.2202 - Wed Jan 27 15:04:59 EST 2010
183
184 Bug fixes:
185
186 - The fix to IN/OUT/OUTLIST was itself broken and is now fixed.
187 [Reported by Serdar Dalgic; fix suggested by Rafael Garcia-Suarez]
188
189 We apologize for the fault in the regex. Those responsible
190 have been sacked.
191
1922.2201 Mon Jan 25 16:12:05 EST 2010
193
194 Bug fixes:
195
196 - IN/OUT/OUTLIST, etc. were broken due to a bad regexp. [Simon Cozens]
197
1982.22 - Mon Jan 11 15:00:07 EST 2010
199
200 No changes from 2.21_02
201
2022.21_02 - Sat Dec 19 10:55:41 EST 2009
203
204 Bug fixes:
205
206 - fixed bugs and added tests for INCLUDE_COMMAND [Steffen Mueller]
207
2082.21_01 - Sat Dec 19 07:22:44 EST 2009
209
210 Enhancements:
211
212 - New 'INCLUDE_COMMAND' directive [Steffen Mueller]
213
214 Bug fixes:
215
216 - Workaround for empty newXS macro found in P5NCI [Goro Fuji]
217
28892255
DG
2182.21 - Mon Oct 5 11:17:53 EDT 2009
219
220 Bug fixes:
221 - Adds full path in INCLUDE #line directives (RT#50198) [patch by "spb"]
222
223 Other:
224 - Updated copyright and maintainer list
225
2262.20_07 - Sat Oct 3 11:26:55 EDT 2009
227
228 Bug fixes:
229 - Use "char* file" for perl < 5.9, not "char[] file"; fixes mod_perl
387b6f8d 230 breakage due to prior attempts to fix RT#48104 [David Golden]
28892255
DG
231
2322.20_06 - Fri Oct 2 23:45:45 EDT 2009
233
234 Bug fixes:
235 - Added t/typemap to fix broken test on perl 5.6.2 [David Golden]
236 - More prototype fixes for older perls [Goro Fuji]
237 - Avoid "const char *" in test files as it breaks on 5.6.2 [Goro Fuji]
238
239 Other:
240 - Merged changes from 2.2004 maintenance branch (see 2.200401 to 2.200403)
241 [David Golden]
242
2432.20_05 - Sat Aug 22 21:46:56 EDT 2009
244
245 Bug fixes:
246 - Fix prototype related bugs [Goro Fuji]
247 - Fix the SCOPE keyword [Goro Fuji]
248
1cb9da9d
DG
2492.200403 - Fri Oct 2 02:01:58 EDT 2009
250
251 Other:
252 - Removed PERL_CORE specific @INC manipulation (no longer needed)
253 [Nicholas Clark]
254 - Changed hard-coded $^H manipulation in favor of "use re 'eval'"
255 [Nicholas Clark]
256
2572.200402 - Fri Oct 2 01:26:40 EDT 2009
258
259 Bug fixes:
260 - UNITCHECK subroutines were not being called (detected in ext/XS-APItest
261 in Perl blead) [reported by Jesse Vincent, patched by David Golden]
262
2632.200401 - Mon Sep 14 22:26:03 EDT 2009
264
265 - No changes from 2.20_04.
266
28892255 267
1cb9da9d
DG
2682.20_04 - Mon Aug 10 11:18:47 EDT 2009
269
270 Bug fixes:
271 - Changed install_dirs to 'core' for 5.8.9 as well (RT#48474)
272 - Removed t/bugs.t until there is better C++ support in ExtUtils::CBuilder
273
274 Other:
275 - Updated repository URL in META file
276
2772.20_03 - Thu Jul 23 23:14:50 EDT 2009
278
279 Bug fixes:
387b6f8d
SM
280 - Fixed "const char *" errors for 5.8.8 (and older) (RT#48104)
281 [Vincent Pit]
1cb9da9d
DG
282 - Added newline before a preprocessor directive (RT#30673)
283 [patch by hjp]
284
d17935ef
DM
2852.2002 - Sat Jul 18 17:22:27 EDT 2009
286
287 Bug fixes:
288 - Fix Makefile.PL installdirs for older perls
289
e5b34a76
DG
2902.20_01 - Wed Jul 8 12:12:47 EDT 2009
291
292 - Fix XSUsage prototypes for testing [Jan Dubois]
293
2942.20 - Wed Jul 1 13:42:11 EDT 2009
295
296 - No changes from 2.19_04
297
2982.19_04 - Mon Jun 29 11:49:12 EDT 2009
299
300 - Changed tests to use Test::More and added it to prereqs
301
302 - Some tests skip if no compiler or if no dynamic loading
303
304 - INTERFACE keyword tests skipped for perl < 5.8
305
3062.19_03 - Sat Jun 27 22:51:18 EDT 2009
307
308 - Released to see updated results from smoke testers
309
310 - Fix minor doc typo pulled from blead
311
3122.19_02 - Wed Aug 6 22:18:33 2008
313
314 - Fix the usage reports to consistently report package name as well
315 as sub name across ALIAS, INTERFACE and regular XSUBS. [Robert May]
316
317 - Cleaned up a warning with -Wwrite-strings that gets passed into
318 every parsed XS file. [Steve Peters]
319
320 - Allow (pedantically correct) C pre-processor comments in the code
321 snippets of typemap files. [Nicholas Clark]
322
3232.19 - Sun Feb 17 14:27:40 2008
324
325 - Fixed the treatment of the OVERLOAD: keyword, which was causing a C
326 compile error. [Toshiyuki Yamato]
327
3282.18 - Mon Jan 29 20:56:36 2007
329
330 - Added some UNITCHECK stuff, which (I think) makes XS code able to
331 do UNITCHECK blocks. [Nicholas Clark]
332
333 - Changed 'use re "eval";' to 'BEGIN { $^H |= 0x00200000 };' so we
334 can compile re.xs in bleadperl. [Yves Orton]
335
336 - Fix an undefined-variable warning related to 'inout' parameter
337 processing.
338
3392.17 - Mon Nov 20 17:07:27 2006
340
341 - Stacked $filepathname to make #line directives in #INCLUDEs work.
342 [Nicholas Clark]
343
344 - Sprinked dVAR in with dXSARGS, for God-(Jarkko)-knows-what
345 reason. [Jarkko Hietaniemi]
346
347 - Use printf-style formats in Perl_croak() for some significant
348 savings in number of distinct constant strings in the linked
349 binaries we create. [Alexey Tourbin]
350
351 - Don't use 'class' as a variable name in the t/XSTest.xs module,
352 since that's a keyword in C++. [Jarkko Hietaniemi]
353
3542.16 Fri Sep 15 22:33:24 CDT 2006
355
356 - Fix a problem with PREFIX not working inside INTERFACE
357 sections. [Salvador Fandin~o]
358
3592.15 Mon Oct 10 11:02:13 EDT 2005
360
361 - I accidentally left out a README from the distribution. Now it's
362 auto-created from the main documentation in ExtUtils/ParseXS.pm.
363
3642.14 Sat Oct 8 21:49:15 EDT 2005
365
366 - The filehandle for the .xs file was never being properly closed,
367 and now it is. This was causing some Win32 problems with
368 Module::Build's tests, which create a .xs file, process it with
369 ParseXS, and then try to remove it. [Spotted by Randy Sims]
370
3712.13 Mon Oct 3 21:59:06 CDT 2005
372
373 - Integrate a cleanup-related change from bleadperl that somehow
374 never got into this copy. [Steve Hay]
375
3762.12 Wed Aug 24 20:03:09 CDT 2005
377
378 - On Win32, there was a DLL file we create during testing that we
379 couldn't delete unless we closed it first, so testing failed when
629b8367 380 the deletion was attempted. This should now work (provided the
e5b34a76
DG
381 version of perl is high enough to have DynaLoader::dl_unload_file()
382 - I'm not sure what will happen otherwise). [Steve Hay]
383
384 - Fix a spurious warning during testing about a variable that's used
385 before it's initialized. [Steve Hay]
386
3872.11 Mon Jun 13 23:00:23 CDT 2005
388
389 - Make some variables global, to avoid some "will not stay shared"
390 warnings at compile time. [Rafael Garcia-Suarez]
391
3922.10 Mon May 30 21:29:44 CDT 2005
393
394 - This module is being integrated into the perl core; the regression
395 tests will now work properly when run as part of the core build.
396 [Yitzchak Scott-Thoennes]
397
398 - Added the ability to create output files with a suffix other than
399 ".c", via the new "csuffix" option. This gets the module working
400 on Symbian. [Jarkko Hietaniemi]
401
402 - Added the ability to put 'extern "C"' declarations in front of
403 prototypes. [Jarkko Hietaniemi]
404
4052.09 Sun Mar 27 11:11:49 CST 2005
406
407 - Integrated change #18270 from the perl core, which fixed a problem
408 in which xsubpp can make nested comments in C code (which is
409 bad). [Nicholas Clark]
410
411 - When no "MODULE ... PACKAGE ... PREFIX" line is found, it's now
412 still a fatal error for ParseXS, but we exit with status 0, which
413 is what the old xsubpp did and seems to work best with some modules
414 like Win32::NetAdmin. See RT ticket 11472. [Steve Hay]
415
4162.08 Fri Feb 20 21:41:22 CST 2004
417
418 - Fixed a problem with backslashes in file paths (e.g. C:\Foo\Bar.xs)
419 disappearing in error messages. [Randy Sims, Steve Hay]
420
421 - Did a little minor internal code cleanup in the
422 ExtUtils::ParseXS::CountLines class, now other classes don't poke
423 around in its package variables.
424
4252.07 Sun Jan 25 17:01:52 CST 2004
426
427 - We now use ExtUtils::CBuilder for testing the compile/build phase
428 in the regression tests. It's not necessary to have it for runtime
429 usage, though.
430
431 - Fixed a minor documentation error (look in 'Changes' for revision
432 history, not 'changes.pod'). [Scott R. Godin]
433
4342.06 Fri Dec 26 09:00:47 CST 2003
435
436 - Some fixes in the regression tests for the AIX platform.
437
4382.05 Mon Sep 29 10:33:39 CDT 2003
439
440 - We no longer trim the directory portions from the "#line " comments
441 in the generated C code. This helps cooperation with many editors'
442 auto-jump-to-error stuff. [Ross McFarland]
443
444 - In some cases the PERL_UNUSED_VAR macro is needed to get rid of C
445 compile-time warnings in generated code. Since this eliminates so
446 many warnings, turning on "-Wall -W" (or your platform's
447 equivalent) can once again be helpful. [Ross McFarland]
448
449 - Did a huge amount of variable-scoping cleanup, and it *still*
450 doesn't compile under 'use strict;'. Much progress was made
451 though, and many scoping issues were fixed.
452
4532.04 Thu Sep 4 13:10:59 CDT 2003
454
455 - Added a COPYRIGHT section to the documentation. [Spotted by Ville
456 Skytta]
457
4582.03 Sat Aug 16 17:49:03 CST 2003
459
460 - Fixed a warning that occurs if a regular expression (buried deep
461 within the bowels of the code here) fails. [Spotted by Michael
462 Schwern]
463
464 - Fixed a testing error on Cygwin. [Reini Urban]
465
4662.02 Sun Mar 30 18:20:12 CST 2003
467
468 - Now that we know this module doesn't work (yet?) with perl 5.005,
469 put a couple 'use 5.006' statements in the module & Makefile.PL so
470 we're explicit about the dependency. [Richard Clamp]
471
4722.01 Thu Mar 20 08:22:36 CST 2003
473
474 - Allow -C++ flag for backward compatibility. It's a no-op, and has
475 been since perl5.003_07. [PodMaster]
476
4772.00 Sun Feb 23 16:40:17 CST 2003
478
479 - Tests now function under all three of the supported compilers on
480 Windows environments. [Randy W. Sims]
481
482 - Will now install to the 'core' perl module directory instead of to
483 'site_perl' or the like, because this is the only place MakeMaker
484 will look for the xsubpp script.
485
486 - Explicitly untie and close the output file handle because ParseXS was
487 holding the file handle open, preventing the compiler from opening
488 it on Win32. [Randy W. Sims]
489
490 - Added an '--output FILENAME' flag to xsubpp and changed ParseXS to use
491 the named file in the #line directives when the output file has an
492 extension other than '.c' (i.e. '.cpp'). [Randy W. Sims]
493
494 - Added conditional definition of the PERL_UNUSED_VAR macro to the
495 output file in case it's not already defined for backwards
496 compatibility with pre-5.8 versions of perl. (Not sure if this is the
497 best solution.) [Randy W. Sims]
498
499
5001.99 Wed Feb 5 10:07:47 PST 2003
501
502 - Version bump to 1.99 so it doesn't look like a 'beta release' to
503 CPAN.pm. No code changes, since I haven't had any bug reports.
504
505 - Fixed a minor problem in the regression tests that was creating an
506 XSTest..o file instead of XSTest.o
507
508
5091.98_01 Mon Dec 9 11:50:41 EST 2002
510
511 - Converted from ExtUtils::xsubpp in bleadperl
512
513 - Basic set of regression tests written