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