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