3 * bump __MAX_PERL__ before 5.10
5 * > 3. In several cases, "perl ppport.h --copy=.new" output a new file in
6 > which the only change was the addition of "#include "ppport.h"". In each
7 > case, that actually wasn't necessary because the source file in question
8 > already #included another source file which #included ppport.h itself.
9 > Would it be possible for the analyzer to follow #include directives to
10 > spot cases like this?
12 Uh, well, I guess it would be possible. But I have some concerns:
14 1. ppport.h is already too big. :-)
16 2. There is code in ppport.h to actually remove an
20 if it appears not to be needed. If it's not needed in your
21 included file, it might be dropped from there and moved to
22 the other file that included the first one. This would make
23 the logic much more complicated.
25 3. As ppport.h is configurable, it's not (always) a good idea
26 to put it into a file that's included from another file.
28 I guess I'll have to think about this a little more. Maybe I can
29 come up with a fancy solution that doesn't increase the code size
33 * On 14/12/06, Nicholas Clark <nick@ccl4.org> wrote:
34 > On Thu, Dec 14, 2006 at 05:03:24AM +0100, Andreas J. Koenig wrote:
36 > > Params::Validate and Clone suffer from the same cold:
38 > The same patch will make both compile and pass tests.
39 > I'm wondering if it might be better to totally drop SVt_PBVM and let source
40 > code fail to compile.
42 I don't think so. Because :
43 1. your redefinition of SVt_PBVM is probably what most XS modules want
44 2. anyway, if we remove it from the core, it might appear in Devel::PPPort :)
47 * maybe backport bytes_from_utf8() for 5.6.0 (or even before)?
49 * check which of the following we need to support:
320 * have an --env option for soak to set env variable combinations
322 * only overwrite generated files if they actually changed
324 * try to make parts/apicheck.pl automatically find NEED_ #defines
326 * implement snprintf with newSVpvf for >= 5.004, which is safer?
328 * add support for my_vsnprintf?
330 * try to perform some core consistency checks:
332 - check if 'd' flag in embed.fnc matches with
333 supplied documentation
335 - check if all public API is documented
337 * check (during make regen?) if MAX_PERL in PPPort_pm.PL
340 * see if we can implement sv_catpvf() for < 5.004
344 * improve apicheck (things like utf8_mg_pos_init() are
345 not currently checked)
347 * more documentation, more tests
349 * Resolve dependencies in Makefile.PL and remind of