1 Please note: This file provides a complete, temporally ordered log of
2 changes that went into every version of Perl. If you'd like more
3 detailed information, please consult the comments in the individual
4 patches posted to the perl5-porters mailing list. Patches for each
5 individual change may also be obtained through ftp and rsync--see
6 pod/perlhack.pod for the details.
8 For information on what's new in this release, see pod/perldelta.pod.
10 [The "CAST AND CREW" list has been moved to AUTHORS.]
12 NOTE: Each change entry shows the change number; who checked it into the
13 repository; when; description of the change; which branch the change
14 happened in; and the affected files. The file lists have a short symbolic
20 +> branched (from elsewhere)
21 !> merged changes (from elsewhere)
23 The Message-Ids in the change entries refer to the email messages sent
24 to the perl5-porters mailing list. You can retrieve the messages for
25 example from http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/
28 Version v5.8.9 Maintenance release working toward v5.8.9
30 ____________________________________________________________________________
31 [ 30141] By: nicholas on 2007/02/05 22:46:22
34 Rename FBM_TABLE_OFFSET to PERL_FBM_TABLE_OFFSET prior to moving it
38 Convert the -1 to a more explicit PERL_FBM_FLAGS_OFFSET_FROM_TABLE.
41 Move PERL_FBM_TABLE_OFFSET and PERL_FBM_FLAGS_OFFSET_FROM_TABLE to sv.h
44 Stow BmRARE in the SvPVX, and so delete xbm_rare.
45 Can you see what it is yet?
49 Add BmPREVIOUS_set(), and use it in the one place that BmPREVIOUS is
53 Correct some assumptions about PVBM table offset in B.xs
56 In theory Perl_magic_setbm() should clear SvTAIL() too. In practice,
57 I don't think that it matters as this routine is never actualy called
58 because nothing exposes PVBMs to the world so that the world can assign
62 Eliminate BmPREVIOUS_set - with the complexity gone from how the datum
63 is stored, there's no need for it.
66 In Perl_fbm_compile, really rarest should be U32 not I32, as it is
67 set from a U32, and used as an array index.
68 Branch: maint-5.8/perl
70 !> ext/B/B.xs mg.c util.c
71 ____________________________________________________________________________
72 [ 30140] By: nicholas on 2007/02/05 22:01:07
75 Subject: [PATCH] Make XCOPY not prompt every two seconds when rebuilding on Win32
76 From: demerphq <demerphq@gmail.com>
77 Date: Mon, 13 Feb 2006 09:41:37 +0100
78 Message-ID: <9b18b3110602130041q2d64122am5c83392dd75e0413@mail.gmail.com>
81 Subject: [PATCH] stat() on Windows doesn't handle trailing slashes/backslashes correctly
82 From: "Jan Dubois" <jand@ActiveState.com>
83 Date: Wed, 15 Feb 2006 17:19:29 -0800
84 Message-ID: <017901c63297$08e1e3f0$2217a8c0@candy>
87 Subject: [PATCH] Implement ${^WIN32_SLOPPY_STAT}
88 From: "Jan Dubois" <jand@ActiveState.com>
89 Date: Tue, 21 Feb 2006 12:36:31 -0800
90 Message-ID: <019601c63726$7fcca200$6062a8c0@candy>
92 Get rid of unnecessary "rmdir /s" calls in Win32 makefiles
94 They only existed for the benefit of old shells that didn't
95 understand "rmdir /s /q", but since change #27195 effectively
96 drops support for old shells that don't understand "xcopy /y"
97 it seems unnecessary now.
99 Windows NT4, 2000, XP and onwards all support "rmdir /s /q", so
100 it's probably only the Windows 9x shells that lose out.
103 The first step in supporting VC++ 8.0. Added macros for the free .NET 2.0 SDK and Visual Studio
104 2005. Added these macros to "if" conditions that were appropriate. Added a fix to prevent
105 the .NET 1.1 and 2.0 SDK compilers from attempting to build perlglob.exe (they are both missing
106 the setargv.obj file necessary to do it).
109 Additions to README.win32 and win32/Makefile based on comments from
113 Subject: [PATCH] win32_pclose() error exit doesn't unlock mutex
114 From: Jan Dubois <jand@ActiveState.com>
115 Date: Thu, 16 Mar 2006 16:30:23 -0800
116 Message-ID: <02c701c64959$fac63ad0$6062a8c0@candy>
119 Install POD files into "lib\pods" rather than "lib\pod" on Win32
120 to avoid clashing with "lib\Pod" (cf. perl change #26363)
122 Also remove a couple of unused macros from the makefiles
125 Make "distclean" target on Win32 clean up temporary HTML directory
126 that gets left behind after running the "install" target.
127 Also clean up a couple of leftover pod2html cache files.
130 Merge some changes from ActivePerl 5.8.8.816
133 http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt
135 These changes provide better support for building XS extension modules
136 using VC++ or MinGW when perl itself was built with the opposite of
140 Merge some more changes from ActivePerl 5.8.8.816
143 http://downloads.activestate.com/ActivePerl/src/5.8/AP816_diff.txt
145 These changes improve support for the MS 64-bit compiler in
146 win32/Makefile (and tentatively make the same changes to
147 win32/makefile.mk), and also switches the now deprecated -Gf switch to
148 -GF for all flavours of VC++ instead of just the latest ones.
151 http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-02/msg00353.html
152 for a comment on the s/-Gf/-GF/ change.)
155 Subject: [PATCH] win32/Makefile changes for Windows 64 bit
156 From: "Jan Dubois" <jand@ActiveState.com>
157 Date: Mon, 17 Apr 2006 01:48:34 -0700
158 Message-ID: <036401c661fb$bc7a1200$2217a8c0@candy>
160 and make similar changes to win32/makefile.mk
161 and delete a spurious extra line from that file
162 Branch: maint-5.8/perl
163 !> README.win32 installperl win32/Makefile win32/bin/pl2bat.pl
164 !> win32/config_H.gc win32/config_H.vc win32/makefile.mk
165 !> win32/win32.c win32/win32io.c wince/wince.c
166 ____________________________________________________________________________
167 [ 30139] By: nicholas on 2007/02/05 21:19:54
170 Subject: [Patch] Enhance Hash::Util
171 From: demerphq <demerphq@gmail.com>
172 Date: Mon, 13 Feb 2006 11:39:33 +0100
173 Message-ID: <9b18b3110602130239w311d05fcr776ae8333776ca2e@mail.gmail.com>
176 Hash::Util tests should check if Hash::Util has been built, not
177 List::Util (spotted by Rafael).
180 Add tests for the previously untested Hash::Util::all_keys().
181 Branch: maint-5.8/perl
182 +> ext/Hash/Util/Changes ext/Hash/Util/Makefile.PL
183 +> ext/Hash/Util/Util.xs ext/Hash/Util/lib/Hash/Util.pm
184 +> ext/Hash/Util/t/Util.t
185 - lib/Hash/Util.pm lib/Hash/Util.t
186 !> MANIFEST win32/Makefile win32/makefile.mk
187 ____________________________________________________________________________
188 [ 30138] By: nicholas on 2007/02/05 19:37:53
191 Make change 25286 better
193 Thanks to John E. Malmberg <wb8tyw@qsl.net> for pointing this out.
196 Subject: [PATCH] Remove unused USING_WIDE code from win32 and wince branches
197 From: "Jan Dubois" <jand@ActiveState.com>
198 Date: Mon, 7 Nov 2005 20:39:02 -0800
199 Message-ID: <078001c5e41e$585c4140$6401a8c0@candy>
202 Remove an unused variable left over from change #26041
203 Branch: maint-5.8/perl
204 !> win32/Makefile win32/bin/pl2bat.pl win32/ext/Win32/Win32.xs
205 !> win32/makefile.mk win32/perlhost.h win32/win32.c win32/win32.h
206 !> win32/win32io.c wince/perlhost.h wince/win32.h wince/wince.c
207 ____________________________________________________________________________
208 [ 30137] By: nicholas on 2007/02/05 19:11:17
211 Various cleanup and factorization by Schwern
212 for tests for warnings and features
215 Simplify the ok/not ok logic
216 (another refactorisation by Schwern)
219 Use the $Is_MacOS variable
222 Enhance t/lib/common.pl to provide conditional TODOs using eval'd code.
225 t/lib/common.pl can be warnings clean.
226 Branch: maint-5.8/perl
228 ____________________________________________________________________________
229 [ 30135] By: nicholas on 2007/02/05 18:48:59
232 ExtUtils::ParseXS needs to stack $filepathname to make #line directives
236 Upgrade to ExtUtils-ParseXS-2.16. There actually are a couple of
237 changes in bleadperl not in the new version, so version was bumped
241 Subject: [PATCH] ParseXS.pm: small optimization for "Usage: ..." constant strings
242 From: Alexey Tourbin <at@altlinux.ru>
243 Date: Tue, 14 Nov 2006 05:45:40 +0300
244 Message-ID: <20061114024540.GA21986@localhost.localdomain>
247 Upgrade to ExtUtils-ParseXS-2.17. Actuall just caught up with
248 most of the patches to bleadperl. The remaining change missing
249 is #29252, so, the version has been bumped to 2.17_01.
252 Upgrade to ExtUtils-ParseXS-2.18
253 Branch: maint-5.8/perl
254 !> lib/ExtUtils/ParseXS.pm
255 ____________________________________________________________________________
256 [ 30133] By: nicholas on 2007/02/05 18:05:43
259 Upgrade to PathTools-3.14
262 Upgrade to PathTools-3.14_01
265 Re-instate the old perl getcwd as _perl_getcwd, and use it if loading
266 the XS fails. (Needed to bootstrap the core build)
269 Upgrade to PathTools-3.15
272 Upgrade to PathTools-3.17
275 Upgrade to Pathtools-3.18
278 Added Changes file left out from change #28001.
281 Subject: [PATCH] optimisation for File::Spec::abs2rel where both args are relative
282 From: Brendan O'Dea <bod@debian.org>
283 Date: Thu, 6 Jul 2006 01:02:41 +1000
284 Message-ID: <20060705150241.GA2244@londo.c47.org>
287 Upgrade to PathTools 3.19
290 Upgrade to PathTools-3.21
293 Update to PathTools-3.22.
296 Upgrade to PathTools-3.23.
299 Upgrade to PathTools-3.24.
300 Branch: maint-5.8/perl
301 +> lib/File/Spec/t/tmpdir.t
302 !> MANIFEST ext/Cwd/Changes ext/Cwd/Cwd.xs ext/Cwd/t/cwd.t
303 !> lib/Cwd.pm lib/File/Spec.pm lib/File/Spec/Cygwin.pm
304 !> lib/File/Spec/Mac.pm lib/File/Spec/Unix.pm
305 !> lib/File/Spec/VMS.pm lib/File/Spec/Win32.pm
306 !> lib/File/Spec/t/Spec.t lib/File/Spec/t/crossplatform.t
307 ____________________________________________________________________________
308 [ 30132] By: nicholas on 2007/02/05 17:37:09
311 Subject: [PATCH @26062] wince patch
312 From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
313 Date: Wed, 9 Nov 2005 20:22:52 +0300
314 Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC02@itotest-1.spb.lucent.com>
317 Really apply change #26071.
320 Subject: [PATCH @26137] for wince
321 From: "Konovalov, Vadim" <vkonovalov@spb.lucent.com>
322 Date: Wed, 16 Nov 2005 20:57:13 +0300
323 Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DC9F@itotest-1.spb.lucent.com>
326 Subject: [PATCH @26198] perlce touches
327 From: Konovalov, Vadim <vkonovalov@spb.lucent.com>
328 Date: Nov 23, 2005 8:55 PM
329 Message-ID: <7DD1BE2C50259746ABB8683672D2089E12DDC3@itotest-1.spb.lucent.com>
332 Delete a README made redundant by change 26200.
333 Branch: maint-5.8/perl
334 - wince/README.perlce
335 !> INSTALL MANIFEST README.ce configpm ext/Cwd/Cwd.xs makedef.pl
336 !> wince/Makefile.ce wince/config.ce wince/config_H.ce
337 !> wince/config_h.PL wince/config_sh.PL wince/wince.c
338 ____________________________________________________________________________
339 [ 30131] By: nicholas on 2007/02/05 17:13:40
342 Upgrade to CGI-3.16, with version bump on CGI.pm for documentation
343 fixes not yet integrated.
346 Subject: Patches: B, CGI, ExtUtils::MM_Unix
347 From: "Joshua ben Jore" <twists@gmail.com>
348 Date: Sun, 19 Feb 2006 02:58:10 -0600
349 Message-ID: <dc5c751d0602190058t78d915fv78c6318370307b63@mail.gmail.com>
352 Upgrade to CGI.pm-3.17, but continuing the version bump for
353 unintegrated changes.
356 Upgrade to CGI.pm-3.19.
362 Fix to problem where CGI can lose the filehandle during an upload.
363 Patch posted to the Debian bug list by Eric Wong
364 <eric@petta-tech.com>.
367 Upgrade to CGI.pm-3.21
370 Upgrade to CGI.pm-3.22.
373 Upgrade to CGI.pm-3.25
374 Branch: maint-5.8/perl
375 !> AUTHORS lib/CGI.pm lib/CGI/Carp.pm lib/CGI/Changes
376 !> lib/CGI/Cookie.pm lib/CGI/Fast.pm lib/CGI/Util.pm
377 !> lib/CGI/t/cookie.t lib/CGI/t/function.t lib/CGI/t/html.t
378 ____________________________________________________________________________
379 [ 30130] By: nicholas on 2007/02/05 16:25:02
382 [perl #35878] goto &xsub that croaks corrupts memory
383 When an XS sub is called, a CxSUB context shouldn't be pushed. Make
384 goto &xs_sub mimic this behaviour by first popping the old CxSUB
387 add pointer to email explaining why eval {goto &foo} is banned
388 Branch: maint-5.8/perl
389 !> pp_ctl.c t/op/goto_xs.t
390 ____________________________________________________________________________
391 [ 30127] By: nicholas on 2007/02/05 11:57:18
394 move the SETJMP exception-handing definitions from scope.h to cop.h
395 so that a JMPENV* entry can be added to struct block_eval
398 Revert change #15705 (Core dump in 'leavetry')
399 This fixes bug #34682, reintroduces bug #8738 (ID 20020301.011),
400 and reintroduces an eval optimisation for innter runops levels
403 Better fix for #8738 (Core dump in 'leavetry')
404 When in an inner runops loop (eg via a tie or sort), an eval
405 needs a new JMPENV pushing by S_docatch. If an exception is raised,
406 control is returned to S_docatch, and it must determine whether
407 the eval that trapped the exception is an inner eval or an outer
408 one. In the former case, restart the loop, in the latter case,
409 rethrow the exception. This is determined by whether we are still
410 at the same PL_curstackinfo level. This fails in the case of
411 SPLICE(), which pushes a new SETJMP and runops level, but not a
412 new stackinfo level. There may be other code which does similar.
413 The solution is to store the current value of PL_top_env in each
414 pushed CxEVAL, and see if it's still the same as PL_top_env when
415 the exception is handled.
418 add test for [perl #34682] leaving eval via last in inner runops
419 Branch: maint-5.8/perl
421 !> scope.h t/op/eval.t
422 ____________________________________________________________________________
423 [ 30122] By: nicholas on 2007/02/04 22:37:19
424 Log: Clear up a maint specific compiler warning - in 5.8.x we have more
425 than 16 entries in the arena data structures, so SVt_PTE is > 15,
426 so won't fit in 4 bits. It's not actually needed by the sanity test,
427 so change its "type" to 0.
428 Branch: maint-5.8/perl
430 ____________________________________________________________________________
431 [ 30121] By: nicholas on 2007/02/04 21:32:10
434 Turn INIT_TLS_AND_INTERP into a static function
437 Foolishly I committed change 23753 before remembering to test without
438 ithreads. No tests => bugs. This should fix them.
441 Change 23753 wasn't quite a perfect refactoring, as it omitted calling
442 PERL_SET_THX(my_perl); when !PL_curinterp for non-ithreads.
443 However, this would not have made a difference for any configuration
444 buildable from the blead source alone.
445 Branch: maint-5.8/perl
447 ____________________________________________________________________________
448 [ 30118] By: nicholas on 2007/02/04 19:27:45
451 make -Dl log runops loop entry and exit, and jump level popping
452 Branch: maint-5.8/perl
454 ____________________________________________________________________________
455 [ 30117] By: nicholas on 2007/02/04 19:00:56
456 Log: local $[ works quite nicely in maint, so un-TODO it.
457 Branch: maint-5.8/perl
459 ____________________________________________________________________________
460 [ 30116] By: nicholas on 2007/02/04 18:51:01
461 Log: Put the assignment to $XS_VERSION in a BEGIN block too.
462 Branch: maint-5.8/perl
463 ! ext/DynaLoader/DynaLoader_pm.PL
464 ____________________________________________________________________________
465 [ 30115] By: nicholas on 2007/02/04 18:49:54
468 Don't use vars in DynaLoader
469 Remove left-over maintenance code
472 Subject: [PATCH] Symbian port of Perl
473 From: <jarkko.hietaniemi@nokia.com>
474 Date: Mon, 18 Apr 2005 13:18:30 +0300
475 Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
478 Avoid hardcoded $(OBJ_EXT)
481 Move DynaLoader.o into libperl.so.
483 This avoids the need to statically link DynaLoader into the stub perl
484 executable and make libperl.so provide all the code needed to get a
485 functional embedded perl interpreter up running. As a side effect
486 this also moves DynaLoader into libperl.a for non-useshrplib builds.
491 Adjust docs to reflect that DynaLoader, as of change 27549,
495 Subject: [PATCH] Test script for DynaLoader
496 From: Sébastien Aperghis-Tramoni <maddingue@free.fr>
497 Date: Thu, 18 May 2006 16:46:00 +0200
498 Message-ID: <1147963560.446c88a8891e1@imp1-g19.free.fr>
501 Nits in the DynaLoader test: make it warning-clean,
502 and avoid checking OS- and locale-specific messages
505 We can now remove DynaLoader from 1_compile.t
508 Better handling for error-checking
509 From: IRC/#p5p/Maddingue (Sebastien Aperghis-Tramoni)
512 Subject: Re: [PATCH] Test script for DynaLoader
513 From: demerphq <demerphq@gmail.com>
514 Date: Thu, 25 May 2006 13:20:53 +0200
515 Message-ID: <9b18b3110605250420m7431bfbeve44aada2025264f7@mail.gmail.com>
518 use the same arg names everyone else does and handle undef filename
521 Subject: [PATCH] DynaLoader.t: less assumptions
522 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
523 Message-ID: <44796AF2.8060903@gmail.com>
524 Date: Sun, 28 May 2006 12:18:42 +0300
527 And some more DynaLoader things that should not be tested on
528 VMS since they are not part of the implementation.
531 darwin also seems to be lacking a dl_unload_file() in its
532 DynaLoader, so some additional skips are needed. If I only
533 had a NeXT to test with now...
536 Upgrade to XSLoader-0.07.
539 Subject: [patch at 21983] factor out $^O eq 'darwin' from XSLoader.pm
540 From: "Konovalov, Vadim Vladimirovich (Vadim)** CTR **" <vkonovalov@Lucent.com>
541 Date: Thu, 2 Nov 2006 12:36:49 +0100
542 Message-ID: <E3FB32585BF1D411B9E900805FF51A080204E833@ru0022exch001u.ru.lucent.com>
545 Wrap the $VERSION initialization of DynaLoader in a BEGIN block
547 Subject: [perl #40651] (Obscure) Bug in Dynaloader
548 From: gml4410@ggr.co.uk (via RT) <perlbug-followup@perl.org>
549 Date: Thu, 02 Nov 2006 09:30:34 -0800
550 Message-ID: <rt-3.5.HEAD-4979-1162488633-1267.40651-75-0@perl.org>
553 The assignment to $VERSION must be on its own line, for
554 ExtUtils::MM_Unix::parse_version to be happy.
557 The DynaLoader test isn't happy with OpenBSD's libc.so.39.3.
560 Subject: [PATCH 5.8.8] OS/2-specific fixes, round II
561 From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
562 Date: Mon, 18 Dec 2006 00:45:24 -0800
563 Message-ID: <20061218084524.GA14866@powdermilk.math.berkeley.edu>
566 Subject: DynaLoader test failure on cygwin
567 From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
568 Date: Sun, 7 Jan 2007 11:56:21 -0800 (PST)
569 Message-ID: <1675.63.226.247.31.1168199781.squirrel@63.226.247.31>
572 Fix a typo in Dynaloader_pm.PL.
573 Branch: maint-5.8/perl
574 +> ext/DynaLoader/t/DynaLoader.t
575 !> MANIFEST Makefile.SH ext/DynaLoader/DynaLoader_pm.PL
576 !> ext/DynaLoader/Makefile.PL ext/DynaLoader/XSLoader_pm.PL
577 !> ext/DynaLoader/dl_vms.xs ext/DynaLoader/dlutils.c
578 !> ext/DynaLoader/t/XSLoader.t ext/util/make_ext
579 !> lib/ExtUtils/Embed.pm t/lib/1_compile.t writemain.SH
580 ____________________________________________________________________________
581 [ 30113] By: nicholas on 2007/02/04 12:08:57
582 Log: Revert the reversion of change 23524 and restore 23348:
585 Subject: [PATCH-for-23341] dynaloader improvements and cleanup
586 From: Vadim Konovalov <vadim@vkonovalov.ru>
587 Date: Sun, 3 Oct 2004 22:10:06 +0400
588 Message-ID: <138-1837306906.20041003221006@vkonovalov.ru>
589 Branch: maint-5.8/perl
590 ! ext/DynaLoader/DynaLoader_pm.PL
591 ____________________________________________________________________________
592 [ 30112] By: nicholas on 2007/02/04 11:54:14
593 Log: Provide a fixed $DynaLoader::XS_VERSION of 1.05, to fix bug #32539
594 whilst also allowing $DynaLoader::VERSION to be incremented (and
596 Branch: maint-5.8/perl
597 ! ext/DynaLoader/DynaLoader_pm.PL ext/DynaLoader/Makefile.PL
598 ____________________________________________________________________________
599 [ 30110] By: nicholas on 2007/02/03 19:00:21
600 Log: Clarify that all the dire (sounding) "unsafe" warnings apply to 5005
602 Branch: maint-5.8/perl
603 ! gv.c op.c perl.c sv.c
604 ____________________________________________________________________________
605 [ 30109] By: nicholas on 2007/02/03 18:52:20
608 Downgrading a fixed or floating substring of a pattern whilst matching
609 a studied string seems to get to a "should not happen" [bug #41067]
610 It seems that Perl_regexec_flags() assumes that if the pre-downgraded
611 substring is FBM compiled, then the downgraded version will be too,
612 hence changing the downgrade and upgrade routines to FBM compile seems
616 Remove code duplication in S_to_utf8_substr() and S_to_byte_substr()
617 by taking advantage of how anchored_* and float_* are stored in arrays
621 Change 29502 wasn't perfect - you need to remove any extra trailing
622 "\n" added by fbm_compile(), before recompiling with the same flags.
623 In turn, to do that, it's best to store the flags even for short
625 Branch: maint-5.8/perl
627 !> regcomp.h t/op/re_tests util.c
628 ____________________________________________________________________________
629 [ 30107] By: nicholas on 2007/02/03 18:08:37
632 Cygwin issue (26792) and patchlevel (26790)
634 Subject: Re: Cygwin status, maint and blead
635 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
636 Date: Fri, 6 Jan 2006 13:47:10 -0800
637 Message-ID: <20060106214710.GA592@efn.org>
639 Subject: Re: Cygwin status, maint and blead
640 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
641 Date: Thu, 10 Nov 2005 00:46:33 -0800
642 Message-ID: <20051110084633.GA3364@efn.org>
645 Make dump and -u croak on Win32 and Cygwin to avoid confusion
646 such as was seen here:
648 Subject: Weird Win32 error: "This application has requested the Runtime to terminate it in an unusual way."
649 From: demerphq <demerphq@gmail.com>
650 Date: Thu, 26 Jan 2006 15:40:42 +0100
651 Message-ID: <9b18b3110601260640x34b2442cnf5379d2f83b74187@mail.gmail.com>
654 Subject: [PATCH] op/magic failure on cygwin after 1.5.19-4
655 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
656 Date: Mon, 20 Feb 2006 11:09:33 -0800
657 Message-ID: <20060220190933.GA1316@efn.org>
660 Subject: [PATCH] fix cygwin build
661 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
662 Date: Sun, 16 Apr 2006 18:05:20 -0700
663 Message-ID: <20060417010520.GA2888@efn.org>
666 Fix to first problem causing Cygwin Perl to fail to build
667 in a path with spaces in it.
670 Changes to get perl to compile with g++ on Cygwin. Some additional
671 changes will be needed to get it to link though.
674 -Dprefix failed on Cygwin unless the directory ${installbin} already
675 existed prior to running make.
678 Subject: help cygwin find its dlls even on taint tests with no path
679 From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
680 Date: Sun, 7 Jan 2007 16:56:28 -0800 (PST)
681 Message-ID: <2437.63.226.247.31.1168217788.squirrel@63.226.247.31>
682 Branch: maint-5.8/perl
683 !> Configure cygwin/Makefile.SHs cygwin/cygwin.c malloc.c perl.c
684 !> perl.h pod/perldiag.pod pod/perlport.pod sv.c t/op/magic.t
686 ____________________________________________________________________________
687 [ 30106] By: nicholas on 2007/02/03 17:15:45
690 Subject: reentr reshuffle
691 From: Jarkko Hietaniemi <jhi@iki.fi>
692 Date: Thu, 28 Sep 2006 12:40:04 +0300
693 Message-ID: <451B9874.7060000@iki.fi>
699 With xlow and xhigh as U32, PAD_MAX shouldn't be IV_MAX, as on a 64 bit
700 system this can't be stored.
701 Branch: maint-5.8/perl
703 !> pad.c pod/perlembed.pod pod/perlxs.pod reentr.c reentr.pl
704 ____________________________________________________________________________
705 [ 30102] By: nicholas on 2007/02/02 22:11:03
708 Fix RT #6006: Regexp replaces using large replacement variables fail
709 some of the time (i.e. when the substitution contains something
710 like ${10}). Patch derived from a patch by Hugo van der Sanden;
711 added also a second test (Yves Orton already added a TODO test
715 A better fix for RT #6006: revert change 29616, which was bogus,
716 and add OP_SCOPE to the list of "dangerous" ops that might appear
717 on the right side of s///.
718 However, this fix does not work under taint mode, and op/subst.t
722 Remove -T from op/subst.t, and add a new test file, substT.t,
723 to run the s/// tests under taint mode; mark the test for
724 RT #6006 as TODO, but only with -T.
727 Fix #6006 for taint mode too.
728 Branch: maint-5.8/perl
731 !> MANIFEST t/op/subst.t
732 ____________________________________________________________________________
733 [ 30100] By: nicholas on 2007/02/02 21:52:26
736 Subject: [perl #36909] $^R undefined on matches involving backreferences
737 From: yves orton via RT <bugs-perl5@bugs6.perl.org>
738 Date: Nov 17, 2006 4:07 PM
739 Branch: maint-5.8/perl
741 !> regcomp.c regexec.c t/op/subst.t
742 ____________________________________________________________________________
743 [ 30099] By: nicholas on 2007/02/02 21:14:53
746 As freeing up PL_linestr is now done via the scope stack, there's no
747 need to make any temporary varariable a mortal, and waste effort on
748 the temp stack (not) clearing it up.
751 Rationalise the logic in lex_start for creating a new temporary if the
752 passed in SV is read only or doesn't end in ';'. Also, allow a NULL
753 pointer to imply a zero length string, which saves creating a mortal
754 in pp_require, only for it to be ignored in favour of a new SV.
757 Subject: Re: [PATCH] Symbian port: add Series 90 support
758 From: Jarkko Hietaniemi <jhi@iki.fi>
759 Date: Thu, 04 Jan 2007 03:35:54 -0500
760 Message-ID: <459CBC6A.4060806@iki.fi>
762 Fixes a VC7/VC7.1 linker error following #29650/#29651
763 Branch: maint-5.8/perl
764 !> embed.fnc perl.h pp_ctl.c proto.h toke.c util.c
765 ____________________________________________________________________________
766 [ 30098] By: nicholas on 2007/02/02 20:54:46
769 eval $undef should emit one warning, not three.
770 Also ensure that eval $undef clears $@ (it did, but only by luck)
773 add test that eval undef clears $@
776 Change #29193 makes this addition unneeded
777 Branch: maint-5.8/perl
778 !> pp_ctl.c t/lib/common.pl t/op/eval.t toke.c
779 ____________________________________________________________________________
780 [ 30097] By: nicholas on 2007/02/02 20:40:18
783 Missing file from last change
786 Fix the failures in warnings tests when PERL_UNICODE is defined
787 that show up in the smokes under UTF-8 locales. Based on :
789 Subject: Re: UTF-8 Failures in smoke ($PERL_UNICODE)
790 From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
791 Date: Wed, 1 Nov 2006 17:03:55 +0100
792 Message-ID: <20061101170355.7c57b515@pc09>
795 More heuristics to make warnings.t pass under different
796 combinations of PERL_UNICODE / locale
797 Branch: maint-5.8/perl
799 !> MANIFEST lib/warnings.t
800 ____________________________________________________________________________
801 [ 30096] By: nicholas on 2007/02/02 18:03:45
804 Cleanup and conversion to t/test.pl
807 PL_linestr needs to survive until the end of scope, not just the next
808 FREETMPS. Fixes the underlying cause of the thread cloning SEGV
809 reported in http://www.nntp.perl.org/group/perl.perl5.porters/63123
812 PVMG can be isUV too.
813 Branch: maint-5.8/perl
814 +> t/op/threads_create.pl
816 !> MANIFEST ext/Devel/Peek/t/Peek.t sv.c t/op/threads.t toke.c
817 ____________________________________________________________________________
818 [ 30095] By: nicholas on 2007/02/02 17:46:17
821 Change PAD_MAX to something a bit less FORTRAN-ish than 999999999.
824 Abstract the pad code's overloaded use of SvNVX and SvIVX into
825 4 macros COP_SEQ_RANGE_LOW, COP_SEQ_RANGE_HIGH, PARENT_PAD_INDEX
826 and PARENT_FAKELEX_FLAGS
829 Move PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI to pad.h, export them via
830 B.pm, so that B::Concise doesn't need to hard code magic numbers.
833 Probably better to make PAD_FAKELEX_ANON and PAD_FAKELEX_MULTI special
834 cases, instead of scanning pad.h to find them, and picking up 3 other
835 superfluous definitions as a side effect.
836 Branch: maint-5.8/perl
838 !> ext/B/B.pm ext/B/B.xs ext/B/B/Concise.pm ext/B/B/Deparse.pm
839 !> ext/B/defsubs_h.PL ext/B/t/concise-xs.t pad.h
840 ____________________________________________________________________________
841 [ 30094] By: nicholas on 2007/02/02 16:57:24
844 Subject: [PATCH] Re: [perl #41065] Out of memory!, while extending scalar
845 From: Marcus Holland-Moritz <mhx-perl@gmx.net>
846 Date: Sun, 10 Dec 2006 22:32:32 +0100
847 Message-ID: <20061210223232.0f3a5318@r2d2>
850 Subject: [PATCH] perl.c: leak avoidance
851 From: Jarkko Hietaniemi <jhi@iki.fi>
852 Date: Sat, 16 Dec 2006 11:48:13 -0500
853 Message-ID: <4584234D.7070209@iki.fi>
856 Subject: [PATCH] Don't destroy the Unicode system environment on Perl startup
857 From: Jan Dubois <jand@ActiveState.com>
858 Date: Mon, 18 Dec 2006 16:34:33 -0800
859 Message-ID: <bsbeo2hama2sdo3kqdbrdhp505caeft6h9@4ax.com>
862 syswrite() wasn't reporting a warning when writing to a filehandle
863 opened only for input.
864 Branch: maint-5.8/perl
865 !> doop.c perl.c pp_sys.c t/lib/warnings/pp_sys
866 ____________________________________________________________________________
867 [ 30077] By: nicholas on 2007/01/29 23:50:30
870 In Perl_fbm_instr(), no need to calculate the address of the table if
871 we're going to return anyway.
874 Exterminate! 2 pieces of superfluous code related to UV setting.
877 PVBMs mustn't enter anything that turns SVIVisUV_on().
880 Change SvTAIL() to check that both SVpbm_TAIL|SVpbm_VALID are true.
881 SVpbm_VALID is the same bit value is SVf_IVisUV, which means that
882 PVBMs can't actually ever be IOK. Therefore move BmUSEFUL() into the
883 IV union, and save one I32 per PVBM.
886 Shrink Perl_sv_peek() and Perl_do_sv_dump() by using type to name
888 Branch: maint-5.8/perl
891 ____________________________________________________________________________
892 [ 30075] By: nicholas on 2007/01/29 23:16:13
895 Verify that the debugger has an array where to store lines before
896 doing so. This fixes an assertion failure when parsing a script
897 that begins with '#!perl -d'.
898 Also, code factorization in toke.c.
901 Remove the pp_entersub specific logic from S_get_db_sub.
904 Make get_db_sub non-static, and call it from pp_goto, which allows the
905 removal of duplicate code. (The conversion of GvSV(PL_DBsub) to
906 GvSVn(PL_DBsub) implicit in this change should fix a failure with
910 Move Perl_get_db_sub() from pp_hot.c to util.c
913 In toke.c, merge S_update_debugger_info_pv() and
914 S_update_debugger_info_sv() into S_update_debugger_info().
915 Branch: maint-5.8/perl
917 !> embed.fnc embed.h op.c pp_ctl.c pp_hot.c proto.h toke.c
918 ____________________________________________________________________________
919 [ 30074] By: nicholas on 2007/01/29 22:57:54
922 Make undef $SIG{FOO} ignore the signal FOO
925 Actually, undef $SIG{FOO} should restore the default signal
926 handler. Else, once we exit a block where the signal handler was
927 localized, it becomes ignored.
928 Branch: maint-5.8/perl
930 ____________________________________________________________________________
931 [ 30073] By: nicholas on 2007/01/29 22:44:03
934 Subject: [perl #18209] bug in regex s/\s$word\s/ /gi; and $&
935 From: "yves orton via RT" <perlbug-followup@perl.org>
936 Date: Fri, 17 Nov 2006 10:17:48 -0800
937 Message-ID: <rt-3.5.HEAD-1713-1163787467-1300.18209-15-0@perl.org>
940 Subject: [perl #18209] bug in regex s/\s$word\s/ /gi; and $&
941 From: "yves orton via RT" <perlbug-followup@perl.org>
942 Date: Fri, 17 Nov 2006 10:17:48 -0800
943 Message-ID: <rt-3.5.HEAD-1713-1163787467-1300.18209-15-0@perl.org>
944 Branch: maint-5.8/perl
947 ____________________________________________________________________________
948 [ 30071] By: nicholas on 2007/01/29 22:30:00
951 Fix for bug #38631: tied variables don't work with .= <>
954 Subject: [perl #41008] Setting $0 invalidates environment shown by ps
955 From: alexander_bluhm@genua.de (via RT) <perlbug-followup@perl.org>
956 Date: Tue, 28 Nov 2006 05:09:31 -0800
957 Message-ID: <rt-3.5.HEAD-32013-1164719371-480.41008-75-0@perl.org>
960 Subject: Re: [perl #38868] Changing $0 on darwin leads to excessive padding in 'ps'
961 From: Chris Dolan <chris@chrisdolan.net>
962 Date: Sat, 2 Dec 2006 09:37:08 -0600
963 Message-Id: <005671A0-5C2B-464C-85B9-A91E52278194@chrisdolan.net>
966 add missing OP_REFCNT_LOCK/UNLOCKs and document it
969 The overly-picky AIX xlc compiler doesn't like the style
973 Subject: [PATCH] mg.c: #ifdef only the different bits
974 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
975 Date: Tue, 12 Dec 2006 15:18:53 +0200 (EET)
976 Message-Id: <20061212131853.C2CBA43A67@anubis.hut.fi>
977 Branch: maint-5.8/perl
978 !> mg.c op.h pp_hot.c sv.c t/op/readline.t
979 ____________________________________________________________________________
980 [ 30070] By: nicholas on 2007/01/29 22:12:03
983 [perl #40718] perl parser bug leading to memory corruption
984 quoted-string parser naughtily maintained a pointer into an SV
985 which could get realloc()ed.
988 Fix a bug in the debugger tracing variables when one was eval'ing
989 a string including a "#line" directive containing the actual
990 name of the file already. (following-up change #25409)
993 Fix bug #39037: rcatline doesn't stringify references
996 Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
997 From: "yves orton via RT" <perlbug-followup@perl.org>
998 Date: Fri, 17 Nov 2006 09:48:14 -0800
999 Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>
1002 Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
1003 From: "yves orton via RT" <perlbug-followup@perl.org>
1004 Date: Fri, 17 Nov 2006 09:48:14 -0800
1005 Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>
1008 Subject: [perl #22395] regexp /(.*)[bc]/ 10000 times slower in 5.8.0 vs 5.6.1
1009 From: "yves orton via RT" <perlbug-followup@perl.org>
1010 Date: Fri, 17 Nov 2006 09:48:14 -0800
1011 Message-ID: <rt-3.5.HEAD-1666-1163785693-404.22395-15-0@perl.org>
1014 Unify the two warnings "Can't declare %s in %s", in line with what's
1015 documented in perldiag.
1018 Invalidate the method lookup cache when assigning to a glob
1019 named "isa". (That happens when importing "isa" from UNIVERSAL,
1020 for example.) Fixes bug #24824.
1023 Fix infinite loop in Perl_my_strftime() for failing strftime()
1024 Branch: maint-5.8/perl
1026 !> op.c pp_hot.c regcomp.c t/op/attrs.t t/op/readline.t
1027 !> t/op/universal.t toke.c util.c
1028 ____________________________________________________________________________
1029 [ 30069] By: nicholas on 2007/01/29 21:05:26
1032 Subject: [PATCH] replace S_sv_pos_b2u_forwards with utf8_length (was: sv_pos_b2u dislikes the extended UTF-8)
1033 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
1034 Date: Sun, 21 May 2006 14:00:43 +0900
1035 Message-Id: <20060521140011.358D.BQW10602@nifty.com>
1038 Subject: [PATCH] Perl_die() / Perl_croak()
1039 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
1040 Date: Tue, 07 Nov 2006 23:27:40 -0800
1041 Message-ID: <455186EC.8010906@p6m7g8.com>
1043 (backported to embed.fnc)
1046 Subject: [PATCH] was RE: Perl_die() / Perl_croak()
1047 From: "Robin Barker" <Robin.Barker@npl.co.uk>
1048 Date: Mon, 13 Nov 2006 10:25:08 -0000
1049 Message-ID: <2C2E01334A940D4792B3E115F95B7226149377@exchsvr1.npl.ad.local>
1052 Tweaks needed to get Perl compiling with g++ on OpenBSD.
1055 Remove superfluous SvROK()
1058 Change (well, correct) S_add_data to take and return a U32.
1061 Simplify S_add_data(), given that realloc will NULL acts as malloc().
1064 save_I8 is not a mathom.
1067 Subject: [PATCH] Perl_save_destructor is not a mathom
1068 From: "Jerry D. Hedden" <jdhedden@yahoo.com>
1069 Date: Wed, 6 Dec 2006 11:12:13 -0800 (PST)
1070 Message-ID: <20061206191213.35036.qmail@web30206.mail.mud.yahoo.com>
1073 No need to upgrade if all we're going to do is return.
1074 Branch: maint-5.8/perl
1075 ! regcomp.c scope.c sv.c
1076 !> embed.fnc embed.h embed.pl mathoms.c perl.h perlio.c proto.h
1077 !> t/op/index.t util.c
1078 ____________________________________________________________________________
1079 [ 30068] By: nicholas on 2007/01/29 20:23:46
1082 When code is loaded through an @INC-hook, and when this hook
1083 has set a filename entry in %INC, make sure __FILE__ is set
1084 for this code accordingly to the contents of that %INC entry.
1087 Change the documentation of the return values of @INC-hooks to match
1088 what is tested to work. (It's a bit confusing that optional values
1089 might appear at the middle, too.)
1092 Subject: [PATCH t/op/inccode.t] fails under minitest
1093 From: "Robin Barker" <Robin.Barker@npl.co.uk>
1094 Date: Wed, 8 Nov 2006 15:18:23 -0000
1095 Message-ID: <2C2E01334A940D4792B3E115F95B7226120AA5@exchsvr1.npl.ad.local>
1098 Subject: [PATCH blead] Re: [perl #41071] require stringifies code references in tied @INC
1099 From: Rick Delaney <rick@bort.ca>
1100 Date: Fri, 15 Dec 2006 23:28:25 -0500
1101 Message-ID: <20061216042825.GB23501@localhost.localdomain>
1102 Branch: maint-5.8/perl
1103 +> t/op/inccode-tie.t
1104 !> MANIFEST pod/perlfunc.pod pp_ctl.c t/op/inccode.t
1105 ____________________________________________________________________________
1106 [ 30066] By: nicholas on 2007/01/29 19:07:36
1109 Subject: [perl #40557] regexec.c saves context stack position improperly
1110 From: Dave Bailey (via RT) <perlbug-followup@perl.org>
1111 Date: Tue, 17 Oct 2006 09:37:28 -0700
1112 Message-ID: <rt-3.5.HEAD-4979-1161103047-337.40557-75-0@perl.org>
1115 zero length $1 took too long to detect utf8-ness
1118 only do \C hackery if \C is seen
1120 From: demerphq <demerphq@gmail.com>
1121 Date: Fri, 20 Oct 2006 12:38:13 +0200
1122 Subject: Re: utf8 regexp performance problem
1123 Message-ID: <9b18b3110610200338k5df1d3afpf829fbc0f3663a75@mail.gmail.com>
1124 Branch: maint-5.8/perl
1125 !> mg.c regexec.c scope.c scope.h
1126 ____________________________________________________________________________
1127 [ 30065] By: nicholas on 2007/01/29 18:52:30
1130 panic if we attempt to sv_setsv to or from an already freed SV.
1133 No warning was produced if perl failed to load PerlIO::scalar
1134 (contrary to other PerlIO layers.)
1137 Fix small leak with -F at interpreter destruction
1140 Subject: Re: [perl #40583] sprintf "%#04X" also uppercases the 0x-prefix
1141 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
1142 Date: Fri, 27 Oct 2006 00:19:34 +0900
1143 Message-Id: <20061027001924.B158.BQW10602@nifty.com>
1146 Change the non-mkstemp, non-win32 code path of PerlIO_tmpfile
1147 to use PerlIO_fdopen so that when the tmpfile is closed we do
1148 not decrement a ref count that doesn't exist or is zero.
1149 Branch: maint-5.8/perl
1150 !> perl.c perlio.c pod/perlfunc.pod sv.c t/op/sprintf.t
1151 ____________________________________________________________________________
1152 [ 30063] By: nicholas on 2007/01/29 18:20:31
1153 Log: And now actually fixed. (All tests pass)
1154 Branch: maint-5.8/perl
1156 ____________________________________________________________________________
1157 [ 30062] By: nicholas on 2007/01/29 18:02:23
1158 Log: Fix up damage from change 30061 - at least make sv.c compile.
1159 [Problem caused by not running make test in the correct tree]
1160 Branch: maint-5.8/perl
1162 ____________________________________________________________________________
1163 [ 30061] By: nicholas on 2007/01/29 17:39:20
1166 Don't bother checking for bad characters in prototypes if we're not
1167 going to warn about them.
1173 Using explicit printf-like APIs with a format of "%s" isn't the world's
1174 most efficient idea.
1177 Quiet a warning in pp_sys.c on AIX.
1180 VOL should be used instead of volatile in the core.
1183 This volatile modifier is not on the referent, but on the pointer
1185 Branch: maint-5.8/perl
1186 !> XSUB.h dump.c op.c perl.c pp_sys.c toke.c
1187 ____________________________________________________________________________
1188 [ 30060] By: nicholas on 2007/01/29 17:14:16
1191 Subject: [PATCH] C++: add -Wno-used-parameter, and drop ODBM_File
1192 From: Jarkko Hietaniemi <jhi@iki.fi>
1193 Date: Tue, 19 Sep 2006 09:19:22 +0300
1194 Message-ID: <450F8BEA.1010802@iki.fi>
1197 Subject: Re: [PATCH] cflags.SH: rethink of the gcc -std=c89 and -pedantic
1198 From: Jarkko Hietaniemi <jhi@iki.fi>
1199 Date: Mon, 02 Oct 2006 13:04:14 +0300
1200 Message-ID: <4520E41E.8040300@iki.fi>
1203 Subject: [PATCH] cflags.SH: strip -std=c89 for g++
1204 From: Jarkko Hietaniemi <jhi@iki.fi>
1205 Date: Sat, 07 Oct 2006 13:37:04 +0300
1206 Message-ID: <45278350.8020707@iki.fi>
1209 Subject: [PATCH] Re: [PATCH] perlhack: some portability updates
1210 From: Dominic Dunlop <shouldbedomo@mac.com>
1211 Date: Sun, 26 Nov 2006 12:01:16 +0100
1212 Message-Id: <253514EB-BA57-4A43-93FA-75D6F3CF27BC@mac.com>
1215 Typo fix (by Dominic Dunlop)
1218 If we have specified -Dgccansipedantic on the Configure command-line,
1219 assume we really want it
1222 cflags.SH was broken: it was compiling a C file for testing available
1223 command-line options, but this C file was including perl.h, which in
1224 turn includes config.h, which might not be present at that time. So
1225 force the generation of config.h.
1226 Branch: maint-5.8/perl
1227 !> Makefile.SH cflags.SH perl.h
1228 ____________________________________________________________________________
1229 [ 30058] By: nicholas on 2007/01/29 16:46:38
1232 Subject: [perl #40427] Segfault in pack
1233 From: dgay@acm.org (via RT) <perlbug-followup@perl.org>
1234 Date: Thu, 28 Sep 2006 17:30:37 -0700
1235 Message-ID: <rt-3.5.HEAD-31259-1159489837-428.40427-75-0@perl.org>
1238 fix bad free in do_exec3()
1241 Subject: [perl #40473] sprintf width+precision fails on wide chars
1242 From: Anatoly Vorobey (via RT) <perlbug-followup@perl.org>
1243 Date: Sun, 08 Oct 2006 17:58:16 -0700
1244 Message-ID: <rt-3.5.HEAD-31259-1160355496-1702.40473-75-0@perl.org>
1247 Missing % in format string
1250 Avoid undefined behaviour for -DPERL_MEM_LOG by not using a direct
1251 dereference of member of the structure being reallocated as part of
1252 the size calculation. (There may be other similar bugs).
1255 Subject: [PATCH] Re: sprintf 64 test
1256 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
1257 Date: Sun, 15 Oct 2006 16:51:34 +0900
1258 Message-Id: <20061015165052.77AD.BQW10602@nifty.com>
1260 1. nullify 0 flag in integer conversions when precision is given
1261 2. ignore space after a plus sign as a sign for a nonnegative number
1262 3. make a negative precision through * working as if the precision
1264 Branch: maint-5.8/perl
1265 !> doio.c perl.h pod/perlfunc.pod pp_pack.c regcomp.c sv.c
1266 !> t/op/sprintf.t t/op/sprintf2.t
1267 ____________________________________________________________________________
1268 [ 30057] By: nicholas on 2007/01/29 15:55:07
1271 Subject: [PATCH] deal with some gcc warnings
1272 From: Jarkko Hietaniemi <jhi@iki.fi>
1273 Date: Thu, 21 Sep 2006 09:08:47 +0300
1274 Message-ID: <45122C6F.9080904@iki.fi>
1277 In pp_binmode, call mode_from_discipline() once and remember the result.
1280 In PerlIO_debug(), if tainting or set*id, set PL_perlio_debug_fd to -1
1281 first time through to reduce the checks on subsequent calls.
1284 Don't bother generating the "Operation \"%s\": no method found..."
1285 message text if we're not going to use it.
1288 Generate the overload enum and names array programatically, which
1289 allows experimentation with the order. The new order shaves nearly
1290 900 bytes from gv.o, because the compiler can make smaller branch
1291 tables for switch statements.
1294 Fix typo spotted by Rafael. Close the file handle explicity and check
1295 for errors. Add overload.pl to regen.pl
1298 Make the executable slightly smaller by using PL_hexdigit in
1302 Make reference stringification (blessed and unblessed) about as fast as
1303 is possible, because I'm told it's used quite frequently.
1306 Use Perl_croak_nocontext() rather than Perl_croak() for the snprintf()
1307 and vsnprintf() macros.
1308 Branch: maint-5.8/perl
1309 + overload.h overload.pl
1310 !> MANIFEST doio.c gv.c perl.h perlio.c pp_sys.c reentr.c
1311 !> reentr.pl regen.pl sv.c util.c
1312 ____________________________________________________________________________
1313 [ 30056] By: nicholas on 2007/01/29 11:15:51
1316 (Hopefully) fix coredumps in ByteLoader, which were a side effect of
1317 fixing a bug in B, and non-robust autogenerated code. When
1318 autogenerating initialiser statements for an array, it's a bad plan to
1319 have the size of that array hard coded.
1322 Coverity was getting upset about an assignment from a function
1323 returning int to a U8 variable. Curiously it was only getting upset
1324 about the first of many.
1325 However, we are doing NO ERROR CHECKING on whether we read in the
1326 requested number of bytes of bytecode. All except BGET_op_tr_array
1327 will now croak on a short read.
1330 Oops. Change 27826 had an error in the definition of BGET_PADOFFSET().
1333 Silence the VC7 compiler warning in the following smoke:
1334 http://www.nntp.perl.org/group/perl.daily-build.reports/39824
1337 Try to reinstate the fix of change #28638 by patching bytecode.pl and
1338 not the file it generates
1341 Provide a BGET_svtype, required by #28667
1344 Subject: [PATCH] bytecode.t failures in Tru64: svtype (enum) is int, not long
1345 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1346 Date: Sat, 19 Aug 2006 14:34:53 +0300 (EEST)
1347 Message-Id: <200608191134.k7JBYroK518962@kosh.hut.fi>
1349 plus fix 28739 to use U32 rather than I32 to avoid an error on this
1350 ILP 32 bit system. (Checked also with -Duse64bitint, but we await the
1351 verdict on an LP64 system)
1352 Branch: maint-5.8/perl
1353 ! ext/B/B/Assembler.pm
1354 !> bytecode.pl ext/B/B/Asmdata.pm ext/ByteLoader/bytecode.h
1355 !> ext/ByteLoader/byterun.c
1356 ____________________________________________________________________________
1357 [ 30055] By: nicholas on 2007/01/28 23:54:52
1360 Subject: [PATCH] Stop harness from printing summary table header for each row in table
1361 From: demerphq <demerphq@gmail.com>
1362 Date: Tue, 23 May 2006 22:27:40 +0200
1363 Message-ID: <9b18b3110605231327t316104caoce301668178ee442@mail.gmail.com>
1366 Upgrade to Test-Harness-2.60
1369 Upgrade to Test::Harness 2.62
1372 Adapt the new Test::Harness test to the core
1375 Upgrade to Test-Harness-2.64
1376 Branch: maint-5.8/perl
1377 +> lib/Test/Harness/Results.pm lib/Test/Harness/t/failure.t
1378 !> MANIFEST lib/Test/Harness.pm lib/Test/Harness/Changes
1379 !> lib/Test/Harness/Straps.pm lib/Test/Harness/Util.pm
1380 !> lib/Test/Harness/bin/prove lib/Test/Harness/t/00compile.t
1381 !> lib/Test/Harness/t/callback.t
1382 !> lib/Test/Harness/t/prove-switches.t
1383 !> lib/Test/Harness/t/strap-analyze.t
1384 !> lib/Test/Harness/t/test-harness.t
1385 ____________________________________________________________________________
1386 [ 30054] By: nicholas on 2007/01/28 23:29:04
1387 Log: Change 28489 giveth, and change 28488 taketh away. (Although for most
1388 people time flows forwards, so they won't see it this way). But the
1389 problem is that 28488 taketh away the {}, and whilst 28489 puteth them
1390 back, 28489 was about state variables, so I'm not merging it.
1391 Hence this need for a manual fixup. (And something else I'd like to
1392 fixup is gcc, for not having a C89-death-or-glory flag)
1393 Branch: maint-5.8/perl
1395 ____________________________________________________________________________
1396 [ 30053] By: nicholas on 2007/01/28 23:11:59
1397 Log: Fix bug introduced by a clean merge in change 30051. Either my test
1398 environment is screwy, or my ability to read (or at least notice things)
1399 is impaired. Although I suspect upgrading to Test::Harness 2.62 will
1400 help, as that restores the die-on-errors, which t/harness lacks
1402 Branch: maint-5.8/perl
1404 ____________________________________________________________________________
1405 [ 30051] By: nicholas on 2007/01/28 21:56:48
1408 Clear up most of the VC6 compiler warnings in the following smoke:
1409 http://www.nntp.perl.org/group/perl.daily-build.reports/39733
1410 Branch: maint-5.8/perl
1411 !> ext/B/B.xs ext/XS/APItest/APItest.xs hv.c op.c pp.c pp_pack.c
1413 ____________________________________________________________________________
1414 [ 30049] By: nicholas on 2007/01/28 08:28:43
1416 Branch: maint-5.8/perl
1417 ! Changes patchlevel.h
1418 ____________________________________________________________________________
1419 [ 30048] By: nicholas on 2007/01/28 00:08:17
1422 Subject: [perl #38709] Opening '|-' triggers unjustified taint check
1423 From: mhasch@cpan.org (via RT) <perlbug-followup@perl.org>
1424 Date: Fri, 10 Mar 2006 20:10:49 -0800
1425 Message-ID: <rt-3.0.11-38709-130993.2.89182805885773@perl.org>
1428 Fix a bug on setting OPpASSIGN_COMMON on a AASSIGN op when the left
1429 side is made out a list declared with our(). In this case OPpLVAL_INTRO
1430 isn't set on the left op, so we just remove that check. Add new tests.
1433 Subject: RE: Combining UTF-16 output with :crlf is awkward
1434 From: "Jan Dubois" <jand@ActiveState.com>
1435 Date: Thu, 6 Apr 2006 18:37:21 -0700
1436 Message-ID: <0bbe01c659e3$d0c334a0$2217a8c0@candy>
1439 Change #27951 added tests to t/op/taint.t involving taint, opening
1440 "|-". Unfortunately, this usually reacts badly on OpenBSD with
1441 threaded Perls, causing zombie processes nearly every time this is run.
1442 For now, skipping the test seem reasonable while working on a solution
1446 Change 29297 omitted a semicolon.
1447 Branch: maint-5.8/perl
1448 !> doio.c op.c perlio.c t/op/array.t t/op/taint.t
1449 ____________________________________________________________________________
1450 [ 30047] By: nicholas on 2007/01/27 23:49:02
1453 Upgrade to Encode 2.18
1454 Branch: maint-5.8/perl
1455 !> ext/Encode/Byte/Byte.pm ext/Encode/CN/CN.pm ext/Encode/Changes
1456 !> ext/Encode/EBCDIC/EBCDIC.pm ext/Encode/Encode.pm
1457 !> ext/Encode/Encode.xs ext/Encode/JP/JP.pm ext/Encode/KR/KR.pm
1458 !> ext/Encode/Symbol/Symbol.pm ext/Encode/TW/TW.pm
1459 !> ext/Encode/bin/enc2xs ext/Encode/encoding.pm
1460 !> ext/Encode/lib/Encode/Alias.pm
1461 !> ext/Encode/lib/Encode/CJKConstants.pm
1462 !> ext/Encode/lib/Encode/CN/HZ.pm ext/Encode/lib/Encode/Config.pm
1463 !> ext/Encode/lib/Encode/Encoding.pm
1464 !> ext/Encode/lib/Encode/Guess.pm ext/Encode/lib/Encode/JP/H2Z.pm
1465 !> ext/Encode/lib/Encode/JP/JIS7.pm
1466 !> ext/Encode/lib/Encode/KR/2022_KR.pm
1467 !> ext/Encode/lib/Encode/MIME/Header.pm
1468 !> ext/Encode/lib/Encode/MIME/Header/ISO_2022_JP.pm
1469 !> ext/Encode/lib/Encode/Unicode/UTF7.pm
1470 ____________________________________________________________________________
1471 [ 30046] By: nicholas on 2007/01/27 23:25:32
1474 Subject: [PATCH] quiet gcc Info message in cygwin
1475 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
1476 Date: Wed, 25 Jan 2006 19:16:09 -0800
1477 Message-ID: <20060126031608.GA2588@efn.org>
1480 Don't add -fPIC if already present.
1482 Subject: [PATCH] 5.8.8: Debian patches
1483 From: "Brendan O'Dea" <bod@debian.org>
1484 Date: Sat, 11 Feb 2006 00:37:15 +1100
1485 Message-ID: <20060210133715.GA6826@londo.c47.org>
1488 Subject: [PATCH] Make SDBM_File work with -Duse64bitall on Darwin (Mac OS X)
1489 From: Dominic Dunlop <shouldbedomo@mac.com>
1490 Date: Feb 20, 2006 1:46 PM
1491 Message-Id: <B699DDDE-EC4E-495D-AFF5-3D7399332A24@mac.com>
1494 Subject: [PATCH] Suppress System V IPC for 64-bit Darwin builds
1495 From: Dominic Dunlop <shouldbedomo@mac.com>
1496 Date: Fri, 24 Feb 2006 17:22:54 +0100
1497 Message-Id: <A685C5DB-23CE-430E-95F1-CC7A9480DDF9@mac.com>
1500 Anton Berezin says that on FreeBSD we're wrong to be using -lc_r, and
1501 should just be using -pthread on the linker line.
1502 This stops the new taint tests looping infinitely. It also seems to
1503 cure the TODO test in posix.t - masked SIGINT is now received.
1506 Remvove code that gets undone in the next line.
1507 Keep the documentation part.
1510 Add -fno-delete-null-pointer-checks to ccflags on Itaniums when
1511 compiling with gcc's 3.2, 3.3, or 3.4. This fixes RT #37156.
1514 Sun C on Linux doesn't complain about the attributes sprinkled
1515 through the code in all cases, even though attributes are not
1516 supported. In some cases, however, it does.
1519 Solaris hints: gcc flags confuse Configure
1520 Subject: [PATCH] (Was Re: [perl #39636] Configure fails)
1521 From: Andy Dougherty <doughera@lafayette.edu>
1522 Date: Wed, 28 Jun 2006 13:37:54 -0400 (EDT)
1523 Message-ID: <Pine.LNX.4.62.0606281331350.3867@fractal.phys.lafayette.edu>
1526 Solaris' sh doesn't like empty if's
1529 Subject: [PATCH] z/OS: hints/os390.sh and Makefile.SH
1530 From: Jarkko Hietaniemi <jhi@iki.fi>
1531 Date: Mon, 10 Jul 2006 22:55:33 +0300
1532 Message-ID: <44B2B0B5.3000008@iki.fi>
1535 Subject: [perl #40161] ccversion fix for hpux
1536 From: smoketst@hp46t243.cup.hp.com (via RT) <perlbug-followup@perl.org>
1537 Date: Wed, 16 Aug 2006 23:10:52 -0700
1538 Message-ID: <rt-3.5.HEAD-31263-1155795052-1297.40161-75-0@perl.org>
1541 Subject: [perl #40239] New hints file for MidnightBSD
1542 From: Lucas Holt (via RT) <perlbug-followup@perl.org>
1543 Date: Fri, 25 Aug 2006 20:16:40 -0700
1544 Message-ID: <rt-3.5.HEAD-31263-1156562199-1390.40239-75-0@perl.org>
1547 Subject: [PATCH] (1) g++ 4.x (or Mac OS X) (2) Solaris g++ or CC
1548 From: Jarkko Hietaniemi <jhi@iki.fi>
1549 Date: Wed, 13 Sep 2006 20:19:04 +0300
1550 Message-ID: <45083D88.7050207@iki.fi>
1552 Plus a tweak to the name of CC.
1555 Subject: [PATCH] Linux and Solaris hints: C++ vs dlerror
1556 From: Jarkko Hietaniemi <jhi@iki.fi>
1557 Date: Tue, 10 Oct 2006 14:00:40 +0300
1558 Message-ID: <452B7D58.1090009@iki.fi>
1561 Remove description of WHOA THERE messages for recommended hint values,
1562 removed by change #29288.
1565 Remove warnings against WHOA THERE warnings from the hints files.
1568 Subject: [PATCH] Re: 'localtime' not thread-safe under HP-UX B.11.11/64
1569 From: "Jerry D. Hedden" <jdhedden@yahoo.com>
1570 Date: Mon, 18 Dec 2006 10:18:28 -0800 (PST)
1571 Message-ID: <31291.28361.qm@web30205.mail.mud.yahoo.com>
1574 gcc -dumpversion is at least supported back to 2.7.x and
1575 thus seems to be much more defensive against upcoming version
1576 reporting format changes.
1579 Reentrant functions appear to still be broken in NetBSD 3.1.
1580 Branch: maint-5.8/perl
1581 +> hints/midnightbsd.sh
1582 !> (integrate 27 files)
1583 ____________________________________________________________________________
1584 [ 30045] By: nicholas on 2007/01/27 23:04:25
1587 Subject: [PATCH] Tru64: if cc given both -O and -g, -g must be -g3
1588 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1589 Date: Sun, 23 Jul 2006 10:18:11 +0300 (EEST)
1590 Message-Id: <200607230718.k6N7IB4u009170@kosh.hut.fi>
1593 Subject: [PATCH] (back) towards g++ compilation (in Tru64, and elsewhere)
1594 From: Jarkko Hietaniemi <jhi@iki.fi>
1595 Date: Mon, 31 Jul 2006 23:44:55 +0300
1596 Message-ID: <44CE6BC7.8060805@iki.fi>
1598 Just the hints/dec_osf.sh changes from this set of patches.
1601 Subject: [PATCH] more g++ in Tru64
1602 From: Jarkko Hietaniemi <jhi@iki.fi>
1603 Date: Thu, 03 Aug 2006 09:04:45 +0300
1604 Message-ID: <44D191FD.9030902@iki.fi>
1607 Subject: [PATCH] Tru64 oops
1608 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1609 Date: Thu, 3 Aug 2006 22:59:37 +0300 (EEST)
1610 Message-Id: <200608031959.k73JxbsC395856@kosh.hut.fi>
1613 Subject: [PATCH] g++: gethostbyaddr, and more Tru64 defines
1614 From: Jarkko Hietaniemi <jhi@iki.fi>
1615 Date: Thu, 10 Aug 2006 09:00:44 +0300
1616 Message-ID: <44DACB8C.1080708@iki.fi>
1619 Subject: [PATCH] g++/Tru64: got perl linking once got the linkage right
1620 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1621 Date: Fri, 18 Aug 2006 13:03:17 +0300 (EEST)
1622 Message-Id: <200608181003.k7IA3Hso276655@kosh.hut.fi>
1623 Branch: maint-5.8/perl
1624 !> hints/dec_osf.sh perl.h perlio.c pp_sys.c
1625 ____________________________________________________________________________
1626 [ 30042] By: nicholas on 2007/01/27 22:45:18
1629 gcc-4.1.1 on Fedora optimized away NULL chacks in Perl_do_close(),
1630 which caused core dumps.
1633 do_gv_dump, do_gvgv_dump and do_hv_dump call all actually take a NULL
1634 parameter. Patch for do_hv_dump supplied by Brandon L Black, other
1635 two added after code inspection.
1638 Change 29753 messed up do_hv_dump() [my fault]
1639 Branch: maint-5.8/perl
1640 !> embed.fnc proto.h
1641 ____________________________________________________________________________
1642 [ 30040] By: nicholas on 2007/01/27 18:56:32
1645 Silence a bunch of Borland compiler warnings in SDBM_File
1646 (See: http://www.nntp.perl.org/group/perl.daily-build.reports/40283)
1649 Subject: [PATCH perl-current]; was RE: [PATCH perlio.c pp.c regcomp.c] silence format and comparison warnings
1650 From: "Robin Barker" <Robin.Barker@npl.co.uk>
1651 Date: Fri, 1 Sep 2006 16:10:25 +0100
1652 Message-ID: <2C2E01334A940D4792B3E115F95B7226120A21@exchsvr1.npl.ad.local>
1655 cxtype is a U16, not a U32 (Stops VC++ complaining)
1658 Subject: NULL and sv_setpv vs. newSVpv
1659 From: "Yitzchak Scott-Thoennes" <sthoenna@efn.org>
1660 Date: Sun, 10 Sep 2006 20:31:46 -0700 (PDT)
1661 Message-ID: <8750.24.19.24.170.1157945506.squirrel@24.19.24.170>
1664 Fix one genuine unitialised code path spotted by gcc, and a signed/
1668 Subject: [PATCH] bleed - silence warning in sv.c
1669 From: "Philip M. Gollucci" <pgollucci@p6m7g8.com>
1670 Date: Mon, 18 Sep 2006 01:30:05 -0700
1671 Message-ID: <450E590D.1060205@p6m7g8.com>
1674 Subject: Re: Change 28877: [PATCH] deal with some gcc warnings
1675 From: Jarkko Hietaniemi <jhi@iki.fi>
1676 Message-ID: <45175CA4.3020900@iki.fi>
1677 Date: Mon, 25 Sep 2006 07:35:48 +0300
1679 remove casts that were causing failure on FreeBSD -Duse64bitint, and
1680 some other cleanups.
1683 Silence two warnings from gcc when being -pedantic
1684 Branch: maint-5.8/perl
1685 !> XSUB.h doio.c dump.c perl.h perlio.c pp.c pp_ctl.c pp_pack.c
1686 !> reentr.c reentr.pl sv.c utf8.c
1687 ____________________________________________________________________________
1688 [ 30039] By: nicholas on 2007/01/27 18:27:17
1691 Subject: [PATCH] Don't promulgate Perl attributes
1692 From: "Jerry D. Hedden" <jdhedden@cpan.org>
1693 Date: Wed, 23 Aug 2006 10:07:05 -0700
1694 Message-ID: <20060823100705.fb30e530d17747c2b054d625b8945d88.87c0ee9326.wbe@email.secureserver.net>
1697 Subject: [PATCH] RE: [perl #40227] 'reserved' warning not working
1698 From: "Jerry D. Hedden" <jdhedden@cpan.org>
1699 Date: Thu, 24 Aug 2006 09:04:12 -0700
1700 Message-ID: <20060824090412.fb30e530d17747c2b054d625b8945d88.e8ae12ccab.wbe@email.secureserver.net>
1701 Branch: maint-5.8/perl
1702 !> lib/attributes.pm xsutils.c
1703 ____________________________________________________________________________
1704 [ 30038] By: nicholas on 2007/01/27 18:13:24
1707 Fixups for test failures caused by #28667 and #28668
1710 Additional changes to get C++ a little closer to a clean compile
1714 Cast needed to compile bsd_glob.c with C++
1717 Subject: [PATCH] g++: fix Digest::MD5, Math::BigInt::FastCalc, ODBM_File, XS::APItest (and Time::HiRes 1.88 in CPAN)
1718 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1719 Date: Tue, 22 Aug 2006 10:45:41 +0300 (EEST)
1720 Message-Id: <200608220745.k7M7jfjP050939@kosh.hut.fi>
1722 ...plus various version bumps and Digest::MD5 test file fixes.
1725 Subject: [PATCH ext/ODBM_File/ODBM_File.xs] change 28744 broke ODBM_File
1726 From: "Robin Barker" <Robin.Barker@npl.co.uk>
1727 Date: Thu, 24 Aug 2006 13:22:47 +0100
1728 Message-ID: <2C2E01334A940D4792B3E115F95B7226120A1A@exchsvr1.npl.ad.local>
1731 Following Jarkko's advice, it seems that ODBM_File cannot be
1732 compiled as C++ as-is.
1733 Branch: maint-5.8/perl
1734 !> bytecode.pl ext/B/B/Asmdata.pm ext/B/B/Assembler.pm
1735 !> ext/B/t/assembler.t ext/ByteLoader/bytecode.h
1736 !> ext/ByteLoader/byterun.c ext/DB_File/DB_File.pm
1737 !> ext/DB_File/DB_File.xs ext/Digest/MD5/MD5.pm
1738 !> ext/Digest/MD5/MD5.xs ext/Digest/MD5/t/files.t
1739 !> ext/File/Glob/bsd_glob.c ext/ODBM_File/ODBM_File.pm
1740 !> ext/ODBM_File/ODBM_File.xs ext/POSIX/POSIX.pm
1741 !> ext/POSIX/POSIX.xs ext/XS/APItest/APItest.pm
1742 !> ext/XS/APItest/APItest.xs
1743 ____________________________________________________________________________
1744 [ 30036] By: nicholas on 2007/01/27 17:35:47
1747 Subject: [patch@26561] utf8.c const issue.
1748 From: "John E. Malmberg" <wb8tyw@qsl.net>
1749 Date: Mon, 02 Jan 2006 14:16:02 -0500
1750 Message-ID: <43B97BF2.2050201@qsl.net>
1753 syscall() declaration in perl.h needs to have an EXTERN_C prefixing
1754 it for some C++ compiles. Might as well fix usleep()'s
1758 Subject: [PATCH] Re: A large-ish C++ TODO (Re: [PATCH] g++ stage 1 reached)
1759 From: Jarkko Hietaniemi <jhi@iki.fi>
1760 Date: Thu, 17 Aug 2006 19:16:09 +0300
1761 Message-ID: <44E49649.9090307@iki.fi>
1764 Subject: [PATCH] g++/Solaris: force d_dlopen=define
1765 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1766 Date: Fri, 18 Aug 2006 15:48:34 +0300 (EEST)
1767 Message-Id: <200608181248.k7ICmY2W028375@vipunen.hut.fi>
1770 Subject: [PATCH] g++/x2p (better version)
1771 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
1772 Date: Mon, 21 Aug 2006 14:48:26 +0300 (EEST)
1773 Message-Id: <200608211148.k7LBmQGL161830@kosh.hut.fi>
1776 More conditional defines of EXTERN_C, by Jarkko
1779 Added an additional #ifndef based on comments by Jarkko and
1783 Revert bogus change 28763.
1786 Subject: [PATCH] C++: Solaris CC now compiles "perl"
1787 From: Jarkko Hietaniemi <jhi@iki.fi>
1788 Date: Sat, 09 Sep 2006 15:29:12 +0300
1789 Message-ID: <4502B398.6060505@iki.fi>
1792 Subject: [PATCH] Re: C++ status [Fwd: Smoke [5.9.4] 28776 FAIL(FM) OSF1 V5.1 (EV6/4 cpu)]
1793 From: Dominic Dunlop <domo@computer.org>
1794 Date: Tue, 12 Sep 2006 09:13:41 +0200
1795 Message-Id: <6FD7503D-349B-4BE4-B457-D79458900FA0@computer.org>
1798 Subject: Re: Re: [PATCH] C++: Solaris CC now compiles "perl"
1799 From: demerphq <demerphq@gmail.com>
1800 Date: Thu, 14 Sep 2006 14:28:16 +0200
1801 Message-ID: <9b18b3110609140528x49e063aay724169d7f1e49531@mail.gmail.com>
1804 More hacking in util.c's ifdef jungle following 28844 to avoid
1805 duplicate definition of Perl_my_setenv on VMS.
1808 Subject: [PATCH] util.c: restore Perl_my_setenv() to pre-28814
1809 From: Jarkko Hietaniemi <jhi@iki.fi>
1810 Date: Sun, 17 Sep 2006 10:29:08 +0300
1811 Message-ID: <450CF944.7000402@iki.fi>
1812 Branch: maint-5.8/perl
1814 !> EXTERN.h INTERN.h XSUB.h hints/solaris_2.sh mathoms.c op.h
1815 !> opcode.h opcode.pl perl.h perlio.c sv.c unixish.h util.c
1816 !> x2p/EXTERN.h x2p/INTERN.h x2p/hash.h
1817 ____________________________________________________________________________
1818 [ 30033] By: nicholas on 2007/01/27 16:40:35
1821 Subject: [PATCH] g++ heavy shoveling
1822 From: Jarkko Hietaniemi <jhi@iki.fi>
1823 Date: Wed, 02 Aug 2006 00:04:42 +0300
1824 Message-ID: <44CFC1EA.2050702@iki.fi>
1827 Subject: [PATCH] g++ large patch
1828 From: Jarkko Hietaniemi <jhi@iki.fi>
1829 Date: Fri, 04 Aug 2006 08:58:27 +0300
1830 Message-ID: <44D2E203.5050201@iki.fi>
1833 Restore modification in warnings.h from change 28662 by backporting it
1837 Subject: [PATCH] g++ stage 1 reached
1838 From: Jarkko Hietaniemi <jhi@iki.fi>
1839 Date: Tue, 08 Aug 2006 00:02:35 +0300
1840 Message-ID: <44D7AA6B.4040802@iki.fi>
1841 Branch: maint-5.8/perl
1843 !> (integrate 45 files)
1844 ____________________________________________________________________________
1845 [ 30031] By: nicholas on 2007/01/27 15:26:35
1848 Subject: [PATCH] cflags.SH: rework the gcc warnings selection
1849 From: Jarkko Hietaniemi <jhi@iki.fi>
1850 Date: Thu, 15 Jun 2006 09:12:53 +0300
1851 Message-ID: <4490FA65.70006@iki.fi>
1854 Subject: RE: [PATCH] cflags.SH: rework the gcc warnings selection
1855 From: "Green, Paul" <Paul.Green@stratus.com>
1856 Date: Sun, 18 Jun 2006 19:41:50 -0400
1857 Message-ID: <F5F42E77A43DD944B6D664B00A5401CB02026106@EXNA.corp.stratus.com>
1860 Subject: [PATCH] cflags.SH: scan the gcc warning flags only once, during .SH expansion
1861 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
1862 Date: Mon, 26 Jun 2006 22:12:37 +0300 (EEST)
1863 Message-Id: <20060626191237.8A0936CF04@seth.hut.fi>
1866 Don't add extra warning flags for gcc versions < 3.
1869 Subject: [PATCH] Re: [PATCH] cflags.SH: add -std=c89
1870 From: Jarkko Hietaniemi <jhi@iki.fi>
1871 Date: Sat, 15 Jul 2006 12:19:45 +0300
1872 Message-ID: <44B8B331.8090009@iki.fi>
1875 Subject: [PATCH] cflags.SH: add missing C files
1876 From: Jarkko Hietaniemi <jhi@iki.fi>
1877 Date: Sat, 15 Jul 2006 12:30:25 +0300
1878 Message-ID: <44B8B5B1.2050902@iki.fi>
1881 Cygwin doesn't cope (yet) with gcc flags -std=c89
1884 Remove the C89 checking with gcc
1885 (but leave a note in perlhack)
1886 Branch: maint-5.8/perl
1888 ____________________________________________________________________________
1889 [ 30029] By: nicholas on 2007/01/27 13:10:53
1892 Subject: [PATCH] Re: Cygwin status, maint and blead
1893 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
1894 Date: Sun, 13 Nov 2005 16:01:02 -0800
1895 Message-ID: <20051114000102.GA5556@efn.org>
1898 Teach the Makefile how to cleanup config.over.
1901 Subject: Re: Smoke [5.9.4] 27195 FAIL(m) irix 6.2 (IP22/1 cpu)
1902 From: Abe Timmerman <abe@ztreet.demon.nl>
1903 Message-Id: <200602172358.23977.abe@ztreet.demon.nl>
1904 Date: Fri, 17 Feb 2006 23:58:23 +0100
1907 Simplify; make perl.o included in $(obj)
1910 Fix up miniperl dependency.
1911 Depend on $(obj) when we use that to build miniperl.
1914 When checking whether perl is built with -g in optimisation
1915 flags, use a more tolerant regexp, because we can now have
1916 things like '-O2 -g'.
1919 Subject: [PATCH] Makefile splint support
1920 From: andy@petdance.com (Andy Lester)
1921 Date: Sun, 2 Jul 2006 12:19:08 -0500
1922 Message-ID: <20060702171908.GA20443@petdance.com>
1925 Subject: [PATCH] Makefile.SH: lib/re.pm often messes restarted parallel makes
1926 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
1927 Date: Wed, 15 Nov 2006 05:48:32 +0200 (EET)
1928 Message-Id: <20061115034832.43B7E8B3E7@seth.hut.fi>
1931 Subject: Re: [PATCH 5.8.8] Build on OS/2 - missing part
1932 From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
1933 Date: Sat, 9 Dec 2006 16:33:41 -0800
1934 Message-ID: <20061210003341.GA14200@powdermilk.math.berkeley.edu>
1935 Branch: maint-5.8/perl
1936 !> Makefile.SH os2/Makefile.SHs
1937 ____________________________________________________________________________
1938 [ 30027] By: nicholas on 2007/01/27 12:18:00
1941 Subject: Re: [patch] s/ar ts/ar s/g
1942 From: "Philippe M. Chiasson" <gozer@ActiveState.com>
1943 Date: Thu, 26 Jan 2006 13:53:07 -0800
1944 Message-ID: <43D944C3.60101@ActiveState.com>
1947 Subject: [PATCH]Teach Configure that icc is not gcc
1948 From: Steve Peters <steve@fisharerojo.org>
1949 Date: Tue, 6 Jun 2006 10:33:12 -0500
1950 Message-ID: <20060606153312.GA5542@fisharerojo.org>
1953 ANSI-C headers in test snippets to please g++ (and the rest)
1954 Subject: [PATCH] (back) towards g++ compilation (in Tru64, and elsewhere)
1955 From: Jarkko Hietaniemi <jhi@iki.fi>
1956 Date: Mon, 31 Jul 2006 23:44:55 +0300
1957 Message-ID: <44CE6BC7.8060805@iki.fi>
1960 Subject: [PATCH] g++ heavy shoveling
1961 From: Jarkko Hietaniemi <jhi@iki.fi>
1962 Date: Wed, 02 Aug 2006 00:04:42 +0300
1963 Message-ID: <44CFC1EA.2050702@iki.fi>
1964 Branch: maint-5.8/perl
1966 ____________________________________________________________________________
1967 [ 30026] By: nicholas on 2007/01/27 11:02:43
1970 Subject: [PATCH] t/op/list.t using test.pl
1971 From: David Landgren <david@landgren.net>
1972 Date: Wed, 03 May 2006 19:40:40 +0200
1973 Message-ID: <4458EB18.8070904@landgren.net>
1976 Subject: [PATCH blead] Re: [perl #39733] $AUTOLOAD is never tainted
1977 From: Rick Delaney <rick@bort.ca>
1978 Date: Sun, 9 Jul 2006 15:01:50 -0400
1979 Message-ID: <20060709190150.GA1922@localhost.localdomain>
1981 Plus a note in perldelta
1984 Subject: [PATCH blead] Re: [perl #39882] inconsistent list slice behaviour
1985 From: Rick Delaney <rick@bort.ca>
1986 Date: Thu, 3 Aug 2006 21:48:07 -0400
1987 Message-ID: <20060804014807.GW21381@localhost.localdomain>
1990 Subject: Re: [perl #37731] junk and uninit'ed values in tied scalars
1991 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
1992 Date: Mon, 28 Nov 2005 01:26:31 -0800
1993 Message-ID: <20051128092605.GA2328@efn.org>
1995 plus a regression test
1998 lstat on *GLOB{IO} with warnings on would segfault
1999 (noticed by Andrew Dougherty)
2002 Disable study() for utf-8 strings
2004 Subject: Re: Re: [Fwd: Smoke [5.9.4] 28821 FAIL(XF) OSF1 V5.1 (EV6/4 cpu)]
2005 From: demerphq <demerphq@gmail.com>
2006 Date: Tue, 12 Sep 2006 17:08:55 +0200
2007 Message-ID: <9b18b3110609120808jceb84ces55ef29c2f2b73ebc@mail.gmail.com>
2010 Deliver SIGILL, SIGBUS and SIGSEGV always in an "unsafe" manner.
2012 Subject: Safe signals and SIGSEGV
2013 From: Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>
2014 Date: Fri, 8 Sep 2006 17:43:41 +0200
2015 Message-ID: <20060908174341.0cc7988f@grubert.mandriva.com>
2016 Branch: maint-5.8/perl
2017 !> gv.c mg.c pp.c pp_sys.c sv.c t/op/list.t t/op/taint.t
2019 ____________________________________________________________________________
2020 [ 30023] By: nicholas on 2007/01/26 21:52:35
2023 In pp_entersub, accept to handle a CV with a NULL padlist.
2024 This fixes a crash with mod_perl 1.29.
2027 Add another volatile modifier to protect against longjmp clobbering
2030 Subject: [PATCH] z/OS: pp_sys.c, reg*.c, toke.c, utf8.c
2031 From: Jarkko Hietaniemi <jhi@iki.fi>
2032 Date: Sat, 22 Jul 2006 18:51:48 +0300
2033 Message-ID: <44C24994.6020008@iki.fi>
2036 Revert part of last change, that was causing utf8 test failures
2039 Revert change 28603: this was a wrong fix, that didn't prevent
2040 a later crash. Reindent a bit of the same function.
2043 Subject: [PATCH] solution(?) to the "warning: comparison is always false dueto limited range of data type" with New*()
2044 From: Jarkko Hietaniemi <jhi@iki.fi>
2045 Date: Fri, 28 Jul 2006 09:00:28 +0300
2046 Message-ID: <44C9A7FC.1060801@iki.fi>
2049 Subject: [PATCH] g++ dNOOP (luckily one can mix code and decls in C++)
2050 Somewhat modifies as per Steve Hay's comment
2051 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2052 Date: Tue, 1 Aug 2006 08:46:15 +0300 (EEST)
2053 Message-Id: <200608010546.k715kEdP017064@kosh.hut.fi>
2056 We shouldn't try to decrement the refcount of PL_warnhook
2057 if it has been set to PERL_WARNHOOK_FATAL.
2060 Simplification in Perl_magic_clearsig, plus a fix similar and
2061 symmetrical to the one implemented in change #28669.
2064 A couple const's and a cast to get Sun CC to compile these files.
2065 Perl, however, still will not build with the Sun CC.
2068 Subject: [PATCH] doio.c: vararg NULLs must be cast right
2069 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2070 Date: Thu, 10 Aug 2006 08:35:53 +0300 (EEST)
2071 Message-Id: <200608100535.k7A5Zr2Z156515@kosh.hut.fi>
2072 Branch: maint-5.8/perl
2073 !> doio.c handy.h mg.c op.c perl.h pp_hot.c pp_sort.c pp_sys.c
2074 !> regcomp.c regexec.c toke.c utf8.c
2075 ____________________________________________________________________________
2076 [ 30022] By: nicholas on 2007/01/26 20:21:16
2079 Subject: Re: Fix loads of warnings from the last escaping patch...
2080 From: demerphq <demerphq@gmail.com>
2081 Date: Sun, 16 Jul 2006 19:59:02 +0200
2082 Message-ID: <9b18b3110607161059j276ac869p450aa178150044ae@mail.gmail.com>
2083 Branch: maint-5.8/perl
2084 !> dump.c embed.fnc pod/perlapi.pod proto.h
2085 ____________________________________________________________________________
2086 [ 30021] By: nicholas on 2007/01/26 19:23:54
2089 Introduce a new function, pv_escape(), to display contents of PVs
2090 that might contain non printable chars.
2092 Subject: Re: [PATCH]: fix: [perl #39583] Pattern Match fails for specific length string
2093 From: demerphq <demerphq@gmail.com>
2094 Date: Wed, 5 Jul 2006 20:40:58 +0200
2095 Message-ID: <9b18b3110607051140n10c211a1jf17d3b7914d6f68b@mail.gmail.com>
2098 Subject: Updated escaping code. utf8 regex debug output improvements
2099 From: demerphq <demerphq@gmail.com>
2100 Date: Sat, 15 Jul 2006 18:56:03 +0200
2101 Message-Id: <9b18b3110607150956o6273a16clb1518911d1945d4@mail.gmail.com>
2105 Branch: maint-5.8/perl
2107 !> embed.fnc embed.h global.sym perl.h pod/perlapi.pod proto.h
2109 ____________________________________________________________________________
2110 [ 30020] By: nicholas on 2007/01/26 19:03:49
2111 Log: Fix up files by re-running embed.pl
2112 I've no idea why these weren't correct to start with, as it all passed
2114 Branch: maint-5.8/perl
2115 ! global.sym proto.h
2116 ____________________________________________________________________________
2117 [ 30018] By: nicholas on 2007/01/26 17:39:35
2120 Subject: [PATCH] Macroize vast tracks of duplicated code in regexec.c
2121 From: demerphq <demerphq@gmail.com>
2122 Date: Sat, 8 Jul 2006 17:48:34 +0200
2123 Message-ID: <9b18b3110607080848u663b114ag86f76ac5c9c9d5e@mail.gmail.com>
2125 Removing duplicated regexp trie-related code.
2126 Branch: maint-5.8/perl
2128 ____________________________________________________________________________
2129 [ 30011] By: nicholas on 2007/01/26 14:31:27
2132 Revert change #20462 (except the regression test),
2133 since the bug has been really fixed by change #22074,
2135 Subject: Re: [perl #39247] defined-ness of substrings disappear over repeated calls
2136 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2137 Date: Thu, 01 Jun 2006 08:16:51 +0900
2138 Message-Id: <20060601081304.7A39.BQW10602@nifty.com>
2141 Revert bogus fix for bug #27940, which wasn't really a bug,
2142 and a new test item, as found and suggested by Sadahiro Tomoyuki.
2145 Subject: interpolation of @- (and @+) in patterns ([perl #27940] comes back)
2146 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2147 Date: Tue, 25 Jul 2006 00:15:50 +0900
2148 Message-Id: <20060725001517.3C5D.BQW10602@nifty.com>
2149 Branch: maint-5.8/perl
2150 !> pod/perlop.pod pp.c t/op/pat.t t/op/subst.t t/op/tr.t toke.c
2151 ____________________________________________________________________________
2152 [ 30007] By: nicholas on 2007/01/26 13:50:55
2155 Add Russ Allbery's public domain implementations of strlcat and
2156 strlcpy as Perl_my_strlcat and Perl_my_strlcpy to the Perl core.
2160 Change existing uses of strlcpy()/strlcat() to use new my_strlcpy()/
2161 my_strlcat() API. Convert ext/File/Glob/bsd_glob.c to use
2162 my_strlcat(). Add to the strlcy()/strlcat() todo entry.
2165 Convert some low hanging fruit to my_strlcpy/my_strlcat.
2168 Fix change #28533: my_strlcpy does not return the dest str!
2169 Branch: maint-5.8/perl
2170 !> doio.c embed.fnc embed.h ext/File/Glob/bsd_glob.c global.sym
2171 !> mg.c perl.h pp_ctl.c pp_sys.c proto.h toke.c util.c
2172 ____________________________________________________________________________
2173 [ 30006] By: nicholas on 2007/01/26 12:19:35
2176 stop PL_op and PL_curpad referring to different pads at start of doeval
2177 (this could make find_uninit_var do Bad Things)
2180 Fix a signed/unsigned warning
2183 Add a macro to remove duplicated code
2185 Subject: Re: cut-and-paste findings for blead 28504
2186 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2187 Date: Sun, 09 Jul 2006 13:47:04 +0900
2188 Message-Id: <20060709134236.E51A.BQW10602@nifty.com>
2191 Silence empty if-statement warning.
2194 Fix another empty if-statement warning
2197 Subject: [PATCH] Re: [perl #39634] gcc 3.3 has problems with __attribute__((unused))
2198 From: Andy Dougherty <doughera@lafayette.edu>
2199 Date: Mon, 10 Jul 2006 13:16:27 -0400 (EDT)
2200 Message-ID: <Pine.LNX.4.62.0607101312540.24708@fractal.phys.lafayette.edu>
2203 Clear up a few more warnings from blead.
2206 Subject: [PATCH] various safety/portability tweaks
2207 From: Jarkko Hietaniemi <jhi@iki.fi>
2208 Date: Sat, 15 Jul 2006 13:14:32 +0300
2209 Message-ID: <44B8C008.4030300@iki.fi>
2212 Subject: [PATCH] comment update for scan_const
2213 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2214 Date: Sat, 15 Jul 2006 20:16:01 +0900
2215 Message-Id: <20060715201552.9FA5.BQW10602@nifty.com>
2218 [PATCH] Re: [PATCH] various safety/portability tweaks
2219 From: Jarkko Hietaniemi <jhi@iki.fi>
2220 Date: Sat, 15 Jul 2006 22:15:29 +0300
2221 Message-ID: <44B93ED1.7080000@iki.fi>
2223 Fix for change #28578.
2224 Branch: maint-5.8/perl
2225 !> doio.c op.c perl.c perl.h pp_ctl.c pp_sort.c pp_sys.c reentr.c
2226 !> reentr.pl sv.c toke.c universal.c util.c
2227 ____________________________________________________________________________
2228 [ 30005] By: nicholas on 2007/01/26 12:01:34
2229 Log: Remove spurious PERL_UNUSED_ARG()s that somehow don't cause errors
2230 round here, but make cause all sorts of problems elsewhere.
2231 Branch: maint-5.8/perl
2233 ____________________________________________________________________________
2234 [ 30004] By: nicholas on 2007/01/26 11:57:08
2237 Subject: [PATCH] Clean up mathoms.c
2238 From: andy@petdance.com (Andy Lester)
2239 Date: Sun, 2 Jul 2006 12:24:45 -0500
2240 Message-ID: <20060702172445.GA20521@petdance.com>
2243 Subject: [PATCH] mg.c cleanups
2244 From: andy@petdance.com (Andy Lester)
2245 Date: Sun, 2 Jul 2006 12:33:36 -0500
2246 Message-ID: <20060702173336.GA20641@petdance.com>
2249 Subject: [PATCH] consting and localizing in universal.c
2250 From: andy@petdance.com (Andy Lester)
2251 Date: Mon, 3 Jul 2006 17:41:48 -0500
2252 Message-ID: <20060703224148.GA14449@petdance.com>
2253 Branch: maint-5.8/perl
2255 !> embed.fnc mg.c proto.h universal.c
2256 ____________________________________________________________________________
2257 [ 30003] By: nicholas on 2007/01/26 11:36:22
2260 Subject: [PATCH] Re: [perl #39530] printf: bad formatting of hexadecimal conversion of binary string using vector flag
2261 From: Dominic Dunlop <shouldbedomo@mac.com>
2262 Date: Tue, 20 Jun 2006 16:02:38 +0200
2263 Message-Id: <D223CF35-9AC3-4351-A0C9-F4E224AAC19E@mac.com>
2266 Subject: [PATCH] Re: [PATCH] Re: [perl #39530] printf: bad formatting of hexadecimal conversion of binary string using vector flag
2267 From: Dominic Dunlop <shouldbedomo@mac.com>
2268 Date: Tue, 20 Jun 2006 21:49:07 +0200
2269 Message-Id: <C48A3CD4-DDA5-43AD-8DDC-20375A187EFD@mac.com>
2270 Branch: maint-5.8/perl
2271 !> sv.c t/op/sprintf.t
2272 ____________________________________________________________________________
2273 [ 29999] By: nicholas on 2007/01/26 11:02:10
2279 Subject: [PATCH] <toke.c> isALNUM(*s) && *s != '_'
2280 From: "Dr.Ruud" <rvtol+news@isolution.nl>
2281 Date: Wed, 21 Jun 2006 01:58:19 +0200
2282 Message-ID: <20060621000237.24398.qmail@lists.develooper.com>
2285 Some CPP macro sanitization by Sadahiro Tomoyuki
2288 HASATTRIBUTE_UNUSED works for gcc-3.3, but not for g++-3.3
2289 Subject: Re: [PATCH] Re: [perl #39634] gcc 3.3 has problems with __attribute__((unused))
2290 From: Andrew Dougherty <doughera@lafayette.edu>
2291 Date: Thu, 29 Jun 2006 13:41:28 -0400 (EDT)
2292 Message-ID: <Pine.LNX.4.62.0606291327130.16718@fractal.phys.lafayette.edu>
2295 Fix a couple of compilation warnings
2298 PERL_UNUSED_CONTEXT is not enough to silence warnings when pTHXx
2302 Fix casting warnings related to snprintf/vsnprintf
2305 remove some unnecessary uses of WITH_THR
2308 Subject: [PATCH] toke.c consting and localizing
2309 From: andy@petdance.com (Andy Lester)
2310 Date: Mon, 3 Jul 2006 17:42:50 -0500
2311 Message-ID: <20060703224250.GA14481@petdance.com>
2312 Branch: maint-5.8/perl
2313 !> mg.c op.c perl.c perl.h regcomp.c toke.c utfebcdic.h util.c
2314 ____________________________________________________________________________
2315 [ 29997] By: nicholas on 2007/01/26 10:30:23
2318 Subject: [PATCH] Proper use of enums
2319 From: andy@petdance.com (Andy Lester)
2320 Date: Sun, 11 Jun 2006 22:44:34 -0500
2321 Message-ID: <20060612034434.GA21588@petdance.com>
2324 Subject: [PATCH] Static cleanup in pp_sort.c
2325 From: andy@petdance.com (Andy Lester)
2326 Date: Mon, 12 Jun 2006 08:59:34 -0500
2327 Message-ID: <20060612135934.GA2202@petdance.com>
2328 Branch: maint-5.8/perl
2329 !> embed.fnc embed.h gv.c op.c perlio.c pod/perlapi.pod pp.c
2330 !> pp_sort.c proto.h sv.c sv.h
2331 ____________________________________________________________________________
2332 [ 29996] By: nicholas on 2007/01/26 09:54:13
2335 Subject: [PATCH] Add error checks after execing PL_cshname or PL_sh_path
2336 From: "Jan Dubois" <jand@activestate.com>
2337 Date: Wed, 7 Jun 2006 15:53:02 -0700
2338 Message-ID: <002301c68a85$21aa7320$d045a8c0@candy>
2341 Mark the 1st argument to S_exec_failed as non null
2344 Subject: [perl #39365] Bug in toke.c (eval in subst)
2345 From: bcarter@gumdrop.flyinganvil.org (via RT) <perlbug-followup@perl.org>
2346 Date: Fri, 09 Jun 2006 02:08:44 -0700
2347 Message-ID: <rt-3.0.11-39365-134716.18.9775670722527@perl.org>
2349 plus a regression test.
2352 Change 28404 broke the construct s/foo/<<BAR/e. So, try to be more
2353 clever. If the right hand side of s///e contains a #, then maybe
2354 it's a comment, so add a \n after it. Obviously, this is fast, but
2355 won't cover all possible cases.
2356 Branch: maint-5.8/perl
2357 !> doio.c embed.fnc embed.h proto.h t/comp/parser.t toke.c
2358 ____________________________________________________________________________
2359 [ 29995] By: nicholas on 2007/01/26 09:31:24
2362 Subject: Re: [perl #39126] possible memory related bug when using sprintf with an utf-8 encoded format-string and iso-8859-1 encoded string variables.
2363 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2364 Date: Sun, 21 May 2006 19:33:21 +0900
2365 Message-Id: <20060521193259.81E5.BQW10602@nifty.com>
2367 with test tweaks further suggested by the same
2370 make require report too many open files error
2371 ie don't continue searching the rest of @INC
2374 Subject: [PATCH] exhausting <> in BEGIN{} gets ARGVOUT used only once warning
2375 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
2376 Date: Tue, 6 Jun 2006 22:24:46 -0700
2377 Message-ID: <20060607052446.GA3240@efn.org>
2378 Branch: maint-5.8/perl
2379 !> gv.c pp_ctl.c sv.c t/op/readline.t t/op/sprintf2.t
2380 ____________________________________________________________________________
2381 [ 29993] By: nicholas on 2007/01/26 09:15:17
2384 Subject: [PATCH] pp_sys cleanup again
2385 From: andy@petdance.com (Andy Lester)
2386 Date: Sat, 20 May 2006 16:20:20 -0500
2387 Message-ID: <20060520212020.GA30688@petdance.com>
2390 Subject: [PATCH] clean some lint findings
2391 From: andy@petdance.com (Andy Lester)
2392 Date: Sun, 21 May 2006 00:02:40 -0500
2393 Message-ID: <20060521050240.GA21051@petdance.com>
2396 Subject: [PATCH] Refactoring in av.c
2397 From: andy@petdance.com (Andy Lester)
2398 Date: Wed, 24 May 2006 00:16:40 -0500
2399 Message-ID: <20060524051640.GA4713@petdance.com>
2402 Subject: [PATCH] Accumulated toke.c cleanups
2403 From: andy@petdance.com (Andy Lester)
2404 Date: Tue, 6 Jun 2006 00:07:36 -0500
2405 Message-ID: <20060606050736.GA30291@petdance.com>
2408 Subject: [PATCH] more accumulated cleanups
2409 From: andy@petdance.com (Andy Lester)
2410 Date: Tue, 6 Jun 2006 00:25:01 -0500
2411 Message-ID: <20060606052501.GA30469@petdance.com>
2414 Subject: [PATCH] dump.c patches
2415 From: andy@petdance.com (Andy Lester)
2416 Date: Tue, 6 Jun 2006 10:01:37 -0500
2417 Message-ID: <20060606150137.GA4434@petdance.com>
2418 Branch: maint-5.8/perl
2420 !> av.c cop.h doio.c doop.c dump.c embed.fnc embed.h hv.c
2421 !> perlio.c pp_pack.c pp_sys.c proto.h toke.c utf8.c
2422 ____________________________________________________________________________
2423 [ 29988] By: nicholas on 2007/01/25 23:24:46
2426 Add a new macro SvVSTRING_mg that returns vstring magic, if any.
2427 SvVOK used to do that, in stealth mode, but now it returns a
2428 boolean like it used to. Patch suggested by John Peacock.
2429 Branch: maint-5.8/perl
2431 ____________________________________________________________________________
2432 [ 29986] By: nicholas on 2007/01/25 23:07:41
2435 [perl #32332] Perl segfaults; test case available
2436 sub f { s/$var/f()/e } could free the wrong RE
2439 eval { s/$foo/die/e } leaked a scalar
2440 Branch: maint-5.8/perl
2441 !> cop.h pp_ctl.c pp_hot.c
2442 ____________________________________________________________________________
2443 [ 29985] By: nicholas on 2007/01/25 22:55:28
2446 Subject: [PATCH] strange encodings upsets pp_chr
2447 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2448 Date: Sun, 14 May 2006 19:57:28 +0900
2449 Message-Id: <20060514195532.5422.BQW10602@nifty.com>
2452 Subject: Re: [perl #39145] win32, @_ and fork crashing in dounwind
2453 From: Dave Mitchell <davem@iabyn.com>
2454 Date: Wed, 17 May 2006 17:38:16 +0100
2455 Message-ID: <20060517163816.GN17109@iabyn.com>
2457 (Dave's fix, plus a test taken from [perl #39145])
2460 [perl #32041] SEGV with complicated regexp and long string
2461 PL_reg_maxiter was wrapping to a negative value
2462 Branch: maint-5.8/perl
2464 !> MANIFEST op.c pp.c regexec.c sv.c t/op/chr.t t/op/fork.t
2466 ____________________________________________________________________________
2467 [ 29984] By: nicholas on 2007/01/25 22:41:11
2470 Subject: Re: [PATCH] my_snprintf
2471 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2472 Date: Fri, 12 May 2006 22:28:49 +0300
2473 Message-ID: <4464E1F1.9010706@gmail.com>
2476 Subject: [PATCH] sv.c: printf %d wants int not size_t
2477 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2478 Message-Id: <200605130715.k4D7FWg3089581@kosh.hut.fi>
2479 Date: Sat, 13 May 2006 10:15:32 +0300 (EEST)
2482 Subject: Re: Change 28183 has broken 64-bit builds?
2483 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2484 Date: Wed, 17 May 2006 22:19:51 +0300
2485 Message-ID: <446B7757.8030301@gmail.com>
2488 Parenthesize uses of macro arguments
2491 Adjust calling of Perl_va_copy(), noticed by Jarkko
2494 Subject: [PATCH] Re: [PATCH] Re: Change 28183 has broken 64-bit builds?
2495 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2496 Date: Thu, 18 May 2006 22:44:14 +0300
2497 Message-ID: <446CCE8E.8010407@gmail.com>
2500 Perl_croak() needs an aTHX_ in PerlIO_vsprintf().
2503 Solaris was happy, but change 28247 removed the wrong dTHX as far as
2504 some other operating systems were concerned.
2507 The 'f' flag was missing for my_snprintf().
2508 Branch: maint-5.8/perl
2509 !> embed.fnc global.sym perl.h perlio.c pod/perlapi.pod pp_ctl.c
2510 !> proto.h regcomp.c sv.c toke.c universal.c util.c
2511 ____________________________________________________________________________
2512 [ 29982] By: nicholas on 2007/01/25 22:04:51
2515 Subject: [PATCH] PERL_MEM_LOG enhancements
2516 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2517 Date: Sat, 06 May 2006 11:21:02 +0300
2518 Message-ID: <445C5C6E.6070201@gmail.com>
2519 Branch: maint-5.8/perl
2521 ____________________________________________________________________________
2522 [ 29981] By: nicholas on 2007/01/25 21:31:37
2525 Subject: [PATCH] refactoring out S_regoptail
2526 From: andy@petdance.com (Andy Lester)
2527 Date: Sun, 14 May 2006 23:15:18 -0500
2528 Message-ID: <20060515041518.GA15745@petdance.com>
2531 Subject: [PATCH] Refactoring reghops
2532 From: andy@petdance.com (Andy Lester)
2533 Date: Mon, 15 May 2006 08:54:24 -0500
2534 Message-ID: <20060515135424.GA31585@petdance.com>
2537 Subject: Re: [PATCH] upgrade bytes_to_uni
2538 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2539 Date: Mon, 15 May 2006 22:39:58 +0900
2540 Message-Id: <20060515223901.F3B0.BQW10602@nifty.com>
2543 strlen(foo) rather than strchr(foo, 0) makes simpler code, and is
2544 likely to be a more efficient implementation.
2547 Subject: [PATCH] strlcat aaargh
2548 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2549 Date: Fri, 19 May 2006 20:44:46 +0300
2550 Message-ID: <446E040E.8030205@gmail.com>
2553 There is no STASH type.
2554 Branch: maint-5.8/perl
2555 !> doio.c embed.fnc embed.h perlio.c pp_pack.c proto.h regcomp.c
2557 ____________________________________________________________________________
2558 [ 29979] By: nicholas on 2007/01/25 21:01:25
2559 Log: Re-run embed.pl.
2560 Branch: maint-5.8/perl
2561 ! global.sym proto.h
2562 ____________________________________________________________________________
2563 [ 29978] By: nicholas on 2007/01/25 21:01:04
2564 Log: Fix 29976 (somehow I can't have run make test) - in maint there need to
2565 be push_return() and pop_return() wrapping the faked up eval for
2567 Branch: maint-5.8/perl
2569 ____________________________________________________________________________
2570 [ 29976] By: nicholas on 2007/01/25 17:25:09
2573 allow exit during fold_constants
2574 eg BEGIN { $SIG{__WARN__} = sub{exit};} "a" == "b"
2577 disable WARN and DIE hooks during constant folding
2578 Branch: maint-5.8/perl
2579 !> op.c t/comp/fold.t util.c warnings.h warnings.pl
2580 ____________________________________________________________________________
2581 [ 29974] By: nicholas on 2007/01/25 17:04:16
2584 Add a new hash key flag HVhek_UNSHARED, to mark all unshared hash keys.
2585 Otherwise Perl_newSVhek(), called by Perl_hv_iterkeysv(), naively
2586 assumes that it can share any hash key directly.
2589 Subject: [PATCH] microperl update
2590 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2591 Date: Wed, 03 May 2006 08:20:31 +0300
2592 Message-ID: <44583D9F.8060401@gmail.com>
2595 Subject: [PATCH] hv.c: do zeroing via mem wrap check
2596 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2597 Date: Tue, 2 May 2006 20:03:01 +0300 (EEST)
2598 Message-Id: <200605021703.k42H31PF216868@kosh.hut.fi>
2601 Subject: [PATCH] pp_sys.c: U8* cast
2602 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2603 Date: Tue, 2 May 2006 20:04:33 +0300 (EEST)
2604 Message-Id: <200605021704.k42H4XIh255652@kosh.hut.fi>
2607 Subject: [PATCH] clean up loops in doio.c and dump.c
2608 From: andy@petdance.com (Andy Lester)
2609 Date: Tue, 2 May 2006 13:38:15 -0500
2610 Message-ID: <20060502183815.GA7979@petdance.com>
2613 Subject: [PATCH] Remove an unnecessary goto
2614 From: andy@petdance.com (Andy Lester)
2615 Date: Wed, 3 May 2006 00:54:30 -0500
2616 Message-ID: <20060503055430.GA4922@petdance.com>
2619 Subject: [PATCH] more logic localizations
2620 From: andy@petdance.com (Andy Lester)
2621 Date: Tue, 11 Apr 2006 14:14:45 -0500
2622 Message-ID: <20060411191445.GA4938@petdance.com>
2625 Fix a logic error in conditional found by Coverity
2628 Fix another Coverity problem by adding an assert that says that
2629 some string we got from the lexer is null-terminated
2630 Branch: maint-5.8/perl
2632 !> Makefile.micro README.micro doio.c dump.c embed.fnc embed.h
2633 !> hv.h mg.c pp_sys.c proto.h sv.c uconfig.h uconfig.sh
2634 ____________________________________________________________________________
2635 [ 29971] By: nicholas on 2007/01/25 11:59:28
2638 De-duplicate the code that creates new GPs into Perl_newGP().
2640 [back out the gv.c part of:]
2642 We can get in the messy situation of the COP that PL_curcop pointed
2643 to getting freed, and as part of the same free overloading decides
2644 to look for DESTROY, which needs to *create* a GV, which in turn
2645 was expecting that PL_curcop pointed to something valid. So set
2646 PL_curcop to NULL if we're freeing the COP that it points to, and
2647 make Perl_gv_init() cope with a NULL PL_curcop.
2650 An implementation of change 29735 for blead (PL_curcop could be NULL)
2651 given that blead's refactoring is not yet in maint.
2654 Change 28058 hadn't been tested with -DPERL_CREATE_GVSV
2655 Branch: maint-5.8/perl
2657 !> embed.fnc embed.h proto.h scope.c
2658 ____________________________________________________________________________
2659 [ 29969] By: nicholas on 2007/01/25 10:55:58
2660 Log: Go away, stowaway file.
2661 Branch: maint-5.8/perl
2662 - ext/DynaLoader/dl_symbian.xs
2663 ____________________________________________________________________________
2664 [ 29968] By: nicholas on 2007/01/25 10:55:13
2667 Fix bug in DynaLoader, which has been passing a filename in dynamic
2668 storage to newXS() seemingly forever. This involves creating
2669 newXS_flags(), with the first flag being "arrange to copy the
2670 filename and free it at the right time".
2673 Change 28063 forgot 1 key line - acutally use the correct filename
2677 *static* pointers to newXSUB(), dammit!
2680 Plug a memory leak in newCONSTSUB
2681 Branch: maint-5.8/perl
2682 +> ext/DynaLoader/dl_symbian.xs
2683 !> XSUB.h cv.h embed.fnc embed.h ext/DynaLoader/dl_aix.xs
2684 !> ext/DynaLoader/dl_beos.xs ext/DynaLoader/dl_dld.xs
2685 !> ext/DynaLoader/dl_dllload.xs ext/DynaLoader/dl_dlopen.xs
2686 !> ext/DynaLoader/dl_dyld.xs ext/DynaLoader/dl_hpux.xs
2687 !> ext/DynaLoader/dl_mac.xs ext/DynaLoader/dl_mpeix.xs
2688 !> ext/DynaLoader/dl_next.xs ext/DynaLoader/dl_vmesa.xs
2689 !> ext/DynaLoader/dl_vms.xs op.c pod/perlapi.pod proto.h
2690 !> writemain.SH xsutils.c
2691 ____________________________________________________________________________
2692 [ 29967] By: nicholas on 2007/01/25 10:34:50
2695 Subject: [PATCH] More tweaking of SvREFCNT_inc calls
2696 From: andy@petdance.com (Andy Lester)
2697 Date: Sun, 30 Apr 2006 12:06:21 -0500
2698 Message-ID: <20060430170621.GA4054@petdance.com>
2701 Subject: [PATCH] quiet some perlio.c warnings
2702 From: andy@petdance.com (Andy Lester)
2703 Date: Sun, 30 Apr 2006 13:23:22 -0500
2704 Message-ID: <20060430182322.GA18064@petdance.com>
2707 Subject: [PATCH] Some more SvREFCNT_inc updates
2708 From: andy@petdance.com (Andy Lester)
2709 Date: Sun, 30 Apr 2006 13:24:14 -0500
2710 Message-ID: <20060430182414.GA18094@petdance.com>
2713 Subject: [PATCH] pp.c casting, take two
2714 From: andy@petdance.com (Andy Lester)
2715 Date: Sun, 30 Apr 2006 19:48:26 -0500
2716 Message-ID: <20060501004826.GA4744@petdance.com>
2718 (with adjustements, some of the code has already
2720 Branch: maint-5.8/perl
2721 !> cop.h mg.c perlio.c pp.c pp_ctl.c
2722 ____________________________________________________________________________
2723 [ 29966] By: nicholas on 2007/01/25 10:15:27
2724 Log: Correct the definition of S_vdie_common in mathoms.c
2725 Branch: maint-5.8/perl
2727 ____________________________________________________________________________
2728 [ 29965] By: nicholas on 2007/01/25 00:07:28
2731 Perl_pack_cat() is a mathom too!
2732 Branch: maint-5.8/perl
2733 !> mathoms.c pod/perlapi.pod pp_pack.c
2734 ____________________________________________________________________________
2735 [ 29964] By: nicholas on 2007/01/24 23:53:28
2738 Subject: [PATCH] reduce gcc -ansi -pedantic noise plus a suggestion
2739 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2740 Date: Fri, 28 Apr 2006 22:58:58 +0300
2741 Message-ID: <44527402.8000506@gmail.com>
2744 Subject: [PATCH] more -ansi -pedantic cleanliness
2745 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
2746 Date: Sat, 29 Apr 2006 11:13:24 +0300
2747 Message-ID: <44532024.9070303@gmail.com>
2750 Clean up a few warnings in regcomp.c under -Dgccansipedantic.
2753 Fix code before declaration error introduced by #28405
2754 Branch: maint-5.8/perl
2756 !> cop.h doio.c gv.c hv.c op.c pad.c perl.c perl.h pp.c pp_ctl.c
2757 !> pp_hot.c pp_pack.c pp_sort.c pp_sys.c regcomp.c regexec.c
2758 !> toke.c universal.c utf8.c
2759 ____________________________________________________________________________
2760 [ 29963] By: nicholas on 2007/01/24 23:24:03
2763 Subject: [PATCH] Removing unused context
2764 From: andy@petdance.com (Andy Lester)
2765 Date: Thu, 27 Apr 2006 00:32:15 -0500
2766 Message-ID: <20060427053215.GA31445@petdance.com>
2769 Subject: [PATCH] Removing another context parm
2770 From: andy@petdance.com (Andy Lester)
2771 Date: Thu, 27 Apr 2006 10:31:56 -0500
2772 Message-ID: <20060427153156.GA11445@petdance.com>
2775 Coverity disliked us passing a negative length to vsnprintf().
2778 remove a compiler warning by making HOPBACKc only hop *back*
2781 Replace a STRLEN no_len; with a _nolen macro call.
2784 Reverting context removal from change #27992. This should
2785 clear up threaded builds on Win32 and VMS.
2788 Subject: [PATCH] toke.c: function pointer to data pointer
2789 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
2790 Date: Tue, 2 May 2006 08:25:55 +0300 (EEST)
2791 Message-Id: <200605020525.k425Ptik165705@kosh.hut.fi>
2792 Branch: maint-5.8/perl
2794 !> embed.fnc embed.h perlio.c pp_ctl.c pp_pack.c regexec.c sv.c
2796 ____________________________________________________________________________
2797 [ 29962] By: nicholas on 2007/01/24 22:51:14
2800 Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
2801 From: Marcus Holland-Moritz <mhx-perl@gmx.net>
2802 Date: Mon, 24 Apr 2006 23:20:38 +0200
2803 Message-ID: <20060424232038.7550f9b6@r2d2>
2804 Branch: maint-5.8/perl
2805 !> deb.c doio.c doop.c dump.c gv.c handy.h mg.c op.c patchlevel.h
2806 !> perl.c perlio.c pp.c pp_ctl.c pp_hot.c pp_sys.c regcomp.c
2807 !> regexec.c scope.h sv.c toke.c util.c
2808 ____________________________________________________________________________
2809 [ 29961] By: nicholas on 2007/01/24 22:12:24
2812 Subject: [perl #38475] attribute multiline fix (in tokenizer)
2813 From: bas@quarantainenet.nl (via RT) <perlbug-followup@perl.org>
2814 Date: Thu, 09 Feb 2006 06:33:51 -0800
2815 Message-ID: <rt-3.0.11-38475-129844.11.5904582303176@perl.org>
2818 Add regression test for bug #38475
2821 [perl #39012] another REIFY bug
2822 Branch: maint-5.8/perl
2824 !> MANIFEST scope.c t/op/local.t toke.c
2825 ____________________________________________________________________________
2826 [ 29959] By: nicholas on 2007/01/24 20:33:04
2829 A couple of casts to PADOFFSET.
2831 Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
2832 From: Marcus Holland-Moritz <mhx-perl@gmx.net>
2833 Date: Sun, 23 Apr 2006 04:47:04 +0200
2834 Message-ID: <20060423044704.6a383ee8@r2d2>
2837 Coverity has started to notice another inconsistency in our NULL
2839 Branch: maint-5.8/perl
2840 !> op.c pad.c pp.c pp_ctl.c toke.c
2841 ____________________________________________________________________________
2842 [ 29958] By: nicholas on 2007/01/24 19:49:21
2845 Subject: [PATCH] doop.c consting, take 2
2846 From: andy@petdance.com (Andy Lester)
2847 Date: Sun, 23 Apr 2006 20:45:09 -0500
2848 Message-ID: <20060424014509.GA29642@petdance.com>
2851 Subject: [PATCH] use NOOP macro
2852 From: andy@petdance.com (Andy Lester)
2853 Date: Mon, 24 Apr 2006 13:44:51 -0500
2854 Message-ID: <20060424184451.GA1479@petdance.com>
2855 Branch: maint-5.8/perl
2856 !> doop.c embed.fnc gv.c gv.h hv.c op.c pad.c perl.h perlio.c
2857 !> pp.c pp_ctl.c pp_hot.c proto.h regcomp.c regexec.c sv.c toke.c
2859 ____________________________________________________________________________
2860 [ 29957] By: nicholas on 2007/01/24 19:17:41
2863 Subject: [PATCH] regexec consting & localizing
2864 From: andy@petdance.com (Andy Lester)
2865 Date: Wed, 19 Apr 2006 12:35:43 -0500
2866 Message-ID: <20060419173543.GA8268@petdance.com>
2869 regmatch(): replace magic value -1000 with symbolic CHRTEST_VOID
2870 Branch: maint-5.8/perl
2872 ____________________________________________________________________________
2873 [ 29955] By: nicholas on 2007/01/24 18:58:36
2876 Calling cv_undef() on the CV created by newCONSTSUB() would leak like
2877 a Jumblie's preferred maritime craft. To free CvFILE for this case,
2878 take advantage of the 0 length prototype that will also be there,
2879 and hang it from the prototype. To do this properly means changing
2880 code to actually pay attention to SvCUR() on prototypes. It turns out
2881 that we always know the length of the prototype string, so this may
2882 be faster. Certainly, it's a memory saving (even ignoring the leak).
2885 Avoid temporarily writing over the prototype when reporting an error.
2886 (And beef up the relevant tests to really check that it all works).
2889 Oops. Need a macro to convert cv_ckproto() to cv_ckproto_len().
2892 newCONSTSUB needs to be robust in case CopFILE is NULL.
2895 Wrap the macro arguments for ck_proto in ().
2896 Branch: maint-5.8/perl
2898 !> dump.c embed.fnc embed.h global.sym mathoms.c op.c
2899 !> pod/perlapi.pod proto.h sv.c t/comp/proto.t util.c
2900 ____________________________________________________________________________
2901 [ 29953] By: nicholas on 2007/01/24 17:01:34
2904 Remove SAVEt_FREESHAREDPV, as nothing is using it, and it isn't catered
2905 for in Perl_ss_dup, hence nothing is testing it and nothing will alert
2909 Add Dave's explainations of why certain pointers are always non-NULL,
2910 and assert() that it is true.
2913 Subject: [PATCH] (tentative) regcomp.c: try convincing Coverity that data ptr in study_chunk is non-NULL when needed
2914 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
2915 Message-Id: <20060416092648.812D36CF2D@aprikoosi.hut.fi>
2916 Date: Sun, 16 Apr 2006 12:26:48 +0300 (EEST)
2919 Revert 27869 at Jarkko's request.
2920 Branch: maint-5.8/perl
2922 !> regcomp.c scope.c scope.h
2923 ____________________________________________________________________________
2924 [ 29952] By: nicholas on 2007/01/24 16:46:32
2927 Subject: Re: [PATCH] update to pp_complement() via Coverity
2928 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2929 Message-Id: <20060416184044.4ADB.BQW10602@nifty.com>
2930 Date: Sun, 16 Apr 2006 18:45:37 +0900
2932 Subject: Re: [PATCH] update to pp_complement() via Coverity
2933 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
2934 Message-Id: <20060417230614.20A5.BQW10602@nifty.com>
2935 Date: Mon, 17 Apr 2006 23:06:21 +0900
2938 Coverity is upset about a signed int in ext/Filter/Util/Call/Call.xs,
2939 but the real problem is down in Perl_filter_read() in toke.c.
2942 Coverity insists that if we deference a pointer without checking, and
2943 subsequently check that same pointer before deferencing it, something
2944 in our code or our logic is bogus. So assert() that it's safe the
2945 first time and remove the second check.
2948 Fix compilation of microperl, which doesn't have INT_MAX.
2951 Replace some Copy() by Move() calls, because valgrind reports
2952 we can have overlapping memory areas here
2955 Subject: [PATCH] Localizing vars
2956 From: andy@petdance.com (Andy Lester)
2957 Date: Wed, 19 Apr 2006 23:44:01 -0500
2958 Message-ID: <20060420044401.GA2792@petdance.com>
2961 Subject: [PATCH] op_type shrinking
2962 From: andy@petdance.com (Andy Lester)
2963 Date: Wed, 19 Apr 2006 23:16:53 -0500
2964 Message-ID: <20060420041653.GA28523@petdance.com>
2965 Branch: maint-5.8/perl
2966 !> doop.c dump.c pp.c regcomp.c sv.c t/op/bop.t toke.c util.c
2967 ____________________________________________________________________________
2968 [ 29951] By: nicholas on 2007/01/24 16:24:04
2971 Merge sv_usepvn and sv_usepvn_mg into sv_usepvn_flags. "Promote" the
2972 other two to mathoms.c
2975 Provide a new flag for sv_usepvn_flags, SV_HAS_TRAILING_NUL, which
2976 signals that the buffer passed in is already well-formed for use as
2977 SvPVX (i.e. it is followed by a trailing NUL), and hence the realloc()
2978 to add a NUL can be skipped.
2981 In Perl_sv_usepvn_flags, assert() that the caller has RTFM.
2984 Perl_do_vop can profitably use Perl_sv_usepvn_flags, as it has
2985 allocated space for an initialised a trailing NUL.
2988 Stray pod/perlapi.pod change found after a regen.
2991 Fix bug introduced with change 27841. (len + 1, not just len).
2992 Branch: maint-5.8/perl
2993 !> doop.c embed.fnc embed.h global.sym mathoms.c pod/perlapi.pod
2994 !> pp.c proto.h sv.c sv.h
2995 ____________________________________________________________________________
2996 [ 29950] By: nicholas on 2007/01/24 15:42:09
2999 Subject: [PATCH] doop.c: (Coverity) found a bug but not quite what Coverity thought it did (try valgrind on the new bop.t without the doop.c patch)
3000 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3001 Date: Thu, 13 Apr 2006 19:20:46 +0300 (EEST)
3002 Message-Id: <20060413162046.5F9636D08C@ugli.hut.fi>
3005 The danger of piping an mbox to patch is that it contains more than
3006 one message. So both:
3008 Subject: [PATCH] doop.c: one more code path where memory could leak (Coverity)
3009 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3010 Message-Id: <20060416081925.680336CF2D@aprikoosi.hut.fi>
3011 Date: Sun, 16 Apr 2006 11:19:25 +0300 (EEST)
3015 Subject: [PATCH] doop.c: one more code path where memory could leak (Coverity)
3016 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3017 Message-Id: <20060416081925.680336CF2D@aprikoosi.hut.fi>
3018 Date: Sun, 16 Apr 2006 11:19:25 +0300 (EEST)
3024 Subject: [PATCH] dooop.c: the strong asserts in Sv* macros could cause memory leakage -- move the macro calls earlier (Coverity CID 84)
3025 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3026 Message-Id: <20060417071937.C13346CF2D@aprikoosi.hut.fi>
3027 Date: Mon, 17 Apr 2006 10:19:37 +0300 (EEST)
3030 Coverity still thinks that there is a route through do_vop that can
3031 leak resources. I believe that it's spotted that you can skip all the
3032 cases in the switch. Plug that hole.
3033 Branch: maint-5.8/perl
3034 !> doop.c pod/perlapi.pod sv.c t/op/bop.t
3035 ____________________________________________________________________________
3036 [ 29949] By: nicholas on 2007/01/24 15:28:38
3039 Subject: [PATCH] Random accumulated patches
3040 From: andy@petdance.com (Andy Lester)
3041 Date: Thu, 30 Mar 2006 23:42:28 -0600
3042 Message-ID: <20060331054228.GA18940@petdance.com>
3044 [somehow the perl.h patch got missed]
3047 Subject: [PATCH]es: quiet some warnings (with a free AIX cpp insanity avoidance tip)
3048 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
3049 Message-ID: <44375F23.6030900@gmail.com>
3050 Date: Sat, 08 Apr 2006 09:58:43 +0300
3053 Subject: [PATCH] Quiet a coverity problem
3054 From: andy@petdance.com (Andy Lester)
3055 Date: Mon, 10 Apr 2006 23:51:50 -0500
3056 Message-ID: <20060411045150.GA1422@petdance.com>
3059 Stop Perl_newSVpvn_share() potentially leaking the return result from
3063 Subject: [PATCH] locale.c: more Safefree() (Coverity finding)
3064 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3065 Message-Id: <200604111908.k3BJ8ewn030950@kosh.hut.fi>
3066 Date: Tue, 11 Apr 2006 22:08:40 +0300 (EEST)
3069 Subject: [PATCH] perlio.c: false Coverity finding (it cannot see that two pointers are the same): but help Coverity by removing the temp ptr
3070 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3071 Message-Id: <200604112039.k3BKdWix334525@kosh.hut.fi>
3072 Date: Tue, 11 Apr 2006 23:39:32 +0300 (EEST)
3075 Subject: [PATCH] regcomp.c (try II): use &PL_sv_undef for listsv as suggested by Nick
3076 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3077 Message-Id: <200604112053.k3BKrPgk310001@kosh.hut.fi>
3078 Date: Tue, 11 Apr 2006 23:53:25 +0300 (EEST)
3081 Subject: [PATCH] regexec.c: move NULL check earlier to make Coverity happier
3082 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3083 Message-Id: <200604112004.k3BK4mV3097400@kosh.hut.fi>
3084 Date: Tue, 11 Apr 2006 23:04:48 +0300 (EEST)
3087 Subject: [PATCH] Handle null io in leavewrite (not possible?) (Coverity)
3088 From: bah@longitude.com
3089 Message-ID: <1661.38.96.138.153.1145124821.squirrel@mail.longitude.com>
3090 Date: Sat, 15 Apr 2006 14:13:41 -0400 (EDT)
3093 Subject: [PATCH] update to pp_complement() via Coverity
3094 From: andy@petdance.com (Andy Lester)
3095 Date: Sun, 16 Apr 2006 00:14:23 -0500
3096 Message-ID: <20060416051423.GA17063@petdance.com>
3099 Coverity notes that we might be dereferencing fgv before a check that
3100 it's not NULL. In fact, the code ordering meant that one "if (fgv)"
3101 would always be true. So fix this.
3104 Add assertions to cover cases where the Coverity scanner thinks we
3105 could are deferencing a NULL pointer, but we think it missed something
3106 it should have been capable of figuring out.
3109 Note in av_store() that S_regclass relies on being able to pass NULL.
3110 Branch: maint-5.8/perl
3111 !> av.c hv.c locale.c op.c pad.h perl.h perlio.c pp.c pp_sys.c
3112 !> regcomp.c regexec.c sv.c
3113 ____________________________________________________________________________
3114 [ 29948] By: nicholas on 2007/01/24 15:13:14
3117 Subject: [PATCH] True consting goodness in regexes
3118 From: andy@petdance.com (Andy Lester)
3119 Date: Mon, 10 Apr 2006 02:15:58 -0500
3120 Message-Id: <20060410071558.GA24756@petdance.com>
3123 All S_dumpuntil()'s regnode pointer arguments can be const.
3124 Branch: maint-5.8/perl
3126 !> embed.fnc regexec.c
3127 ____________________________________________________________________________
3128 [ 29947] By: nicholas on 2007/01/24 13:54:09
3131 Subject: [PATCH] Rename variables in some mg_* funcs
3132 From: andy@petdance.com (Andy Lester)
3133 Date: Sun, 9 Apr 2006 00:20:12 -0500
3134 Message-ID: <20060409052012.GA15887@petdance.com>
3137 Subject: [PATCH] Removed unused var in a macro
3138 From: andy@petdance.com (Andy Lester)
3139 Date: Sat, 15 Apr 2006 23:32:53 -0500
3140 Message-ID: <20060416043253.GA3438@petdance.com>
3143 Subject: [PATCH] clean up hv_assert()
3144 From: andy@petdance.com (Andy Lester)
3145 Date: Sat, 15 Apr 2006 23:18:27 -0500
3146 Message-ID: <20060416041827.GA3031@petdance.com>
3149 Subject: [PATCH] dump.c patch redux
3150 From: andy@petdance.com (Andy Lester)
3151 Date: Sun, 16 Apr 2006 00:29:36 -0500
3152 Message-ID: <20060416052936.GA19143@petdance.com>
3155 Subject: [PATCH] op.c patch, 2nd version
3156 From: andy@petdance.com (Andy Lester)
3157 Message-ID: <20060415042924.GA1786@petdance.com>
3158 Date: Fri, 14 Apr 2006 23:29:24 -0500
3161 Subject: [PATCH] pp_ctl.c caching
3162 From: andy@petdance.com (Andy Lester)
3163 Message-ID: <20060417044035.GA28818@petdance.com>
3164 Date: Sun, 16 Apr 2006 23:40:35 -0500
3165 Branch: maint-5.8/perl
3166 !> dump.c embed.fnc embed.h hv.c mg.c op.c pp_ctl.c proto.h
3168 ____________________________________________________________________________
3169 [ 29946] By: nicholas on 2007/01/24 13:23:35
3172 Subject: [PATCH] sv.c, rs.t, perlvar.pod (Coverity finding: did you know what happens with $/=\0?)
3173 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3174 Message-Id: <20060408152533.C4D5F6D08C@ugli.hut.fi>
3175 Date: Sat, 8 Apr 2006 18:25:33 +0300 (EEST)
3177 (although I should add that this version of Coverity is actually
3178 raising a false positive here, albeit something still interesting)
3181 Subject: [PATCH] regexec.c: (Coverity) move NULL check even earlier
3182 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3183 Message-Id: <200604131239.k3DCdXhe124107@kosh.hut.fi>
3184 Date: Thu, 13 Apr 2006 15:39:33 +0300 (EEST)
3187 Subject: [PATCH] regexec.c: (Coverity) add NULL check
3188 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
3189 Message-Id: <200604131252.k3DCqFUL497781@kosh.hut.fi>
3190 Date: Thu, 13 Apr 2006 15:52:15 +0300 (EEST)
3193 Add another NULL check thanks to Coverity.
3194 Branch: maint-5.8/perl
3195 !> pod/perlvar.pod regexec.c sv.c t/base/rs.t
3196 ____________________________________________________________________________
3197 [ 29945] By: nicholas on 2007/01/24 13:04:13
3200 Subject: [PATCH] Data::Dumper consting
3201 From: Andy Lester <andy@petdance.com>
3202 Date: Sun, 19 Mar 2006 01:22:04 -0600
3203 Message-ID: <20060319072204.GB5596@petdance.com>
3204 Branch: maint-5.8/perl
3205 !> ext/Data/Dumper/Dumper.xs
3206 ____________________________________________________________________________
3207 [ 29944] By: nicholas on 2007/01/24 12:25:33
3210 ss_dup of SAVEt_COP_ARYBASE can use the same code as SAVEt_I8.
3213 As av_dup, gv_dup and hv_dup are the same as sv_dup, code in various
3214 branches of Perl_ss_dup() is actually duplicated, so can be merged.
3217 Fix pointer error in change 27741, spotted by John E. Malmberg.
3220 Merge cases in Perl_ss_dup().
3221 Branch: maint-5.8/perl
3223 ____________________________________________________________________________
3224 [ 29943] By: nicholas on 2007/01/24 12:06:54
3227 Subject: [PATCH] Re: [perl #38779] NAN's on Win32
3228 From: Dominic Dunlop <shouldbedomo@mac.com>
3229 Date: Wed, 22 Mar 2006 15:18:33 +0100
3230 Message-Id: <E44A2151-DE7F-4C5D-8A4B-DDA0412229C2@mac.com>
3233 Subject: RE: [PATCH, no, really!] Re: [perl #38779] NAN's on Win32
3234 From: "Jan Dubois" <jand@ActiveState.com>
3235 Date: Wed, 22 Mar 2006 22:49:11 -0800
3236 Message-ID: <060201c64e45$e4ca7020$2217a8c0@candy>
3238 Also, back out change #27567.
3241 Further adjustement to change #27576 by Jan Dubois
3242 (this change being blead-specific, while #27576 is
3243 integrable to maint)
3246 Fix bug #38815 (localising keys which are UTF-8 encoded didn't delete
3247 them correctly on scope exit)
3250 Localising hash slices with UTF-8 encoded keys was also buggy.
3251 (See also change 27637)
3254 Subject: revisited: pow.t test failures on AIX 5.1 perl588 with -Duselongdouble
3255 From: "John L. Allen" <allen@grumman.com>
3256 Date: Thu, 30 Mar 2006 17:53:13 -0500 (EST)
3257 Message-ID: <Pine.GSO.4.53.0603301710140.24672@gateway.northropgrumman.com>
3260 Assigning undef to an entry in %ENV shouldn't produce warnings, even
3261 though it's silently converted to ""
3264 Subject: Re: Smoke [5.9.4] 27728 FAIL(F) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
3265 From: Rafael Garcia-Suarez <rgarciasuarez@mandriva.com>
3266 Date: Thu, 6 Apr 2006 14:32:50 +0200
3267 Message-ID: <20060406143250.5a7de4b8@grubert.mandriva.com>
3270 Make perl_fini() run when compiling perl with
3271 the Sun WorkShop compiler.
3274 Subject: [PATCH] pp_sys.c: some Coverity findings: NULL guards for format cv
3275 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3276 Message-Id: <20060408155541.46B796D08C@ugli.hut.fi>
3277 Date: Sat, 8 Apr 2006 18:55:41 +0300 (EEST)
3280 Perl_unsharepvn() was no longer being used in core, and changes to
3281 S_unshare_hek_or_pvn() had broken it. Now fixed and tested.
3282 Branch: maint-5.8/perl
3283 !> README.win32 ext/XS/APItest/APItest.xs ext/XS/APItest/t/hash.t
3284 !> hv.c mg.c perl.c pp.c pp_hot.c pp_sys.c scope.c sv.c
3285 !> t/lib/warnings/mg t/op/local.t t/op/write.t win32/win32.h
3286 ____________________________________________________________________________
3287 [ 29939] By: nicholas on 2007/01/23 23:38:58
3290 Additional tests for RT #38207: "Useless localization of constant ($[)
3294 Subject: [perl #38710] localised stash slice
3295 From: Hugo van der Sanden (via RT) <perlbug-followup@perl.org>
3296 Date: Sat, 11 Mar 2006 02:47:56 -0800
3297 Message-ID: <rt-3.0.11-38710-131000.18.015529928953@perl.org>
3302 Subject: [PATCH blead] Re: [perl #38710] localised stash slice
3303 From: Rick Delaney <rick@bort.ca>
3304 Date: Sat, 18 Mar 2006 19:52:11 -0500
3305 Message-ID: <20060319005211.GM25733@localhost.localdomain>
3307 One can now localize slices.
3310 Add lib to @INC so that ./perl t/op/local.t works.
3311 Branch: maint-5.8/perl
3312 !> pp.c t/op/local.t
3313 ____________________________________________________________________________
3314 [ 29929] By: nicholas on 2007/01/22 23:29:42
3317 Abstract all the accesses to cop_arybase (apart from ByteLoader)
3320 Convert ByteLoader to use CopARYBASE_set().
3323 Abstract all reads/writes of the hints in COPs with 2 new macros,
3324 CopHINTS_get() and CopHINTS_set().
3327 Change 27677 missed two direct accesses to op_private in COPs.
3328 I believe that all are now found, as redefining CopHINTS_get(c)
3329 to (~(c)->op_private) (with corresponding changes to CopHINTS_set()
3330 and the initialisation of PL_compiling) works.
3331 Branch: maint-5.8/perl
3332 !> bytecode.pl cop.h ext/B/B.xs ext/ByteLoader/bytecode.h
3333 !> ext/ByteLoader/byterun.c mg.c op.c perl.h pp.c pp_ctl.c
3334 !> pp_hot.c scope.c scope.h toke.c utf8.c utf8.h
3335 ____________________________________________________________________________
3336 [ 29928] By: nicholas on 2007/01/22 23:12:43
3339 Subject: re-[PATCH] Re: [PATCH] Poison now in two different flavours!
3340 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
3341 Date: Sun, 26 Mar 2006 14:53:56 +0300
3342 Message-ID: <442680D4.3000809@gmail.com>
3345 Newxz() can use calloc() rather than malloc(), as the implementation
3346 of calloc() may know that it has fresh pages from the OS, and so
3347 doesn't need to zero them itself. Plus our object code should be
3351 Document PoisonFree() instead of documenting Poison() twice.
3353 plus revert change 26776 now that PERL_MEM_LOG is merged:
3355 Steve Hay notes that there's a reference PERL_MEM_LOG here, which is
3356 inconsistent as PERL_MEM_LOG isn't (yet) merged to maint.
3357 Branch: maint-5.8/perl
3358 ! pod/perldebguts.pod
3359 !> handy.h pod/perlapi.pod pod/perlclib.pod pod/perlhack.pod
3360 !> pp_ctl.c scope.c util.c
3361 ____________________________________________________________________________
3362 [ 29927] By: nicholas on 2007/01/22 23:11:29
3365 Subject: [PATCH] Move conditional SOCKS5 code into #ifdefs
3366 From: andy@petdance.com (Andy Lester)
3367 Date: Mon, 3 Apr 2006 08:28:18 -0500
3368 Message-ID: <20060403132818.GA7820@petdance.com>
3371 Subject: perlio.c breaks on Solaris/gcc when > 256 FDs are available
3372 From: Alan Burlison <Alan.Burlison@sun.com>
3373 Date: Wed, 05 Apr 2006 15:52:14 +0100
3374 Message-ID: <4433D99E.40800@sun.com>
3377 Subject: [PATCH] perlio.c: Coverity finding: finding false (Coverity not able to follow vtable logic) but adding an assert
3378 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3379 Message-Id: <20060408161136.CEAC86D08C@ugli.hut.fi>
3380 Date: Sat, 8 Apr 2006 19:11:36 +0300 (EEST)
3383 Subject: Re: [PATCH] perlio.c: Coverity finding: finding false (Coverity notable to follow vtable logic) but adding an assert
3384 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
3385 Date: Sun, 09 Apr 2006 10:18:52 +0300
3386 Message-ID: <4438B55C.9010604@gmail.com>
3389 Subject: [PATCH] perlio.c: (Coverity) eliminate temp ptr that confuses Coverity into thinking there is a resource leak
3390 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3391 Message-Id: <20060414085644.94A076D08C@ugli.hut.fi>
3392 Date: Fri, 14 Apr 2006 11:56:44 +0300 (EEST)
3395 Subject: [PATCH] perlio.c: layer data might be allocated and unused (Coverity)
3396 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3397 Message-Id: <20060415082417.24F0A6D08C@ugli.hut.fi>
3398 Date: Sat, 15 Apr 2006 11:24:17 +0300 (EEST)
3401 Branch: maint-5.8/perl
3403 ____________________________________________________________________________
3404 [ 29926] By: nicholas on 2007/01/22 22:47:32
3407 Provide Perl_gv_name_set to replace LVALUE use of GvNAME and GvNAMESET.
3410 Perl_gv_name_set should not leak the old HEK. Allow the flag GV_ADD
3411 to simplify GV initialisation.
3412 Branch: maint-5.8/perl
3414 !> embed.fnc embed.h global.sym gv.c gv.h sv.c
3415 ____________________________________________________________________________
3416 [ 29925] By: nicholas on 2007/01/22 22:10:59
3419 Subject: [PATCH] Clean up regexec.c, and remove two functions
3420 From: andy@petdance.com (Andy Lester)
3421 Date: Wed, 29 Mar 2006 10:13:36 -0600
3422 Message-ID: <20060329161336.GA12456@petdance.com>
3425 Subject: [PATCH] Random accumulated patches
3426 From: andy@petdance.com (Andy Lester)
3427 Date: Thu, 30 Mar 2006 23:42:28 -0600
3428 Message-ID: <20060331054228.GA18940@petdance.com>
3431 Subject: [PATCH] Redo PERL_UNUSED_DECL
3432 From: andy@petdance.com (Andy Lester)
3433 Date: Fri, 31 Mar 2006 00:54:58 -0600
3434 Message-ID: <20060331065458.GA28571@petdance.com>
3437 Updated version of the grumpy comment deleted by change #27649,
3441 Inconsistencies in paramter const-ness noticed by SADAHIRO Tomoyuki.
3444 Subject: [PATCH] Removed unnecessary pointers checks
3445 From: andy@petdance.com (Andy Lester)
3446 Date: Sat, 1 Apr 2006 01:01:32 -0600
3447 Message-ID: <20060401070132.GA6616@petdance.com>
3450 Patch from Jarkko to fix breakage caused by change #27649
3451 see: http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-04/msg00144.html
3452 Branch: maint-5.8/perl
3453 ! pp_hot.c pp_sort.c
3454 !> cop.h doio.c dump.c embed.fnc embed.h gv.c gv.h hv.c malloc.c
3455 !> mg.c op.c perl.c perl.h pp.c pp_ctl.c proto.h regcomp.c
3456 !> regexec.c sv.c sv.h toke.c utf8.c
3457 ____________________________________________________________________________
3458 [ 29924] By: nicholas on 2007/01/22 20:22:04
3461 Merge the cut & paste code from Perl_call_sv/Perl_fold_constants with
3462 the near identical code in pp_entertry into Perl_create_eval_scope.
3463 Move the cut & paste code from Perl_call_sv/Perl_fold_constants into
3464 Perl_delete_eval_scope.
3467 Remove duplicate assignment to PL_eval_root in Perl_create_eval_scope
3468 Branch: maint-5.8/perl
3470 !> cop.h embed.fnc embed.h ext/B/t/concise-xs.t op.c proto.h
3471 ____________________________________________________________________________
3472 [ 29920] By: nicholas on 2007/01/22 19:20:43
3475 If the passed in target rv for Perl_newSVrv() was already a reference
3476 to something, it would leak the reference count on that thing.
3479 'SvIOK(sv) ? SvIVX(sv) : sv_2iv(sv)' is 'SvIV(sv)' so write it as such.
3482 Take splint into account for PERL_UNUSED_ARG (patch by Jarkko)
3485 Initializing variables is good. This is another Coverity catch.
3488 Try not to use negative values when accessing arrays in C. Yet another
3492 Perl_save_alloc can use the new(er) SSGROW rather than looping.
3495 Subject: Re: [PATCH] locale.c: Coverity finding
3496 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
3497 Date: Sun, 09 Apr 2006 10:31:32 +0300
3498 Message-ID: <4438B854.6040301@gmail.com>
3501 Subject: [PATCH] pp_sys.c: some Coverity findings: NULL guards for io pointers
3502 From: jhi@cc.hut.fi (Jarkko Hietaniemi)
3503 Message-Id: <20060408155232.4C9726D08C@ugli.hut.fi>
3504 Date: Sat, 8 Apr 2006 18:52:32 +0300 (EEST)
3507 Subject: [PATCH] Fix coverity warning in utf8.c
3508 From: Andy Dougherty <doughera@lafayette.edu>
3509 Date: Mon, 10 Apr 2006 11:18:35 -0400 (EDT)
3510 Message-ID: <Pine.SOC.4.62.0604101117450.22851@maxwell.phys.lafayette.edu>
3511 Branch: maint-5.8/perl
3512 !> XSUB.h locale.c mg.c perl.h pp_sys.c scope.c sv.c utf8.c
3514 ____________________________________________________________________________
3515 [ 29919] By: nicholas on 2007/01/22 18:47:36
3518 Add S_space_join_names_mortal() which joins a char** array with " "s,
3519 replacing 5 instances of the same code.
3522 Replace all sv_mortalcopy(&PL_sv_no); sv_set*(...) with
3523 sv2mortal(newSV*(...)) to avoid needless upgrades to PVNV and needless
3524 allocation of a copy of "".
3525 Branch: maint-5.8/perl
3526 !> embed.fnc embed.h pp_sys.c proto.h
3527 ____________________________________________________________________________
3528 [ 29918] By: nicholas on 2007/01/22 17:29:45
3529 Log: Update Changes.
3530 Branch: maint-5.8/perl
3531 ! Changes patchlevel.h
3532 ____________________________________________________________________________
3533 [ 29916] By: nicholas on 2007/01/22 16:26:58
3536 reduce S_regrepeat_hard() callers from 3 to 1
3539 inline, then delete, S_regrepeat_hard()
3542 Restore a bit of change 27533 that change 27534 inadvertently unwound.
3545 remove idential code branch from regmatch()
3546 Branch: maint-5.8/perl
3547 !> embed.fnc embed.h proto.h regexec.c
3548 ____________________________________________________________________________
3549 [ 29915] By: nicholas on 2007/01/22 15:49:59
3552 sv_find() returning false, followed by sv_magic() to add the magic,
3553 followed immediately by sv_find() to find it, is somewhat wasteful.
3554 So use sv_magicext(). (All cases are also correct w.r.t. SvREADONLY())
3557 Subject: [PATCH] Change the semantics of S_isa_lookup
3558 From: Andy Lester <andy@petdance.com>
3559 Date: Sat, 18 Mar 2006 00:28:45 -0600
3560 Message-ID: <20060318062845.GA11607@petdance.com>
3563 If the scalar has just been upgraded to SVt_RV, there's no way SvPVX
3564 can be non-NULL, so no need to check.
3565 Branch: maint-5.8/perl
3566 !> embed.fnc mg.c pp.c pp_ctl.c pp_hot.c proto.h regexec.c sv.c
3568 ____________________________________________________________________________
3569 [ 29914] By: nicholas on 2007/01/22 15:29:10
3572 MAD changes for bare skipspace()
3575 Replace PL_nextval[PL_nexttoke].opval with the macro NEXTVAL_NEXTTOKE
3576 as MAD conditionally changes this consistently in 27 places.
3577 Branch: maint-5.8/perl
3579 ____________________________________________________________________________
3580 [ 29913] By: nicholas on 2007/01/22 14:45:23
3583 The two whitespace changes from
3585 Subject: arena-rework : consolidated patch
3586 From: Jim Cromie <jim.cromie@gmail.com>
3587 Message-ID: <43F0F649.9040205@gmail.com>
3588 Date: Mon, 13 Feb 2006 14:12:41 -0700
3591 Subject: Re: [PATCH] Removed a redundant o->op_type
3592 From: Paul Johnson <paul@pjcj.net>
3593 Date: Tue, 28 Feb 2006 20:17:31 +0100
3594 Message-ID: <20060228191731.GD20933@pjcj.net>
3597 Subject: [PATCH] Removed unused check and assignment in pp_hot.c
3598 From: andy@petdance.com (Andy Lester)
3599 Date: Wed, 8 Mar 2006 00:45:29 -0600
3600 Message-ID: <20060308064529.GA16499@petdance.com>
3603 Change from Larry in the MAD code which seems to be unrelated to MAD.
3606 Refactoring from Larry implicit in the MAD patch.
3609 Another refactoring from Larry implicit in the MAD patch.
3612 Avoid scribbling on the passed in command line string for -i in
3616 Superior *printf-fu lets us avoid modifying source code.
3619 Correct another gv_fetchpv() - it takes a bitmask of flags, not simply
3623 Tease apart the keyword/subroutine test in S_checkcomma.
3626 Summon constman! S_checkcomma now has all 3 arguments const char.
3629 Subject: [PATCH] Localizing some vars in S_checkcomma
3630 From: andy@petdance.com (Andy Lester)
3631 Message-ID: <20060310223100.GA13455@petdance.com>
3632 Date: Fri, 10 Mar 2006 16:31:00 -0600
3635 Subject: [PATCH] Sync up embed.fnc and doio.c
3636 From: andy@petdance.com (Andy Lester)
3637 Message-ID: <20060311071338.GA12490@petdance.com>
3638 Date: Sat, 11 Mar 2006 01:13:38 -0600
3641 isSPACE('\0') is false, so can simplify the condition in the for
3642 loop. As the for loop is basically a while loop, write it as one, to
3643 make its intentions clearer.
3646 Subject: [PATCH] Do nothing in a GCC-friendly way
3647 From: andy@petdance.com (Andy Lester)
3648 Date: Mon, 13 Mar 2006 12:48:50 -0600
3649 Message-ID: <20060313184850.GA16905@petdance.com>
3652 Expunge references to HV_AMAGIC, HV_AMAGICbad and HV_AMAGICmb which
3653 have been unused since revision 1.
3656 Correct the macros in the comments in hv.c. Given the improvements in
3657 compiler optimisation, and the almost irrelevance of instructions
3658 executed over cache misses, maybe we should just remove the comments
3659 by putting their code back in place of the o{ptimis,bfuscat}ed version.
3660 Branch: maint-5.8/perl
3662 !> embed.fnc gv.c hv.c hv.h op.c perl.c pp_hot.c sv.h toke.c
3663 ____________________________________________________________________________
3664 [ 29912] By: nicholas on 2007/01/21 23:33:27
3667 Un-const magic virtual tables; this consting breaks the nasty
3668 things done by Swig, as noticed by Audrey.
3671 Subject: [PATCH] mgvtbl initialization
3672 From: andy@petdance.com (Andy Lester)
3673 Date: Wed, 1 Mar 2006 22:52:20 -0600
3674 Message-ID: <20060302045220.GA15985@petdance.com>
3677 Subject: [PATCH] make magic vtables const if PERL_GLOBAL_STRUCT_PRIVATE
3678 From: Jarkko Hietaniemi <jhi@iki.fi>
3679 Date: Mon, 17 Jul 2006 09:09:24 +0300
3680 Message-ID: <44BB2994.5090609@iki.fi>
3683 Restore the const to vtbl in Perl_mg_localize() removed in change
3687 Assignments to function pointers can't be NULL, as that's a pointer to
3688 data, and assigning pointers to data to pointers to functions is not
3690 Branch: maint-5.8/perl
3692 !> embed.fnc mg.h perl.h pod/perlapi.pod pod/perlguts.pod proto.h
3694 ____________________________________________________________________________
3695 [ 29909] By: nicholas on 2007/01/21 22:28:56
3698 Abstract the specific use of SvCUR in GVs for detecting variables on
3699 both sides of an assignment using GvASSIGN_GENERATION() and
3700 GvASSIGN_GENERATION_set().
3703 Fix code-before-declaration error (under VC++) from change #27334
3706 Subject: [PATCH] Removed a redundant o->op_type
3707 From: andy@petdance.com (Andy Lester)
3708 Message-ID: <20060227202043.GA7783@petdance.com>
3709 Date: Mon, 27 Feb 2006 14:20:43 -0600
3712 In Perl_sv_setsv_flags, swap the default in the type based switch to
3713 the "Bizarre copy" failure case.
3716 Silence a VC++ warning with DEBUGGING builds
3717 (signed/unsigned mismatch)
3720 Subject: [PATCH] a buglet in fakesdio.h
3721 From: Anton Berezin <tobez@tobez.org>
3722 Date: Wed, 1 Mar 2006 16:56:13 +0100
3723 Message-ID: <20060301155613.GA30368@heechee.tobez.org>
3726 Subject: [PATCH] Non-null optimizations
3727 From: andy@petdance.com (Andy Lester)
3728 Date: Wed, 1 Mar 2006 22:13:45 -0600
3729 Message-ID: <20060302041345.GA13731@petdance.com>
3730 Branch: maint-5.8/perl
3731 !> embed.fnc fakesdio.h gv.h op.c perlio.c pod/perlapi.pod
3733 ____________________________________________________________________________
3734 [ 29908] By: nicholas on 2007/01/21 21:58:40
3737 Turn on match string copying when /e flag is set on a substitution.
3739 Subject: [PATCH] dodge a valgrind error (for maint or blead)
3740 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
3741 Date: Feb 22, 2006 8:16 PM
3742 Message-ID: <43FCB896.7060106@gmail.com>
3745 Given that Perl_gp_free() is refcount-dec-and-maybe-free for the glob
3746 pointer, it's inconsistent that it only sets this GV's GvGP to 0 if
3747 this GV happened to have the last reference. Why should this GV care if
3748 it had the last reference? So always set it to 0. It's free. Gone.
3751 Don't put strings with embedded NULs in the environment.
3752 This makes things like -d:Foo=bar work again.
3755 $[ = 2 should not warn.
3758 This looks like a memory leak.
3761 Fix a memory leak in ck_grep(), spotted by coverity:
3762 perl -e'eval "grep" while 1'
3765 The Coverity audit is upset that the scream_olds variable is not
3766 directly initialized, although it is likely initialized after
3767 another variable takes a reference to it.
3770 Possible NULL pointer reference found by Coverity checks.
3773 Perl_newWHILEOP() had exactly the same lack of a NULL pointer check
3774 that Perl_newLOOPOP() had and fixed in change #27476. Maybe some
3775 refactoring is needed?
3778 require should ignore directories found when searching @INC not just
3779 die as soon as it finds one. It should for instance be possible to
3780 for require "File" to read the file "./File" even if there happens to
3781 be a "File" directory in perl's standard library.
3783 This fixes the RT #24404 fix in change 26373.
3784 Branch: maint-5.8/perl
3785 !> gv.c op.c perl.c pp_ctl.c pp_hot.c regexec.c t/comp/require.t
3786 !> t/lib/warnings/op
3787 ____________________________________________________________________________
3788 [ 29906] By: nicholas on 2007/01/21 12:16:40
3791 Replace usage of GvSTASH for storing the stash of C<our> with
3792 OURSTASH. Set the stash with OURSTASH_SET.
3795 With PAD_COMPNAME_GEN in SvUVX, SvCUR is trustworthy once more.
3797 [just the pad.h changes]
3800 Rename OURSTASH to SvOURSTASH and OURSTASH_set to SvOURSTASH_set.
3801 Branch: maint-5.8/perl
3803 !> dump.c pad.h sv.c sv.h
3804 ____________________________________________________________________________
3805 [ 29904] By: nicholas on 2007/01/21 00:30:14
3808 Subject: [PATCH] Perl_save_aelem can't be const
3809 From: Andy Lester <andy@petdance.com>
3810 Date: Thu, 23 Feb 2006 22:53:40 -0600
3811 Message-ID: <20060224045340.GA6318@petdance.com>
3814 ptr_table_find() is only defined with ithreads
3815 Branch: maint-5.8/perl
3816 !> embed.fnc embed.h proto.h scope.c sv.c
3817 ____________________________________________________________________________
3818 [ 29903] By: nicholas on 2007/01/21 00:16:12
3821 Replace direct flags tests & manipulations for SVpad_TYPED and
3822 SVpad_OUR with macros SvPAD_TYPED(), SvPAD_OUR() etc, to abstract
3823 away the flags bits acutally used to store this information.
3824 Branch: maint-5.8/perl
3825 !> XSUB.h dump.c op.c pad.c pad.h pp.c sv.c sv.h toke.c
3826 ____________________________________________________________________________
3827 [ 29902] By: nicholas on 2007/01/20 23:57:28
3830 Add a test for study() on tied scalars, by Andy Lester after
3834 Mark some new study tests as TODO
3837 Avoid C<study>ing any strings that might change underneath us, such
3838 as tied scalars and scalars with overloaded stringification.
3841 Fix typos and a missing bracket.
3842 Branch: maint-5.8/perl
3845 ____________________________________________________________________________
3846 [ 29901] By: nicholas on 2007/01/20 23:44:56
3849 Can merge the two arms of Perl_magic_getglob to save space.
3852 Test warnings for converting globs to other forms.
3855 sv_dump should report the PV for PVGVs, as it can get set.
3856 (Typeglobs stringify via a call to GET magic, which uses the PV slot.)
3859 With PERL_DONT_CREATE_GVSV, don't need to create a new GvSV in
3861 Branch: maint-5.8/perl
3863 !> ext/Devel/Peek/t/Peek.t mg.c scope.c t/op/gv.t
3864 ____________________________________________________________________________
3865 [ 29899] By: nicholas on 2007/01/20 23:15:32
3868 Document the many uses of SVf_FAKE.
3871 Re-order the definitions of the private bits in SvFLAGS by value, so
3872 that we can see where we're already double-booked.
3875 Document a sixth use for SVf_FAKE
3878 Turn a tab into 2 spaces to make more room for comments about SV flags.
3879 Sorry about damaging the change history - dig through this change with
3880 http://public.activestate.com/cgi-bin/perlbrowse?show_blame=Show+Annotated+File&filename=sv.h&rev=&change=29552
3883 Better documentation for SVf_UTF8. Including SvPV() 1st, SvUTF() 2nd.
3884 Branch: maint-5.8/perl
3886 ____________________________________________________________________________
3887 [ 29898] By: nicholas on 2007/01/20 18:43:49
3890 Add a new CvISXSUB() macro, for abstracting the test as to whether a
3894 Change 24643 made the mistake of assuming that CvCONST can only be true
3895 on XSUBs. Somehow it can also end up on perl subs. Bug spotted by and
3896 test case from Marcus Holland-Moritz.
3897 Branch: maint-5.8/perl
3898 !> cv.h dump.c ext/Devel/Peek/Peek.xs gv.c op.c pad.c pp_ctl.c
3899 !> pp_hot.c pp_sort.c sv.c t/op/threads.t
3900 ____________________________________________________________________________
3901 [ 29897] By: nicholas on 2007/01/20 18:14:46
3904 Remove a my_perl that slipped in
3907 Subject: [PATCH] unused context warnings
3908 From: andy@petdance.com (Andy Lester)
3909 Date: Tue, 21 Feb 2006 00:27:11 -0600
3910 Message-ID: <20060221062711.GA16160@petdance.com>
3911 Branch: maint-5.8/perl
3912 !> deb.c embed.pl hv.c locale.c mathoms.c mg.c miniperlmain.c
3913 !> numeric.c op.c perl.c perl.h perlapi.c perlio.c pp_ctl.c
3914 !> regcomp.c scope.c sv.c toke.c universal.c utf8.c util.c
3915 ____________________________________________________________________________
3916 [ 29896] By: nicholas on 2007/01/20 17:47:00
3919 Subject: [PATCH] Sun Studio lint patches
3920 From: andy@petdance.com (Andy Lester)
3921 Date: Mon, 13 Feb 2006 23:46:17 -0600
3922 Message-ID: <20060214054617.GA8824@petdance.com>
3923 Branch: maint-5.8/perl
3924 !> Makefile.SH gv.c hv.c op.c pad.c perlio.c pp.c pp_ctl.c
3925 !> pp_hot.c regcomp.c sv.c toke.c utf8.c
3926 ____________________________________________________________________________
3927 [ 29891] By: nicholas on 2007/01/20 00:30:02
3930 Subject: arena-rework : consolidated patch
3931 From: Jim Cromie <jim.cromie@gmail.com>
3932 Message-ID: <43F0F649.9040205@gmail.com>
3933 Date: Mon, 13 Feb 2006 14:12:41 -0700
3935 Tweaked somewhat to split the arena boolean from the arena_size,
3936 and with the PTE still doubling-up with one of the SV types in the
3940 Using U8 rather than size type shrinks the body_details table.
3943 Shrink struct body_details and hence sv.o slightly further by using
3947 We have sufficient spare bits to store the SV type in body_details,
3948 so add a small sanity check to ensure that we have the array in the
3952 Workaround for initialization errors on HP's pre-compiler
3953 Do not ask me to explain. This re-definition works on AIX
3954 and HP-UX. Let's await the smokes.
3957 Remove the #define - ARENASETS are always on now.
3960 Move C<static bool done_sanity_check;> inside the only function that
3964 As Perl_get_arena() is dealing with sizes, use size_t rather than int,
3965 as it's both unsigned and semantically the correct width for a size.
3966 As all arenas get cleared later on, can use Newx() rather than Newxz().
3969 I think that it's clearer if aroot is only struct arena_set *
3970 (rather than ** and constantly dereferneced). Move the declaration
3971 of new_root into the block it is used in. Add a comment describing
3972 where the arenas for arena_sets themselves aren't rooted anywhere.
3975 Add a parameter to Perl_get_arena() to pass in the SV type, and record
3976 this in the arena description. Change all sizes to unsigned values.
3977 Make Perl_sv_free_arenas() loop downwards to free memory, simplifying
3978 the logic. Remove my erroneous comment added in change 29881.
3979 Branch: maint-5.8/perl
3981 !> embed.fnc embed.h hv.c perl.h pod/perlapi.pod proto.h sv.h
3982 ____________________________________________________________________________
3983 [ 29890] By: nicholas on 2007/01/20 00:10:08
3986 Teach checkAUTHORS.pl about Changelogs with leading tabs
3987 in the log entries, and fix a malformed log entry in Changes5.005
3988 Branch: maint-5.8/perl
3989 !> Changes5.005 Porting/checkAUTHORS.pl
3990 ____________________________________________________________________________
3991 [ 29889] By: nicholas on 2007/01/19 23:58:44
3994 FAQ sync. (FAQ now moved to svn)
3997 Changes to perlfaq8 "How do I find out if I'm running interactively
3998 or not?" suggested by Slaven Rezic in RT #38901: perlfaq8 correction
4001 s/have a more/have more/ typo fix in perlfaq4
4011 Branch: maint-5.8/perl
4012 !> pod/perlfaq.pod pod/perlfaq1.pod pod/perlfaq2.pod
4013 !> pod/perlfaq3.pod pod/perlfaq4.pod pod/perlfaq5.pod
4014 !> pod/perlfaq6.pod pod/perlfaq7.pod pod/perlfaq8.pod
4016 ____________________________________________________________________________
4017 [ 29888] By: nicholas on 2007/01/19 21:24:46
4020 Marcus Holland-Moritz suggested that assert should
4021 Perl_croak_nocontext rather than Perl_croak.
4024 Subject: [PATCH] Trying my "remove the pTHXes" patch again
4025 From: Andy Lester <andy@petdance.com>
4026 Date: Thu, 9 Feb 2006 09:40:18 -0600
4027 Message-ID: <20060209154018.GA14610@petdance.com>
4030 Regenerated headers for change #27136.
4033 Really regenerate headers
4036 Fix breakage in S_set_csh() from change #27136.
4039 Change 27136 seems to have inadvertently upset some compilers,
4040 presumably where NULL was defined as 0, not (void *)0
4043 Fix the effects of 27136 on Win32 with DEBUGGING and PERL_IMPLICIT_SYS
4046 A better fix than 27148
4048 Subject: Win32 assert (was Re: Smoke [5.9.4] 27145 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
4049 From: Nicholas Clark <nick@ccl4.org>
4050 Date: Fri, 10 Feb 2006 14:58:47 +0000
4051 Message-ID: <20060210145847.GA85020@plum.flirble.org>
4053 Subject: RE: Win32 assert (was Re: Smoke [5.9.4] 27145 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
4054 From: "Jan Dubois" <jand@ActiveState.com>
4055 Date: Fri, 10 Feb 2006 09:03:41 -0800
4056 Message-ID: <024401c62e63$f1e53c10$6062a8c0@candy>
4057 Branch: maint-5.8/perl
4058 ! embed.fnc embed.h proto.h sv.c
4059 !> Makefile.SH cc_runtime.h cop.h deb.c hv.c mg.c op.c op.h
4060 !> perl.c perl.h pp.c pp_ctl.c pp_sort.c regcomp.c regexec.c
4061 !> toke.c utf8.c util.c
4062 ____________________________________________________________________________
4063 [ 29886] By: nicholas on 2007/01/19 20:40:06
4066 Subject: [patch] arena rework - arena sets
4067 From: Jim Cromie <jim.cromie@gmail.com>
4068 Message-ID: <43DF4F66.4080808@gmail.com>
4069 Date: Tue, 31 Jan 2006 04:52:06 -0700
4072 Tweak arena sets to avoid assignment between different pointers.
4075 Rejig the definition of ARENAS_PER_SET to maximise the size of the
4076 array whilst keeping the structure within PERL_ARENA_SIZE.
4079 Subject: [patch] rework arenas - repair arenasets
4080 From: Jim Cromie <jim.cromie@gmail.com>
4081 Message-ID: <43E5F012.1080203@gmail.com>
4082 Date: Sun, 05 Feb 2006 05:31:14 -0700
4083 Branch: maint-5.8/perl
4084 !> embed.fnc embed.h hv.c proto.h sv.c
4085 ____________________________________________________________________________
4086 [ 29874] By: nicholas on 2007/01/18 16:26:05
4089 Subject: [PATCH] ext/IO/t/io_unix.t
4090 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
4091 Date: Sun, 02 Apr 2006 21:57:19 +0300
4092 Message-ID: <44301E8F.2060503@gmail.com>
4095 Subject: [PATCH 5.8.8] Fixes for the test suite on OS/2
4096 From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
4097 Date: Wed, 13 Dec 2006 18:32:22 -0800
4098 Message-ID: <20061214023222.GA29084@powdermilk.math.berkeley.edu>
4099 Branch: maint-5.8/perl
4100 !> ext/IO/t/io_unix.t lib/Time/Local.t os2/OS2/ExtAttr/t/os2_ea.t
4101 !> t/io/fs.t t/op/stat.t
4102 ____________________________________________________________________________
4103 [ 29873] By: nicholas on 2007/01/18 16:11:31
4106 Subject: t/uni/overload.t
4107 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
4108 Message-ID: <4465988C.9080407@gmail.com>
4109 Date: Sat, 13 May 2006 11:27:56 +0300
4112 overload.t has same locale problem with VMS that it has with dec_osf
4115 Silence an expected warning (when playing with utf8ness and string overloading)
4116 Branch: maint-5.8/perl
4118 ____________________________________________________________________________
4119 [ 29870] By: nicholas on 2007/01/18 12:45:46
4122 s/PERL_COPY_ON_WRITE/PERL_OLD_COPY_ON_WRITE/g
4123 Branch: maint-5.8/perl
4124 !> ext/B/t/bytecode.t
4125 ____________________________________________________________________________
4126 [ 29869] By: nicholas on 2007/01/18 12:25:16
4129 Upgrade to Devel::PPPort 3.07
4132 find_perl() must be after environment initialization
4135 Upgrade to Devel::PPPort 3.08
4138 Upgrade to Devel::PPPort 3.08_01
4141 Upgrade to Devel::PPPort 3.08_02
4144 Upgrade to Devel::PPPort 3.08_03
4147 Upgrade to Devel::PPPort 3.08_04
4150 Upgrade to Devel::PPPort 3.08_05
4153 Upgrade to Devel::PPPort 3.08_06
4156 Upgrade to Devel::PPPort 3.08_07
4159 Upgrade to Devel::PPPort 3.09
4162 Upgrade to Devel::PPPort 3.09_01
4165 Upgrade to Devel::PPPort 3.09_02
4168 Upgrade to Devel::PPPort 3.10
4169 Branch: maint-5.8/perl
4170 +> (branch 28 files)
4171 - ext/Devel/PPPort/MANIFEST ext/Devel/PPPort/PPPort.pm
4172 !> (integrate 89 files)
4173 ____________________________________________________________________________
4174 [ 29865] By: nicholas on 2007/01/17 23:48:41
4177 Make '-s' on the shebang line able to parse -foo=bar switches again.
4178 This feature was broken by change 19695 some years ago
4179 and integrated into perl-5.8.1. perl-5.8.0 was fine.
4180 Ref http://bugs.activestate.com/show_bug.cgi?id=43483
4181 Branch: maint-5.8/perl
4182 !> perl.c t/run/switches.t
4183 ____________________________________________________________________________
4184 [ 29864] By: nicholas on 2007/01/17 23:29:13
4187 Same fix, for the test, now.
4190 Disallow sprintf's vector handling for non-integer formats.
4191 Avoids core dump for printf("%vs") and similar.
4194 Drop "v" prefix from sprintf("%vd", $^V).
4196 The sprintf documentation has this example:
4198 printf "version is v%vd\n", $^V;
4200 and it printed 'version is vv5.9.3\n'.
4203 Oops, change 26326 broke t/run/switches.t
4204 Reverting change 24912 fixes it.
4207 Add overflow check to EXPECT_NUMBER() used by sv_vcatpvfn().
4208 sprintf() or printf() will now croak if any of the indexes and
4209 widths specified in the format string are too large.
4212 Remove tests that were not portable to 64bit ints.
4213 Branch: maint-5.8/perl
4215 !> pod/perldiag.pod sv.c t/op/sprintf2.t t/run/switches.t
4216 ____________________________________________________________________________
4217 [ 29863] By: nicholas on 2007/01/17 22:55:14
4218 Log: Two regenerated headers.
4219 Branch: maint-5.8/perl
4220 ! embedvar.h perlapi.h
4221 ____________________________________________________________________________
4222 [ 29862] By: nicholas on 2007/01/17 22:53:30
4225 Subject: [PATCH] All args in embed.fnc should be named
4226 From: Andy Lester <andy@petdance.com>
4227 Date: Wed, 7 Dec 2005 10:08:18 -0600
4228 Message-ID: <20051207160818.GA13465@petdance.com>
4229 Branch: maint-5.8/perl
4231 !> embed.fnc embed.pl pod/perlapi.pod
4232 ____________________________________________________________________________
4233 [ 29861] By: nicholas on 2007/01/17 22:36:16
4236 The current OP that is tested in doeval() can be a require(), an
4237 eval() or a do(). When we test whether OPf_SPECIAL is set on it, be
4238 sure to take into account that it's the eval-related meaning of
4239 OPf_SPECIAL we're testing for, not the require-related one.
4242 Regression test for change #26881
4245 New t/comp/require.t tests should go before the conditional exit.
4246 Branch: maint-5.8/perl
4247 !> pp_ctl.c t/comp/require.t
4248 ____________________________________________________________________________
4249 [ 29860] By: nicholas on 2007/01/17 22:08:43
4250 Log: Remove the new assertion integrated from blead. It might just not be
4252 Branch: maint-5.8/perl
4254 ____________________________________________________________________________
4255 [ 29859] By: nicholas on 2007/01/17 22:07:40
4258 Merging pp_bit_or and pp_bit_xor shrinks the object code by about .7K.
4259 The overloading tests are not free.
4262 Borland's C compiler warns that the & is unnecessary.
4265 Subject: [PATCH] Handle unused args
4266 From: andy@petdance.com (Andy Lester)
4267 Date: Tue, 7 Feb 2006 16:36:56 -0600
4268 Message-ID: <20060207223656.GA5177@petdance.com>
4271 Avoid calling all the scanning code in gv_fetchpvn_flags when saving
4272 $1 etc, as we can perfom a hash lookup on %:: directly.
4275 Remove SOFT_CAST() as it no longer does anything useful.
4278 Get perl_fini() running on HP-UX again.
4279 It was effectively disabled by change 24667 since
4280 __ux_version is only available under DCE threads
4281 which isn't used when perl is built on HP-UX 11
4285 Subject: Problem compiling swigged c++ code with 5.8.8
4286 From: Merijn Broeren <merijnb@iloquent.com>
4287 Date: Wed, 15 Feb 2006 13:51:49 +0100
4288 Message-ID: <20060215125148.GA12535@brugman.iloquent.nl>
4291 SvROK(sv) will never be true when SvIOKp() or SvNOKp() is true, so the
4292 code inside the if() test in sv_2pv_flags is dead and can be removed.
4295 Remove the last (U16) cast for CV depths, missed by change 17835.
4298 Remove un-needed case in Perl_sv_setsv_flags (sv_upgrade will cover
4302 Recalculate dstr in Perl_sv_setsv_flags, as dstr may have been upgraded.
4305 In XS_attributes__guess_stash, attempting to call Gv* on a PVMG is
4307 Branch: maint-5.8/perl
4308 !> XSUB.h doio.c mathoms.c opcode.h opcode.pl pad.c perl.c perl.h
4309 !> pp.c pp.h pp_ctl.c pp_sys.c regcomp.c scope.h sv.c xsutils.c
4310 ____________________________________________________________________________
4311 [ 29858] By: nicholas on 2007/01/17 21:17:52
4314 Call gv_fetchpvn_flags where we already know the length.
4317 Avoid a warning from the Irix C compiler.
4320 Silence another Irix compiler warning.
4323 Silence a warning from the MS compiler about signed/unsigned mismatch.
4326 Death to magic characters! No pun intended.
4329 Fix file where internal XS functions are defined
4332 bcc was issuing a warning about this line in Perl_sv_2cv, so tweak it
4336 Without this Windows and Netware compilers should be complaining
4337 about perl.c having code before a declaration, *but only if compiling
4338 with PERL_TRACK_MEMPOOL*. So, will it fix the smoke failures? Place
4342 Yes, I broke Win32 with change 27089 by having a { in the wrong place.
4345 Subject: [PATCH] Cleaning up shadowed variables
4346 From: Andy Lester <andy@petdance.com>
4347 Date: Sun, 5 Feb 2006 21:56:43 -0600
4348 Message-Id: <B375E848-FA07-479D-9571-FA3925106D16@petdance.com>
4351 Given that the memory allocated in Perl_bytes_from_utf8 and
4352 Perl_bytes_to_utf8 will immediately be written to, I see no need to
4354 Branch: maint-5.8/perl
4356 !> doio.c ext/B/B.xs hv.c op.c perl.c pp_ctl.c sv.c universal.c
4358 ____________________________________________________________________________
4359 [ 29856] By: nicholas on 2007/01/17 19:49:29
4362 The flags manipulation in sv_setsv_flags can be more efficient.
4365 Merge the IOK and NOK clauses together in sv_setsv_flags.
4368 Squeeze more flag manipulations together in sv_setsv_flags.
4371 Assert that IVs and NVs can never be tainted.
4374 Correct my comment, so that it's actually useful. :-)
4377 Remove a duplicate flag copy line from Perl_sv_setsv_flags.
4380 I think that "merge Perl_sv_2[inpu]v" and "reduce duplication in
4381 sv_setsv_flags" are about as done as they can be.
4384 Replace SvRELEASE_IVX(dstr) with SvOOK_off(dstr) in sv_setsv_flags(),
4385 because it's not possible for dstr to be COW at this point, due to an
4386 earlier force_normal.
4387 Branch: maint-5.8/perl
4390 ____________________________________________________________________________
4391 [ 29854] By: nicholas on 2007/01/17 18:52:01
4394 It's actually easier to get rid of PL_fdscript than we thought.
4397 Oops. I *thought* that I had checked that all changed files were open.
4398 Clearly not. (Fixes change 27066)
4401 Passing the flag to S_forbit_setid as a single char rather than a
4402 string is a slight space optimisation.
4405 Eliminating PL_suidscript is more tricky, and requires changing the
4406 prototype of Perl_moreswitches.
4409 Change 27070 failed to initialise a variable. (But despite that still
4410 passed all tests locally.)
4413 Pull the variables fdscript and suidscript into a much smaller scope.
4414 Replace suidscript with literal -1 where it could only have been -1.
4415 (Re-indent the other code inside the new block creating the scope.
4416 Rejig the indentation of the conditionals)
4419 The MSDOS-only call to moreswitches will never reach forbid_setid, so
4420 it can have a parameter of -1 without changing any behaviour.
4421 I see no reason to forbid "command line" switches when they are
4422 actually coming from the #! line of the script itself (as read by perl)
4423 as they must have been written by the owner of the script, rather than
4424 being crafted by the user manipulating the command line, and therefore
4425 cannot be subverted. (Or alternatively, can be subverted as easily as
4426 the rest of the script, and we're permitting *that* to be run)
4429 And as we've now got to the point where all calls to Perl_moreswitches
4430 have -1 as the second argument, we can remove the second argument,
4431 which gets us back to where we started, only with the elimination of
4432 a per-thread variable.
4435 S_find_beginning is only called from one place, so by hoisting the
4436 forbid_setid check for -x into the caller, we can eliminate the
4437 suidscript parameter from S_find_beginning.
4440 Remove obsolete comment.
4443 Fixed embed.fnc entry for S_forbid_setid() and picked up a change in
4444 pod/perlapi.pod for good measure when regenerating files.
4445 Branch: maint-5.8/perl
4446 !> embed.fnc embed.h embedvar.h intrpvar.h perl.c perlapi.h
4447 !> pod/perlapi.pod proto.h toke.c
4448 ____________________________________________________________________________
4449 [ 29851] By: nicholas on 2007/01/17 15:41:23
4452 Fix bug #38439 - reference to typeglob assignment needs to be based
4453 on SvROK(sstr) rather than SvTYPE(sstr) == SVt_RV.
4456 Rename S_glob_assign to S_glob_assign_glob
4457 Rename S_pvgv_assign to S_glob_assign_ref
4459 I don't think that they share enough common code to merge them.
4460 Branch: maint-5.8/perl
4462 ____________________________________________________________________________
4463 [ 29850] By: nicholas on 2007/01/17 14:15:59
4466 Pull the other large chunk of PVGV assignment code into S_pvgv_assign.
4467 There seems to be some duplication with S_glob_assign.
4470 C compilers don't let you return void. Pay attention gcc, and
4474 Start to merge the 6 arms of S_pvgv_assign into one.
4477 Merge the default case (GvSV) with the common code in S_pvgv_assign.
4480 Merge the PVAV and PVHV clauses into the common code of S_pvgv_assign.
4483 Merge the PVCV case into the common code in S_pvgv_assign.
4484 Branch: maint-5.8/perl
4486 ____________________________________________________________________________
4487 [ 29849] By: nicholas on 2007/01/17 13:51:31
4490 Pull glob_assign out from sv_setsv_flags into a static function.
4493 Remove goto glob_assign;
4494 Branch: maint-5.8/perl
4496 ____________________________________________________________________________
4497 [ 29847] By: nicholas on 2007/01/17 12:30:43
4500 Intel C Compiler 9.0 hatefully defines __GNUC__. Unfortunately,
4501 icc does not support gcc built-ins like __attribiute__.
4504 Fix some test failures in t/op/cmp.t when compiling with the Intel
4505 C++ Compiler on Linux.
4508 Keep Intel C++ from claiming that it is gcc.
4511 Additional floating point strictness is needed to get Intel cc to pass
4513 Branch: maint-5.8/perl
4514 !> hints/linux.sh perl.h
4515 ____________________________________________________________________________
4516 [ 29846] By: nicholas on 2007/01/17 11:36:40
4519 Create a struct to use as the header with PERL_TRACK_MEMPOOL, so that
4520 other information can be stored in it.
4523 If PERL_TRACK_MEMPOOL and PERL_POISON are in use, then scribble all
4524 over memory to invalidate it just before free()ing it.
4527 For PERL_TRACK_MEMPOOL with PERL_POISON, Poison the end of any block
4528 being shrunk in realloc()
4531 Enhance PERL_TRACK_MEMPOOL so that it also emulates the PerlHost
4532 behaviour of freeing up all memory at thread exit. With this and
4533 tools such as valgrind you will now get warnings as soon as you
4534 read from the deallocated memory, rather than just a warning much
4535 later about freeing to the wrong pool.
4538 Don't export PL_memory_debug_header to Win32 (and others) unless
4539 PERL_TRACK_MEMPOOL is defined.
4542 With PERL_POISON defined, ensure freshly malloc()ed memory isn't zeros,
4543 and when PERL_TRACK_MEMPOOL is also defined scribble on any extension
4547 Subject: [PATCH] PERL_TRACK_MEMPOOL cripples environment after exit()
4548 From: Marcus Holland-Moritz <mhx-perl@gmx.net>
4549 Date: Sun, 26 Feb 2006 20:47:21 +0100
4550 Message-ID: <20060226204721.00be2bff@r2d2>
4553 Don't free thread memory if PERL_DESTRUCT_LEVEL is set to a non-zero
4554 value as we're probably hunting memory leaks then
4555 Branch: maint-5.8/perl
4557 !> embedvar.h intrpvar.h makedef.pl miniperlmain.c perl.c
4558 !> perlapi.h pod/perltodo.pod sv.c util.c
4559 ____________________________________________________________________________
4560 [ 29840] By: nicholas on 2007/01/16 08:45:48
4562 Branch: maint-5.8/perl
4563 ! Changes patchlevel.h
4564 ____________________________________________________________________________
4565 [ 29832] By: nicholas on 2007/01/15 16:30:37
4566 Log: Avoid a SEGV in DBI's test suite, discovered by Andreas.
4567 Probably need to go through and audit to see if there are analagous
4568 places that need tweaking.
4569 Branch: maint-5.8/perl
4571 ____________________________________________________________________________
4572 [ 29809] By: nicholas on 2007/01/14 13:47:07
4575 Add gv_fetchpvs, which uses STR_WITH_LEN to call gv_fetchpvn_flags.
4576 Many strlen()s saved.
4579 Yet more instances of gv_fetchpv... that should be GV_ADD rather than
4581 Convert two gv_fetchpvn_flags to gv_fetchpvs.
4584 gv_fetchpvn_flags ranks highly in the profile, and the ::/' scanning
4585 loop is iterated over millions of times. Add a flag GV_NOTQUAL purely
4586 as an optimisation, when the caller is passing in a string that is
4587 known not to contain any package separators.
4588 Branch: maint-5.8/perl
4589 !> doio.c gv.c gv.h handy.h op.c perl.c pp_ctl.c pp_sort.c
4590 !> pp_sys.c toke.c util.c
4591 ____________________________________________________________________________
4592 [ 29808] By: nicholas on 2007/01/14 13:22:20
4595 SvREADONLY_off inside the magic routines is also dangerous on shared
4596 hash key scalars, so decompose them to normal scalars if they ever
4600 Simplify nested '#ifdef' by replacing it with '#elif defined()'
4601 Branch: maint-5.8/perl
4603 ____________________________________________________________________________
4604 [ 29807] By: nicholas on 2007/01/14 13:09:22
4607 Change all NEWSV() to newSV() in the core and non-dual-lived modules.
4608 Keep NEWSV() itself for backwards-compatibility outside of the core,
4609 but don't advertise it any more.
4610 (cf. change #25101).
4613 Remove two NEWSV()s in the non-ithread dump code that got missed.
4614 Branch: maint-5.8/perl
4615 ! op.c perl.c pp_ctl.c util.c
4616 !> av.c doio.c dump.c ext/ByteLoader/bytecode.h
4617 !> ext/Opcode/Opcode.xs ext/POSIX/POSIX.xs gv.c handy.h hv.c
4618 !> mathoms.c os2/OS2/REXX/REXX.xs pad.c pod/perlapi.pod
4619 !> pod/perlembed.pod pp.c pp_hot.c pp_pack.c pp_sys.c regexec.c
4620 !> scope.c sv.c toke.c vms/ext/Stdio/Stdio.xs
4621 ____________________________________________________________________________
4622 [ 29806] By: nicholas on 2007/01/14 12:49:30
4625 Move initialization of old values prior to moreswitches()
4626 closer to their use and together with 'switches_done'.
4629 Missing an initialisation, as spotted by Merijn's HP compiler.
4632 Get rid of the following gcc format warnings by simplifying the
4633 getgroups implementation:
4635 mg.c: In function Perl_magic_get':
4636 mg.c:1008: warning: long unsigned int format, gid_t arg (arg 3)
4637 mg.c:1014: warning: long unsigned int format, gid_t arg (arg 3)
4638 mg.c:1025: warning: long unsigned int format, unsigned int arg (arg 3)
4640 Since we already cast the numeric Gid_t values to an IV it should not
4641 be too risky to also cast the Group_t values. Converting these values
4642 with Gid_t_f wasn't quite right anyway.
4645 Refactor S_vdie_common so that Perl_vwarn can use it too.
4648 Make $( and $) list the groups in the order they
4649 are returned from the OS. Linux seems to return
4650 the gids sorted and it seemed wrong for perl to
4654 Suppress "statement not reached" warning from the Sun C compiler.
4655 Branch: maint-5.8/perl
4657 !> doio.c embed.fnc embed.h mg.c toke.c util.c
4658 ____________________________________________________________________________
4659 [ 29804] By: nicholas on 2007/01/14 12:22:41
4662 Fix some compilation warnings
4665 Subject: [PATCH] performance tweaking op.c
4666 From: Andy Lester <andy@petdance.com>
4667 Date: Fri, 6 Jan 2006 01:44:48 -0600
4668 Message-ID: <20060106074448.GB3401@petdance.com>
4671 Subject: [PATCH] blead: format warnings
4672 Date: Sat, 07 Jan 2006 21:42:08 +0200
4673 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
4674 Message-ID: <43C01990.6020207@gmail.com>
4677 Subject: [PATCH] It's the Barbie bus patch
4678 From: Andy Lester <andy@petdance.com>
4679 Date: Mon, 9 Jan 2006 23:42:43 -0600
4680 Message-ID: <20060110054243.GA26165@petdance.com>
4681 Branch: maint-5.8/perl
4682 ! hv.c op.c regcomp.c
4683 !> av.c doio.c embed.fnc embed.h gv.c mg.c pad.c pp_ctl.c
4684 !> pp_hot.c pp_sys.c proto.h reentr.c reentr.h regexec.c sv.c
4685 !> toke.c uconfig.sh util.c
4686 ____________________________________________________________________________
4687 [ 29802] By: nicholas on 2007/01/14 00:36:51
4690 If we know the length of the string constant, save a strlen()
4693 Subject: [PATCH] The continuing plod through embed.fnc
4694 From: Andy Lester <andy@petdance.com>
4695 Date: Mon, 18 Jul 2005 10:37:38 -0500
4696 Message-ID: <20050718153738.GB20193@petdance.com>
4699 Introduce STR_WITH_LEN macro in the form suggested by Chip.
4702 Fix typo in comment.
4705 Removed unused part of string passed to sv_catpvn().
4708 Introduce the macros newSVpvs(str) and sv_catpvs(sv, str).
4709 Gets rid of many hardcoded string lengths.
4712 Get rid of a few more hardcoded string lengths.
4715 Get rid of a few more hardcoded string lengths.
4718 Introduce newSVpvs_share() macro.
4719 Gets rid of some hardcoded string lengths.
4722 Get rid of hardcoded string length.
4725 Add an extra NUL so that we can use sv_catpvs()
4726 for "our @F=split..." and get rid of 15 and the
4727 explaination for why it's there.
4730 Make the new STR_WITH_LEN() affected compile under -Dusethreads.
4731 Can't use STR_WITH_LEN() as argument to a macro :-(
4734 Move all the xxxpvs() macros to handy.h.
4735 This brings them closer to STR_WITH_LEN. Besides only half
4736 of them were sv-related after change 26649.
4739 Replacing broken call to savepvn() with savepvs() to get threaded
4740 Cygwin to compile again.
4743 Subject: [PATCH] hv_fetchs() support
4744 From: Andy Lester <andy@petdance.com>
4745 Date: Fri, 6 Jan 2006 09:57:19 -0600
4746 Message-ID: <20060106155719.GB9035@petdance.com>
4749 A few more places that can use hv_fetchs().
4751 Branch: maint-5.8/perl
4753 !> doop.c dump.c ext/POSIX/POSIX.xs gv.c handy.h hv.c locale.c
4754 !> malloc.c mg.c perl.c perlio.c pp.c pp_ctl.c pp_pack.c pp_sys.c
4755 !> regcomp.c sv.c sv.h taint.c thread.h toke.c universal.c utf8.c
4757 ____________________________________________________________________________
4758 [ 29801] By: nicholas on 2007/01/13 23:40:49
4761 silence some compiler warnings
4764 Fix release mode builds following change 26598
4767 Silence compiler warning; ref change 26598
4768 Branch: maint-5.8/perl
4771 ____________________________________________________________________________
4772 [ 29800] By: nicholas on 2007/01/13 23:25:42
4775 Update copyrights for files modified in 2006
4778 Subject: [patch] comment grammar and indentation, spurious tab
4779 From: Jim Cromie <jim.cromie@gmail.com>
4780 Date: Fri, 30 Dec 2005 22:45:55 -0700
4781 Message-ID: <43B61B13.3050704@gmail.com>
4784 More copyright updates
4787 Update copyright years (including some years where we made changes but
4789 Branch: maint-5.8/perl
4791 !> cop.h deb.c doio.c dump.c hv.c locale.c mathoms.c mg.c mg.h
4792 !> perl.h perlio.c perlvars.h pp_ctl.c pp_pack.c pp_sort.c run.c
4793 !> scope.c sv.h taint.c thread.h
4794 ____________________________________________________________________________
4795 [ 29799] By: nicholas on 2007/01/13 23:25:00
4798 Bad symbols that are pretending to be dirhandles, should say they
4799 are dirhandles in their error messages.
4802 perldiag.pod additions to go with change #26602.
4805 Attemting to readdir() something that isn't a dirhandle should cause
4809 Add warnings for the various other *dir() functions when attempted
4810 on invalid dirhandles.
4813 Don't warn about invalid dirhandles in DirHandle::DESTROY().
4814 Branch: maint-5.8/perl
4815 !> gv.c lib/DirHandle.pm pod/perldiag.pod pp_sys.c
4816 ____________________________________________________________________________
4817 [ 29798] By: nicholas on 2007/01/13 22:58:25
4820 Don't try to store PL_sv_undef in pads. (For now)
4823 A GVs stash can be NULL, so don't call macros that assume otherwise
4825 Branch: maint-5.8/perl
4827 ____________________________________________________________________________
4828 [ 29797] By: nicholas on 2007/01/13 22:58:03
4831 In the shared string table, if we add new entries to the head of the
4832 linked list chain, then we don't need as much bookkeeping in the loop.
4833 Branch: maint-5.8/perl
4835 ____________________________________________________________________________
4836 [ 29795] By: nicholas on 2007/01/13 22:37:35
4839 Subject: [PATCH] Fixing the SVREFCNT macro
4840 From: Andy Lester <andy@petdance.com>
4841 Date: Wed, 28 Dec 2005 13:30:51 -0600
4842 Message-ID: <20051228193051.GD23207@petdance.com>
4843 Branch: maint-5.8/perl
4845 ____________________________________________________________________________
4846 [ 29794] By: nicholas on 2007/01/13 19:26:17
4849 Subject: [PATCH] Perl_gv_fetchpv vs. gv_fetchpvn
4850 From: Tels <nospam-abuse@bloodgate.com>
4851 Date: Thu, 29 Dec 2005 18:32:10 +0100
4852 Message-Id: <200512291832.20651@bloodgate.com>
4855 Subject: [PATCH] perlio.c - gv_stashpvn() vs gv_stashpv()
4856 From: Tels <nospam-abuse@bloodgate.com>
4857 Date: Thu, 29 Dec 2005 18:57:43 +0100
4858 Message-Id: <200512291857.59458@bloodgate.com>
4861 Subject: [PATCH] Making 0 pointers to NULLs
4862 From: Andy Lester <andy@petdance.com>
4863 Date: Fri, 30 Dec 2005 23:05:58 -0600
4864 Message-ID: <20051231050558.GA29093@petdance.com>
4867 Subject: [PATCH] Making 0 pointers to NULLs
4868 From: Andy Lester <andy@petdance.com>
4869 Date: Fri, 30 Dec 2005 23:05:58 -0600
4870 Message-ID: <20051231050558.GA29093@petdance.com>
4871 Branch: maint-5.8/perl
4872 !> doio.c doop.c gv.c hv.c mg.c perlio.c pp.c pp_ctl.c pp_hot.c
4873 !> pp_sort.c regcomp.c regexec.c sv.c toke.c utf8.c util.c
4874 ____________________________________________________________________________
4875 [ 29793] By: nicholas on 2007/01/13 18:59:04
4878 Subject: [PATCH] Actual real consting of parms
4879 From: Andy Lester <andy@petdance.com>
4880 Date: Thu, 29 Dec 2005 01:15:09 -0600
4881 Message-ID: <20051229071509.GA32653@petdance.com>
4882 Branch: maint-5.8/perl
4885 ____________________________________________________________________________
4886 [ 29792] By: nicholas on 2007/01/13 18:44:35
4889 Subject: [PATCH] av.c cleanup, plus!
4890 From: Andy Lester <andy@petdance.com>
4891 Date: Wed, 28 Dec 2005 15:44:14 -0600
4892 Message-ID: <20051228214414.GD26033@petdance.com>
4893 Branch: maint-5.8/perl
4895 !> av.c dump.c gv.c perl.c toke.c
4896 ____________________________________________________________________________
4897 [ 29791] By: nicholas on 2007/01/13 18:27:36
4900 Subject: [PATCH] pre-likely cleanup
4901 From: Andy Lester <andy@petdance.com>
4902 Date: Tue, 27 Dec 2005 14:39:39 -0600
4903 Message-ID: <20051227203939.GC1781@petdance.com>
4905 Includes a small fix to the changes in tryAMAGICbinW_var() in pp.h.
4906 Branch: maint-5.8/perl
4908 !> av.c doop.c hv.c mg.c pp.c pp.h sv.c util.c
4909 ____________________________________________________________________________
4910 [ 29789] By: nicholas on 2007/01/13 18:10:34
4913 Subject: [PATCH] Speed up Perl_sv_derived_from
4914 From: Andy Lester <andy@petdance.com>
4915 Message-ID: <20051222220044.GH4370@petdance.com>
4916 Date: Thu, 22 Dec 2005 16:00:44 -0600
4919 For the rare case of EMFILE during require, save object code space
4921 (Would it be worth using it for all require failures?)
4924 Refactor the require failure message generation to use 1 less temporary
4925 SV, and to build as much text as possible with newSVpvf
4928 gv_fetch_flags in newATTRSUB can actually be const.
4929 Comment the logic behind the terms in the ternary that chooses the
4933 As the backreferences AV doesn't hold references on its contents,
4934 surely it should have AvREAL turned off?
4937 Reduce size of buffers for identifier names, as suggested in
4939 Subject: Stack usage (in gv_stashpvn and others)
4940 From: Tels <nospam-abuse@bloodgate.com>
4941 Date: Thu, 29 Dec 2005 18:40:49 +0100
4942 Message-Id: <200512291840.50765@bloodgate.com>
4945 Now that the backreference array has no NULL entries, and is correctly
4946 marked as AvREAL_off(), there's no reason not to use sv_dup to clone
4950 Tweak S_init_main_stash so as allocate PL_curstname as a shared string
4951 scalar, and hence avoid thrashing the shared string table for "main".
4954 Remove unneeded test in Perl_hv_clear_placeholders.
4955 Rejig S_hfreeentries to a double loop, which is clearer and smaller.
4958 Turn a for loop that's almost a while into an honest-to-goodness while.
4959 Branch: maint-5.8/perl
4961 !> op.c perl.c pp_ctl.c sv.c universal.c
4962 ____________________________________________________________________________
4963 [ 29788] By: nicholas on 2007/01/13 17:39:10
4966 Subject: [PATCH] Speedup (rn|n)?instr
4967 From: Andy Lester <andy@petdance.com>
4968 Message-ID: <20051222223839.GI4370@petdance.com>
4969 Date: Thu, 22 Dec 2005 16:38:39 -0600
4972 Fix 2 off-by-one errors in the call to ninstr().
4973 This code managed to still work because of a bug
4974 in how ninstr() treats empty search strings.
4977 Remove test for NUL ending in r?instr().
4978 This test is actually harmful because we will search
4979 for any garbage found past the empty search string.
4984 The compiled function ended up 37% smaller on Linux/gcc.
4985 I ought to be faster as well, but I did not try to measure that.
4988 Use memchr() instead of ninstr() to locate the end-of-line.
4989 The call to memchr() will faster.
4990 Branch: maint-5.8/perl
4991 !> ext/Filter/Util/Call/Call.xs toke.c util.c
4992 ____________________________________________________________________________
4993 [ 29787] By: nicholas on 2007/01/13 17:24:48
4996 Subject: [PATCH] Ho! Ho! Ho! Santa brings consting!
4997 From: Andy Lester <andy@petdance.com>
4998 Date: Thu, 22 Dec 2005 10:57:17 -0600
4999 Message-ID: <20051222165717.GA2874@petdance.com>
5000 Branch: maint-5.8/perl
5001 ! global.sym proto.h
5002 !> dump.c embed.fnc embed.h gv.c hv.c op.c pp.c pp_ctl.c pp_hot.c
5003 !> pp_sys.c regcomp.c sv.c toke.c universal.c
5004 ____________________________________________________________________________
5005 [ 29785] By: nicholas on 2007/01/13 16:56:44
5008 Add an optimisation to allow proxy constant subroutines to be copied
5009 as proxy constant subroutines in a new symbol table where possible.
5010 (Rather than converting them to full blown constant subroutines and
5011 instantiating 2 typeglobs)
5014 Regression tests for proxy subroutine glob assignment.
5015 Fix a bug (it turns out that a typeglob isn't SvOK())
5016 Remove stray debugging code.
5019 Now that proxy subroutines can be unproxied in 2 places without
5020 becoming the same newCONSTSUB, need an explicit check to avoid a
5021 warning about subroutines being redefined, as there has never been
5022 a warning when you assing the same subroutine to a glob's GvCV()
5025 Unless the peephole optimiser already knows that we're in void context,
5026 avoid even attempting the whole proxy constant sub copying
5028 Branch: maint-5.8/perl
5030 !> ext/B/t/concise-xs.t gv.c gv.h op.h pp.c pp_hot.c sv.c
5032 ____________________________________________________________________________
5033 [ 29783] By: nicholas on 2007/01/13 16:30:48
5036 Make gv_init recognise a reference-to-something in a symbol table as
5037 meaning a constant subroutine with that thing as it value
5040 Verify that the code for initialising typeglobs from other types works.
5043 Croak if gv_init doesn't know how to create a typeglob from that type
5044 of referant. Test that ARRAY, HASH, PVIO, CODE and FORMAT croak.
5045 Globs are actually first class assignable objects, so test that you
5046 can create a constant subroutine that returns one.
5049 Add a GV_NOADD_NOINIT flag to gv_fetch{pv,pvn,sv} that disables
5050 addition of new typeglobs, and also disables initialisation of any
5051 typeglob placeholders. Needed to make the new constant subroutine
5052 proxy references work efficiently.
5055 Take care in toke.c not to convert constant subroutine reference
5056 proxies into full blown PVGVs with PVCVs, and recognise them and inline
5057 their values. Adds a new function gv_const_sv(gv) to return the value
5058 of the constant subroutine from a GV, and adds a cv parameter to
5060 Branch: maint-5.8/perl
5062 !> embed.fnc embed.h gv.c gv.h pod/perldiag.pod proto.h t/op/gv.t
5063 ____________________________________________________________________________
5064 [ 29782] By: nicholas on 2007/01/13 13:47:04
5067 Assert that orig_keyword, gv and gvp aren't used before the main
5068 keyword parser of Perl_yylex.
5071 In Perl_yylex, make tmp a temporary variable local to the blocks in
5075 In Perl_yylex, move the declaration of orig_keyword, gv and gvp down to
5076 the block labelled keylookup.
5079 Get the "cv" from the "gv" once, and be more careful so that we can
5080 cope if either aren't their regular types.
5081 cv_const_sv should verify the type of SV passed, instead of assuming
5082 that it's a viable CV.
5083 Branch: maint-5.8/perl
5086 ____________________________________________________________________________
5087 [ 29776] By: nicholas on 2007/01/12 14:24:33
5090 Make sv_dump (and therefore Devel::Peek) report the value of the
5091 constant in inlineable constant subroutines.
5092 Branch: maint-5.8/perl
5093 !> dump.c ext/Devel/Peek/t/Peek.t
5094 ____________________________________________________________________________
5095 [ 29775] By: nicholas on 2007/01/12 14:07:47
5098 A suggestion by Yamashina Hio to speed up substitutions
5099 with right-hand side expressions by freeing temporaries.
5102 Subject: s///ge; consumes PL_tmps_stack in its loop
5103 From: YAMASHINA Hio <hio@hio.jp>
5104 Date: Tue, 30 Aug 2005 17:17:23 +0900
5105 Message-Id: <20050830160113.9716.HIO@ymir.co.jp>
5108 In Perl_apply, the name of the op can be found from PL_op_name, instead
5109 of using local string constants.
5112 Use PL_op_desc rather than literal strings in pp_ioctl
5115 Move and const some definitions of variables used to save errno.
5118 Localise the stash variable in pp_entersub().
5121 For consistency sv_2cv should not leave the stash pointer uninitialised
5122 for some cases. Although it seems that only pp_sort pays any attention
5123 to it, of all the code on CPAN.
5126 Remove unused variable 'stash' since change 26437.
5127 Branch: maint-5.8/perl
5128 !> doio.c perlio.c pp_ctl.c pp_hot.c pp_sys.c sv.c
5129 ____________________________________________________________________________
5130 [ 29773] By: nicholas on 2007/01/12 13:29:41
5133 Merge common code from ptr_table_fetch and ptr_table_store into
5137 Fixes compile errors introduce with change #26301 when compiling
5138 with ithreads and DEBUGGING.
5141 A more efficient way to loop in ptr_table_clear
5144 An alternative way of structuring ptr_table_clear so that the variables
5145 can be assigned to at declaration time.
5148 Subject: [PATCH] Code tweaks in sv.c
5149 From: Andy Lester <andy@petdance.com>
5150 Date: Fri, 9 Dec 2005 11:09:21 -0600
5151 Message-ID: <20051209170921.GC16943@petdance.com>
5153 Includes a minor change the patch to account for code that moved
5155 Branch: maint-5.8/perl
5157 ____________________________________________________________________________
5158 [ 29772] By: nicholas on 2007/01/12 13:28:49
5161 Add a missing FREETMPS to match up with a SAVETMPS. This change
5162 fixes problems with nested sorts. (RTs #7063 and #36430).
5165 Again, FREETMPS not SAVETMPS!
5168 Reverting change #26360 and #26361 since it appears that the bugs I
5169 thought I fixed had been previously fixed with change #25953.
5170 Branch: maint-5.8/perl
5172 ____________________________________________________________________________
5173 [ 29771] By: nicholas on 2007/01/12 13:01:39
5176 Subject: [PATCH] More consting, and putting stuff in embed.fnc
5177 From: Andy Lester <andy@petdance.com>
5178 Date: Mon, 5 Dec 2005 13:46:13 -0600
5179 Message-ID: <20051205194613.GB7791@petdance.com>
5182 Add a ; that 26281 was lacking.
5183 (Dear Mark, please can I have back one of the two that I sent you after
5185 Branch: maint-5.8/perl
5186 !> deb.c doio.c dump.c embed.fnc embed.h hv.c hv.h locale.c mg.c
5187 !> op.c op.h pp.c pp_ctl.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c
5188 !> proto.h regcomp.c sv.c taint.c toke.c utf8.c util.c
5189 ____________________________________________________________________________
5190 [ 29770] By: nicholas on 2007/01/12 12:22:53
5193 Subject: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5194 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5195 Date: Wed, 23 Nov 2005 17:57:34 +0900
5196 Message-Id: <20051123175603.FFD5.BQW10602@nifty.com>
5199 Message-Id: <20051123202935.4D9D.BQW10602@nifty.com>
5201 with some nits to use U8 instead of char more consistently
5204 Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5205 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5206 Date: Fri, 25 Nov 2005 00:19:35 +0900
5207 Message-Id: <20051125001031.24E3.BQW10602@nifty.com>
5209 Date: Fri, 25 Nov 2005 01:18:17 +0900
5210 Message-Id: <20051125011410.24E9.BQW10602@nifty.com>
5213 Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5214 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5215 Date: Sun, 27 Nov 2005 17:02:02 +0900
5216 Message-Id: <20051127170016.A786.BQW10602@nifty.com>
5219 Clarification and cleanup of the XS SWASHGET code
5221 Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5222 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5223 Date: Sun, 04 Dec 2005 16:28:35 +0900
5224 Message-Id: <20051204162508.D726.BQW10602@nifty.com>
5227 Rework the error messages from the swashget code.
5229 Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5230 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5231 Date: Sun, 04 Dec 2005 16:24:59 +0900
5232 Message-Id: <20051204162431.D723.BQW10602@nifty.com>
5235 Better variable names make code clearer
5237 Subject: Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
5238 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
5239 Date: Sun, 04 Dec 2005 16:24:29 +0900
5240 Message-Id: <20051204162412.D720.BQW10602@nifty.com>
5241 Branch: maint-5.8/perl
5242 !> embed.fnc embed.h lib/utf8_heavy.pl pod/perlapi.pod
5243 !> pod/perldiag.pod pod/perlintern.pod proto.h regexec.c
5244 !> t/op/pat.t universal.c utf8.c utf8.h utfebcdic.h
5245 ____________________________________________________________________________
5246 [ 29769] By: nicholas on 2007/01/12 11:55:51
5249 const'ing Netdb_host_t broke HP-UX and created warnings on gcc for a double const.
5250 Netdb_host_t is a macro that for a const pointer.
5253 Subject: [PATCH] Sort subs now in embed.fnc
5254 From: Andy Lester <andy@petdance.com>
5255 Date: Thu, 17 Nov 2005 07:53:38 -0600
5256 Message-ID: <20051117135338.GA31715@petdance.com>
5259 Cleaning up some warnings generated by "gcc -W"
5262 Declarations must come first, or some compilers aren't happy.
5264 Branch: maint-5.8/perl
5265 !> deb.c embed.fnc embed.h ext/B/B.xs ext/Data/Dumper/Dumper.xs
5266 !> ext/PerlIO/encoding/encoding.xs mg.c op.c pp_sort.c pp_sys.c
5267 !> proto.h regcomp.c scope.c
5268 ____________________________________________________________________________
5269 [ 29763] By: nicholas on 2007/01/12 01:57:13
5273 Branch: maint-5.8/perl
5274 !> ext/B/t/concise-xs.t
5275 ____________________________________________________________________________
5276 [ 29760] By: nicholas on 2007/01/11 17:10:41
5279 Subject: [PATCH] Const & local: Special Victims Unit
5280 From: Andy Lester <andy@petdance.com>
5281 Date: Thu, 10 Nov 2005 22:47:00 -0600
5282 Message-ID: <20051111044700.GA24161@petdance.com>
5283 Branch: maint-5.8/perl
5284 !> cop.h doio.c doop.c pp_hot.c pp_pack.c pp_sort.c pp_sys.c sv.c
5286 ____________________________________________________________________________
5287 [ 29759] By: nicholas on 2007/01/11 16:45:05
5290 Subject: [PATCH] sort/multicall patch
5291 From: Robin Houston <robin@cpan.org>
5292 Date: Sat, 29 Oct 2005 21:33:07 +0100
5293 Message-ID: <20051029203307.GA8869@rpc142.cs.man.ac.uk>
5299 Remove last sort test, that was failing with and without threads.
5300 Silence some warnings.
5303 Fix test failures introduced by the change of flags on op_sort
5306 Subject: Re: [PATCH] sort/multicall patch
5307 From: Robin Houston <robin@cpan.org>
5308 Date: Fri, 4 Nov 2005 15:20:29 +0000
5309 Message-ID: <20051104152029.GA17169@rpc142.cs.man.ac.uk>
5312 Subject: [PATCH] Re: [perl #32383] DProf breaks List::Util::shuffle
5313 From: Robin Houston <robin@cpan.org>
5314 Date: Tue, 8 Nov 2005 19:02:34 +0000
5315 Message-ID: <20051108190234.GA25953@rpc142.cs.man.ac.uk>
5318 Subject: [PATCH] Automatically SPAGAIN in the poor-man's-multicall API
5319 From: Robin Houston <robin@cpan.org>
5320 Date: Mon, 13 Mar 2006 12:48:21 +0000
5321 Message-ID: <20060313124821.GA11203@rpc142.cs.man.ac.uk>
5324 Forgot the ending \. Why did it still compile ?
5325 Branch: maint-5.8/perl
5326 ! cop.h embed.fnc pp_sort.c proto.h utf8.c
5327 !> AUTHORS embedvar.h ext/B/t/f_sort.t ext/List/Util/multicall.h
5328 !> global.sym makedef.pl op.c opcode.h opcode.pl perlapi.h
5329 !> pod/perlapi.pod pod/perlcall.pod pod/perldiag.pod pp_ctl.c
5330 !> pp_hot.c sv.c t/op/sort.t
5331 ____________________________________________________________________________
5332 [ 29755] By: nicholas on 2007/01/11 14:29:40
5335 Subject: [PATCH] Consting and localizing: Part LXVIII
5336 From: Andy Lester <andy@petdance.com>
5337 Date: Fri, 4 Nov 2005 15:12:56 -0600
5338 Message-ID: <20051104211256.GA12651@petdance.com>
5339 Branch: maint-5.8/perl
5340 !> deb.c embed.fnc embed.h locale.c pp_sys.c scope.c universal.c
5342 ____________________________________________________________________________
5343 [ 29754] By: nicholas on 2007/01/11 13:30:43
5346 Subject: futimes [PATCH]
5347 From: Gisle Aas <gisle@ActiveState.com>
5348 Date: 31 Oct 2005 13:53:53 -0800
5349 Message-ID: <lrk6ft8ia6.fsf_-_@caliper.activestate.com>
5352 Subject: Re: futimes [PATCH]
5353 From: Gisle Aas <gisle@ActiveState.com>
5354 Date: 01 Nov 2005 00:02:37 -0800
5355 Message-ID: <lrbr1494o2.fsf@caliper.activestate.com>
5356 Branch: maint-5.8/perl
5357 !> doio.c handy.h pod/perlfunc.pod t/io/fs.t
5358 ____________________________________________________________________________
5359 [ 29752] By: nicholas on 2007/01/11 12:41:42
5362 Subject: [PATCH] Etta James presents: More consting
5363 From: Andy Lester <andy@petdance.com>
5364 Date: Sun, 30 Oct 2005 23:44:13 -0600
5365 Message-ID: <20051031054413.GA10767@petdance.com>
5366 Branch: maint-5.8/perl
5368 !> cop.h doop.c hv.c numeric.c op.c perl.c pp_hot.c pp_sys.c sv.c
5370 ____________________________________________________________________________
5371 [ 29746] By: nicholas on 2007/01/10 15:52:19
5374 socketpair.t was written in 2001. At that time, Test::More got confused
5375 if you forked under it. Test::More 0.47 added support to detect forking
5376 which resolves this. Hence there is now no need to fork() in a BEGIN
5377 block, which causes issues on Win32 due to how pseudofork works.
5378 Branch: maint-5.8/perl
5379 !> ext/Socket/t/socketpair.t
5380 ____________________________________________________________________________
5381 [ 29737] By: nicholas on 2007/01/09 21:23:37
5382 Log: Conditionally compile out all op.c manipulation code for OP_THREADSV
5383 unless we are building for 5005threads, as nothing else can generate
5384 this op. (Arguably pre 5.8.0 time we could have changed the headers to
5385 not even have this op usually, but it's a tad late now and my time
5386 machine is still on pre-order).
5387 Branch: maint-5.8/perl
5389 ____________________________________________________________________________
5390 [ 29735] By: nicholas on 2007/01/09 12:48:39
5391 Log: We can get in the messy situation of the COP that PL_curcop pointed
5392 to getting freed, and as part of the same free overloading decides
5393 to look for DESTROY, which needs to *create* a GV, which in turn
5394 was expecting that PL_curcop pointed to something valid. So set
5395 PL_curcop to NULL if we're freeing the COP that it points to, and
5396 make Perl_gv_init() cope with a NULL PL_curcop.
5397 Branch: maint-5.8/perl
5399 ____________________________________________________________________________
5400 [ 29733] By: nicholas on 2007/01/09 11:12:58
5403 More core test cleanups. Mainly fixes to remove code that caused
5404 warnings, but there were a few bug fixes that were hidden by
5408 I/O is UTF-8, not "UNICODE"
5411 Add tests for two untested syntax error messages about \N
5414 Subject: [PATCH] Pulling ancient RCS comments
5415 From: Andy Lester <andy@petdance.com>
5416 Date: Sat, 19 Nov 2005 00:16:39 -0600
5417 Message-ID: <20051119061639.GA25086@petdance.com>
5420 Convert range.t to test.pl
5421 Branch: maint-5.8/perl
5422 !> (integrate 36 files)
5423 ____________________________________________________________________________
5424 [ 29726] By: nicholas on 2007/01/08 23:25:40
5425 Log: Unbreak 5005 threads - pp_threadsv can't be aliased to unimplemented_op
5426 for the 5005 threads case.
5427 Branch: maint-5.8/perl
5428 ! opcode.h opcode.pl
5429 ____________________________________________________________________________
5430 [ 29725] By: nicholas on 2007/01/08 22:09:41
5433 Update copyright years in .h files. Also, in .pl
5434 files that generate .h files, so they'll be ready
5437 [just the .pl files for now]
5438 Branch: maint-5.8/perl
5439 !> keywords.pl opcode.pl
5440 ____________________________________________________________________________
5441 [ 29722] By: nicholas on 2007/01/08 18:06:13
5446 BEGIN blocks should start a new stack, as they can be called as a
5447 side effect of "regular" Perl API calls within subroutines that have
5448 already cached the current stack's address. If they don't, any stack
5449 extension during the call may move the stack, rendering that cached
5450 value invalid without the cachee realising. (For example, PP code
5451 calling gv_fetchpv() which triggers a load of Errno.pm)
5454 Revert change #26110 (already reverted in maintperl by change 26182)
5457 Subject: Re: Perl_sighandler voodoo (was Re: Smoke [5.8.7] 26127 FAIL(XF) MSWin32 WinXP/.Net SP2 (x86/2 cpu))
5458 From: Robin Houston <robin@cpan.org>
5459 Date: Sun, 27 Nov 2005 00:43:13 +0000
5460 Message-ID: <20051127004313.GA7007@rpc142.cs.man.ac.uk>
5462 Simplification of the code in my_exit_jump() that unwinds context
5464 Branch: maint-5.8/perl
5467 ____________________________________________________________________________
5468 [ 29721] By: nicholas on 2007/01/08 15:51:22
5471 Don't warn about lack of docs for functions that appear twice in embed.fnc.
5474 Modify autodoc.pl to add read-only editor boilerplate for perlapi.pod
5478 In vim, modelines are not taken into account if they begin on the
5479 first character. Also, regenerate perlintern.pod.
5480 Branch: maint-5.8/perl
5481 !> autodoc.pl pod/perlapi.pod pod/perlguts.pod pod/perlintern.pod
5482 ____________________________________________________________________________
5483 [ 29720] By: nicholas on 2007/01/08 15:43:25
5486 Add -C to allowed $PERL5OPT options
5487 Add -C to the $PERL5OPT documentation (and added the missing -A too)
5488 t/run/runenv.t Could use some more tests about how supported
5489 and unsupported options in $PERL5OPT are handled
5490 Branch: maint-5.8/perl
5491 ! pod/perldiag.pod pod/perlrun.pod
5493 ____________________________________________________________________________
5494 [ 29163] By: nicholas on 2006/10/30 18:26:48
5497 Subject: Reworked PERL_TRACK_MEMPOOL patch
5498 From: "Jan Dubois" <jand@ActiveState.com>
5499 Date: Fri, 18 Nov 2005 11:38:24 -0800
5500 Message-ID: <003601c5ec77$a45eb260$2217a8c0@candy>
5502 [tweaked so as to remove the automatic define of -DPERL_TRACK_MEMPOOL
5504 Branch: maint-5.8/perl
5506 ____________________________________________________________________________
5507 [ 29141] By: nicholas on 2006/10/29 22:02:32
5509 [The Perl_magic_killbackrefs change from:]
5511 Remove the reference loop between symbol tables and typeglobs.
5512 Typeglobs now have a weak reference onto their symbol table.
5515 Mark all places where perl needs to look at a possibly-freed scalar
5516 with a macro SvIS_FREED(sv)
5517 Branch: maint-5.8/perl
5518 !> av.c mg.c op.c pad.c pp_hot.c sv.h
5519 ____________________________________________________________________________
5520 [ 29137] By: nicholas on 2006/10/29 20:23:57
5523 Add a comment about possible future refactoring of the pad code.
5526 Suppress gcc warnings when ignoring the return value of io_close(),
5527 as suggested by Gisle Aas.
5530 Fix indentation of apidoc for sv_2pvutf8
5531 (so perlapi.pod is correctly generated)
5534 Down with "warning: code has no effect"
5535 Branch: maint-5.8/perl
5536 !> XSUB.h embed.fnc pad.c pod/perlapi.pod proto.h sv.c
5537 ____________________________________________________________________________
5538 [ 29136] By: nicholas on 2006/10/29 20:01:41
5541 Fix breakages that prevended -DPERL_POISON from compiling.
5542 Branch: maint-5.8/perl
5544 ____________________________________________________________________________
5545 [ 29135] By: nicholas on 2006/10/29 19:31:39
5548 POD nit spotted by Jarkko
5551 Further pod nit spotted by Jarkko
5554 Fix nit in pod nit fix
5555 Branch: maint-5.8/perl
5557 ____________________________________________________________________________
5558 [ 29134] By: nicholas on 2006/10/29 19:28:47
5561 Subject: [PATCH] S_tokereport's unused parm
5562 From: Andy Lester <andy@petdance.com>
5563 Date: Mon, 31 Oct 2005 00:04:59 -0600
5564 Message-ID: <20051031060459.GC10767@petdance.com>
5565 Branch: maint-5.8/perl
5566 !> embed.fnc embed.h proto.h toke.c
5567 ____________________________________________________________________________
5568 [ 29132] By: nicholas on 2006/10/29 19:16:37
5571 Subject: Re: [PATCH] Re: [perl #37350] $#{@$aref} in debugger gives: Bizarre copy of ARRAY in leave
5572 From: Robin Houston <robin@cpan.org>
5573 Date: Oct 14, 2005 1:54 AM
5574 Message-ID: <20051013235457.GA23386@rpc142.cs.man.ac.uk>
5575 Branch: maint-5.8/perl
5576 ! mathoms.c op.c t/op/array.t
5577 !> embed.fnc embed.h global.sym op.h proto.h
5578 ____________________________________________________________________________
5579 [ 29129] By: nicholas on 2006/10/29 18:29:46
5582 Subject: proposal [perl #34301]: IO::Socket calls getpeername far too often
5583 From: Peter.Dintelmann@Dresdner-Bank.com (Peter Dintelmann)
5584 Date: Thu, 2 Jun 2005 13:34:49 +0200
5585 Message-ID: <E9A2605289D8D7468B1A21EC24E59D2101852447@naimucx5.muc.allianz>
5588 Subject: Re: IO::File performace issue
5589 From: gisle@ActiveState.com (Gisle Aas)
5590 Date: 27 Oct 2005 01:00:39 -0700
5591 Message-ID: <lrvezjv17c.fsf@caliper.activestate.com>
5593 Also includes a version bump for IO::File.
5596 Fixup the setsockopt usage message; missing OPTVAL.
5599 Subject: [PATCH] latest switch/say/~~
5600 From: Robin Houston <robin@cpan.org>
5601 Date: Sat, 17 Dec 2005 20:44:31 +0000
5602 Message-Id: <20051217204431.GB28940@rpc142.cs.man.ac.uk>
5605 Attempt at making IO::Handle backwards compatible again
5608 Given that IO::Socket is documented as exporting all of Socket's
5609 exports, there's no need for IO::Socket::INET or IO::Socket::UNIX to
5610 use both. (And re-exporting removes some of the efficiency of the new
5611 constants implementation)
5614 Don't warn about a directory being closed in the DESTROY for
5618 Subject: Avoid most getprotobyname/number calls in IO::Socket::INET
5619 From: Gisle Aas <gisle@ActiveState.com>
5620 Date: 18 Jan 2006 09:28:24 -0800
5621 Message-ID: <lr3bjlbg3r.fsf@caliper.activestate.com>
5624 Subject: Simplify &IO::Handle::say
5625 From: Gisle Aas <gisle@ActiveState.com>
5626 Date: 24 Jan 2006 05:01:28 -0800
5627 Message-ID: <lrzmll7pav.fsf@caliper.activestate.com>
5631 Branch: maint-5.8/perl
5632 !> ext/IO/ChangeLog ext/IO/IO.pm ext/IO/lib/IO/Dir.pm
5633 !> ext/IO/lib/IO/File.pm ext/IO/lib/IO/Handle.pm
5634 !> ext/IO/lib/IO/Socket.pm ext/IO/lib/IO/Socket/INET.pm
5635 !> ext/IO/lib/IO/Socket/UNIX.pm ext/IO/t/io_multihomed.t
5636 !> ext/IO/t/io_pipe.t ext/IO/t/io_sock.t ext/IO/t/io_taint.t
5637 !> ext/IO/t/io_tell.t ext/IO/t/io_udp.t ext/IO/t/io_unix.t
5638 ____________________________________________________________________________
5639 [ 29087] By: nicholas on 2006/10/22 23:09:33
5642 Give more information in the panic in ss_dup. (Although I'm not sure
5643 if croak() works at this point, given PerlIO's dependency on a
5644 functional interpreter.)
5647 Fix a bug introduced by change 29079
5650 Fix the other bug introduced by change 29079
5651 Branch: maint-5.8/perl
5653 ____________________________________________________________________________
5654 [ 29081] By: nicholas on 2006/10/22 21:00:37
5655 Log: No need to save the PVX to the save stack when saving a GV, as the
5656 string buffer is only used as part of get/set magic when reading/
5657 writing the stringified form. Keep the old save type in case any
5658 code out there is still generating the old format on the save stack.
5659 Branch: maint-5.8/perl
5660 ! scope.c scope.h sv.c
5661 ____________________________________________________________________________
5662 [ 29080] By: nicholas on 2006/10/22 20:12:38
5665 const the variable used for the save stack type in Perl_ss_dup().
5666 Branch: maint-5.8/perl
5668 ____________________________________________________________________________
5669 [ 29022] By: nicholas on 2006/10/15 09:41:52
5673 Branch: maint-5.8/perl
5674 !> XSUB.h pod/perlapi.pod
5675 ____________________________________________________________________________
5676 [ 29021] By: nicholas on 2006/10/15 09:22:52
5679 Subject: Re: [PATCH] use snprintf/strlcpy/strlcat when useful
5680 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
5681 Date: Tue, 25 Apr 2006 18:23:39 +0300
5682 Message-ID: <444E3EFB.8020503@gmail.com>
5685 Fix typo in function call
5686 Branch: maint-5.8/perl
5687 !> op.c perl.h perlio.c pp_ctl.c regcomp.c sv.c toke.c
5688 !> universal.c util.c
5689 ____________________________________________________________________________
5690 [ 29014] By: nicholas on 2006/10/14 16:42:04
5693 Message-ID: <42D0F25E.3040801@gmail.com>
5694 Date: Sun, 10 Jul 2005 13:03:10 +0300
5695 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
5696 Subject: [PATCH] yet another way of debugging memory allocations
5698 adds PERL_MEM_LOG and PERL_MEM_LOG_STDERR options
5701 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
5702 Date: Sun, 10 Jul 2005 21:50:27 +0300
5703 Subject: [PATCH] yet another way of debugging memory allocations
5704 Message-ID: <42D16DF3.4040806@gmail.com>
5709 Subject: [patch: handy.c] update Newx API pod to mention PERL_MEM_LOG build opt
5710 From: Jim Cromie <jcromie@divsol.com>
5711 Date: Mon, 11 Jul 2005 19:18:02 -0600
5712 Message-ID: <42D31A4A.1020305@divsol.com>
5714 (with some minor tweaks)
5717 Change New*() to Newx*() in various comments and documentation
5720 Subject: Make PERL_MEM_LOG more portable.
5721 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
5722 Date: Mon, 11 Jul 2005 15:29:46 +0300
5723 Message-Id: <42D2663A.4050204@gmail.com>
5726 Subject: Re: how to build with -DPERL_MEM_LOG ?
5727 From: Andy Dougherty <doughera@lafayette.edu>
5728 Date: Fri, 3 Feb 2006 11:55:58 -0500 (EST)
5729 Message-ID: <Pine.SOC.4.62.0602031129530.9630@maxwell.phys.lafayette.edu>
5730 Branch: maint-5.8/perl
5731 !> handy.h pod/perlapi.pod pod/perlhack.pod util.c x2p/a2p.h
5732 ____________________________________________________________________________
5733 [ 29013] By: nicholas on 2006/10/14 15:13:34
5736 silence some compiler warnings
5737 Branch: maint-5.8/perl
5738 !> embed.fnc gv.h proto.h
5739 ____________________________________________________________________________
5740 [ 28854] By: nicholas on 2006/09/16 17:19:07
5743 hash key code cleanup
5744 Branch: maint-5.8/perl
5745 !> embed.fnc hv.c hv.h proto.h
5746 ____________________________________________________________________________
5747 [ 28852] By: nicholas on 2006/09/16 16:20:26
5750 Skip PL_sig_sv when PERL_IMPLICIT_CONTEXT is defined
5751 (rather than when PERL_IMPLICIT_SYS is defined)
5752 Branch: maint-5.8/perl
5754 ____________________________________________________________________________
5755 [ 28775] By: nicholas on 2006/09/02 16:01:36
5758 Change the generation of {} and [] from 3 ops to 1, and avoid 1 mortal
5759 on the tempstack, by augmenting pp_anonlist and pp_anonhash to accept
5760 OPf_SPECIAL to mean "return a reference to the aggregate" on the stack
5761 rather than the aggregate itself.
5762 Branch: maint-5.8/perl
5763 !> ext/B/B/Deparse.pm ext/B/t/concise-xs.t ext/B/t/f_map.t
5764 !> ext/B/t/f_sort.t ext/Devel/Peek/t/Peek.t op.c op.h pp.c
5765 ____________________________________________________________________________
5766 [ 28443] By: nicholas on 2006/06/27 22:39:26
5769 A Configure probe for C99 variadic macros, based on code from Jarkko.
5772 Oops. Fix bad #! lines when not using userelocatableinc
5775 Re-generation after backports of
5776 #28188 Only ask about MAD for 5.9.0 and greater. Otherwise silently
5777 #28189 A Configure probe for C99 variadic macros, based on code from
5778 #28202 Take advantage of the bug that binexp ignores the Configure
5779 #28263 Oops. Fix bad #! lines when not using userelocatableinc
5780 One small cleanup fix added. Some small re-ordering. Some whitespace.
5783 If I needed this now, I'll probably need it next time too :)
5787 Branch: maint-5.8/perl
5788 !> Configure Cross/config.sh-arm-linux NetWare/config.wc
5789 !> Porting/Glossary Porting/config.sh config_h.SH configure.com
5790 !> epoc/config.sh handy.h plan9/config_sh.sample uconfig.sh
5791 !> win32/config.bc win32/config.gc win32/config.vc
5792 !> win32/config.vc64
5793 ____________________________________________________________________________
5794 [ 28442] By: nicholas on 2006/06/27 22:20:20
5797 OK, Win32 must no have snprintf()/vsnprintf
5800 I was mistaken. Borland and gcc do have snprintf() and vsnprintf()
5804 Subject: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
5805 From: Abe Timmerman <abe@ztreet.demon.nl>
5806 Date: Sun, 30 Apr 2006 15:15:24 +0200
5807 Message-Id: <200604301515.24580.abe@ztreet.demon.nl>
5810 Subject: RE: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m) MSWin32 Win2000 SP4 (x86/1 cpu))
5811 From: "Jan Dubois" <jand@ActiveState.com>
5812 Date: Mon, 1 May 2006 18:55:11 -0700
5813 Message-ID: <08ff01c66d8b$7282e320$2217a8c0@candy>
5815 Subject: Re: [PATCH] fix 27987 for MSVC (was Re: Smoke [5.9.4] 28020 FAIL(m)
5816 From: "H.Merijn Brand" <h.m.brand@xs4all.nl>
5817 Date: Tue, 2 May 2006 09:23:51 +0200
5818 Message-ID: <20060502092351.7bae0896@pc09>
5821 Ahem. And here's the rest of #28051...
5824 Sigh. Third time lucky.
5825 Branch: maint-5.8/perl
5826 !> win32/config.vc win32/config.vc64 win32/config_H.bc
5827 !> win32/config_H.gc win32/config_H.vc win32/config_H.vc64
5829 ____________________________________________________________________________
5830 [ 28441] By: nicholas on 2006/06/27 22:15:42
5833 Support for -DDEBUGGING and its alias -DEBUGGING
5834 Branch: maint-5.8/perl
5835 !> Configure INSTALL config_h.SH
5836 ____________________________________________________________________________
5837 [ 28440] By: nicholas on 2006/06/27 22:00:05
5840 First stab at a more reliable Glossary. This now is (again)
5841 mostly generated. (Well, It's a repair to the existing version
5842 "based on" a generated version, which is now well sorted, but
5843 still incomplete for less obvious reasons).
5844 Branch: maint-5.8/perl
5846 ____________________________________________________________________________
5847 [ 28439] By: nicholas on 2006/06/27 21:54:10
5850 Subject: [PATCH] Support for __builtin_expect and __builtin_choose_expr
5851 From: Andy Lester <andy@petdance.com>
5852 Date: Wed, 28 Dec 2005 15:34:08 -0600
5853 Message-ID: <20051228213408.GB26033@petdance.com>
5856 Make Win32 configuration changes for HAS_BUILTIN_CHOOSE_EXPR and
5860 Add d_builtin_choose_expr and d_builtin_expect to configure.com as
5864 Complete change #27407/27410 on Win32 and tidy up change #27372
5867 Subject: [PATCH] Reapply change 24432
5868 From: "Jan Dubois" <jand@ActiveState.com>
5869 Date: Fri, 10 Mar 2006 18:21:39 -0800
5870 Message-ID: <01b001c644b2$879a1f50$6062a8c0@candy>
5871 Branch: maint-5.8/perl
5872 !> Configure Porting/Glossary config_h.SH configure.com perl.h
5873 !> win32/config.bc win32/config.gc win32/config.vc
5874 !> win32/config.vc64 win32/config_H.bc win32/config_H.gc
5875 !> win32/config_H.vc win32/config_H.vc64
5876 ____________________________________________________________________________
5877 [ 28438] By: nicholas on 2006/06/27 21:34:26
5880 Subject: [perl #38385] _h2ph_pre.ph / $Config{cppsymbols} omits gcc-3.4+ cpp "predefined macros"
5881 Date: Tue, 31 Jan 2006 09:50:32 -0800
5882 From: Jason Vas Dias (via RT) <perlbug-followup@perl.org>
5885 #27363 broke HP-UX (and others). if [[ ... ]] syntax not supported
5886 Branch: maint-5.8/perl
5887 !> Configure utils/h2ph.PL
5888 ____________________________________________________________________________
5889 [ 28437] By: nicholas on 2006/06/27 21:21:12
5892 Subject: Patch for perl to compile/work on DragonFlyBSD
5893 From: Robert Sebastian Gerus <arachnist@gmail.com>
5894 Date: Tue, 14 Feb 2006 17:27:52 +0100
5895 Message-ID: <4a1e16420602140827w17fd6595w@mail.gmail.com>
5898 Added hints/dragonfly.sh for #27189
5901 Additional hints needed to build threaded Perls on NetBSD.
5902 Branch: maint-5.8/perl
5903 +> hints/dragonfly.sh
5904 !> Configure MANIFEST Makefile.SH hints/netbsd.sh
5905 ____________________________________________________________________________
5906 [ 28436] By: nicholas on 2006/06/27 20:49:08
5909 Add probe for snprintf () and vsnprintf ()
5911 Subject: [PATCH] snprintf() and vsnprintf() (was Re: [PATCH] Configure: stdio char (un)signedness)
5912 From: Steve Peters <steve@fisharerojo.org>
5913 Date: Mon, 2 Jan 2006 09:37:27 -0600
5914 Message-ID: <20060102153727.GA14247@mccoy.peters.homeunix.org>
5917 Add snprintf() and vsnprintf() to the various Win32 configuration
5921 Added snprintf() and vsnprintf() to configure.com as 'undef'.
5924 Reorder changes made in change 26630
5926 (Keep the order in win32/config.* and win32/config_H.* the same as in
5927 Configure and config_H.SH for easier diffing)
5930 Test if the probed availability of v?snprintf () is
5931 actually usable. Thanks to Russ and Jarkko.
5934 Make v?snprintf available on VMS v7.3-2 and later and clean up
5935 some other version-dependency checks.
5936 Branch: maint-5.8/perl
5937 !> Configure Porting/Glossary config_h.SH configure.com handy.h
5938 !> win32/config.bc win32/config.gc win32/config.vc
5939 !> win32/config.vc64 win32/config_H.bc win32/config_H.gc
5940 !> win32/config_H.vc win32/config_H.vc64
5941 ____________________________________________________________________________
5942 [ 28233] By: nicholas on 2006/05/19 15:01:03
5945 Subject: two [PATCH]es: dVAR for malloc.c, and a signed/unsigned char*
5946 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
5947 Date: Fri, 28 Apr 2006 21:04:59 +0300
5948 Message-ID: <4452594B.4040609@gmail.com>
5949 [the signed/unsigned part]
5952 Subject: [PATCH] signed vs unsigned char * nit
5953 From: Jarkko Hietaniemi <jhi@cc.hut.fi>
5954 Date: Sat, 29 Apr 2006 20:59:29 +0300 (EEST)
5955 Message-Id: <200604291759.k3THxTji032009@kosh.hut.fi>
5956 Branch: maint-5.8/perl
5958 ____________________________________________________________________________
5959 [ 28220] By: nicholas on 2006/05/17 21:36:24
5961 Branch: maint-5.8/perl
5962 ! Changes patchlevel.h
5963 ____________________________________________________________________________
5964 [ 28213] By: nicholas on 2006/05/16 22:44:31
5967 Fix two errors found by Coverity.
5968 Branch: maint-5.8/perl
5970 ____________________________________________________________________________
5971 [ 28212] By: nicholas on 2006/05/16 21:23:48
5973 The perlio.c part of:
5975 Subject: [PATCH] Etta James presents: More consting
5976 From: Andy Lester <andy@petdance.com>
5977 Date: Sun, 30 Oct 2005 23:44:13 -0600
5978 Message-ID: <20051031054413.GA10767@petdance.com>
5981 Subject: [PATCH] perlio.c consting
5982 From: Andy Lester <andy@petdance.com>
5983 Date: Oct 31, 2005 6:54 PM
5984 Message-ID: <20051031175411.GA18480@petdance.com>
5985 Branch: maint-5.8/perl
5987 ____________________________________________________________________________
5988 [ 28211] By: nicholas on 2006/05/16 17:29:06
5991 The "Change installation prefix, if necessary." code needs to use
5992 the ~ expanded prefix and installprefix in the substitution.
5995 The existing order of the checks for whether man1dir and man3dir were
5996 ' ' were obviously buggy, because they set installman[13]dir only for
5997 the next if block to set it again. Reordering removes that daftness.
6000 Refactor most of the cut & paste for setting prefix/prefixexp variables
6001 and the "Change installation prefix, if necessary" into a new
6002 "function" setprefixvar (which I assume will become Setprefixvar.U)
6003 How many platforms still have Bourne shells that can't do shell
6004 functions? Someone's going to say Irix?
6007 Split break out the installprefix code from setprefixvar, which allows
6008 the remaining 8 places to call the common prefix conversion code.
6011 First stab at rather shaky Configure support for relocatable @INC.
6012 Seems to be installing rather more that it's supposed to be.
6015 Somewhat less shaky relocatable @INC support. You can install things
6016 to the current location of the perl tree, move it, install more things,
6017 move it again, lather rinse repeat.
6018 Configure with -Duserelocatableinc
6021 Make the original versions of relocated paths available from
6022 %Config::Config with the prefix "raw_". Not sure if "raw_" is the
6026 make configpm only update Config.pm, Config_heavy.pl if changed.
6027 Should stop spurious rebuilding of extensions.
6028 Also add documentation and copyright to top of file.
6031 Regeneration after backports of #27447, #27484, #27485, #27488,
6032 #27489, #27490, #27491, and #27632
6035 Regeneration of Glossary and the underlying tools.
6038 Only ask about MAD for 5.9.0 and greater. Otherwise silently select
6042 Simplify the implementation in ExtUtils::Packlist::read.
6045 Encode run-time relocation of file names in packlist with a relocate_as
6046 attribute. With this, unmodified instmodsh correctly verifies installed
6047 modules even after relocation.
6050 Take advantage of the bug that binexp ignores the Configure
6051 installprefix, by using initialinstalllocation rather than binexp
6052 to determine the #! line for installed scripts. This way they are at
6053 least correct initially for a relocatable @INC perl, rather than
6054 starting as .../../bin/perl
6058 [Make the original versions of relocated paths available from
6059 %Config::Config with the prefix "raw_". Not sure if "raw_" is the
6061 Branch: maint-5.8/perl
6062 !> Configure Porting/Glossary config_h.SH configpm installperl
6063 !> lib/ExtUtils/Packlist.pm
6064 ____________________________________________________________________________
6065 [ 28208] By: nicholas on 2006/05/16 16:09:59
6068 Subject: Re: [PATCH] Re: replacing "inuse" Win files (was Re: Help with a Cwd.pm build error)
6069 From: demerphq <demerphq@gmail.com>
6070 Date: Tue, 31 Jan 2006 09:55:25 +0100
6071 Message-ID: <9b18b3110601310055h7aeb9aa1gdc2d63cc56d97768@mail.gmail.com>
6074 Get version numbers in line with what's in the CPAN
6075 EU::MM 6.30_01 tarball. (ExtUtils::Install has local changes,
6076 so bump its version number.)
6079 Upgrade to ExtUtils-Install-1.39
6082 Upgrade to ExtUtils-Install-1.40
6083 Branch: maint-5.8/perl
6084 !> lib/ExtUtils/Install.pm lib/ExtUtils/Installed.pm
6085 !> lib/ExtUtils/Packlist.pm lib/ExtUtils/t/Install.t
6086 !> lib/ExtUtils/t/Installed.t lib/ExtUtils/t/Packlist.t
6087 ____________________________________________________________________________
6088 [ 28207] By: nicholas on 2006/05/16 13:57:39
6091 Add a Configure question for mad (Misc Attribute Decoration - Larry's
6092 perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h
6096 Add a Configure question for mad (Misc Attribute Decoration - Larry's
6097 perl5 to perl[56] convertor), which if set defines PERL_MAD in config.h
6100 Introduce d_sitearch and d_inc_version_list config.sh variables.
6101 These allow me to set sitearch and sitelib to be the same without
6102 ending up with duplicate entries in @INC.
6104 Basically the same way the old d_archlib variable is used.
6107 Populate pre-canned config.sh files with
6108 d_archlib and d_inc_version_list.
6112 Glossary part for #27447 (madlyh, madlyobj, madlysrc)
6113 Branch: maint-5.8/perl
6114 !> Configure Cross/config.sh-arm-linux NetWare/config.wc
6115 !> Porting/Glossary config_h.SH configure.com epoc/config.sh
6116 !> perl.c plan9/config_sh.sample uconfig.sh win32/config.bc
6117 !> win32/config.gc win32/config.vc win32/config.vc64
6119 ____________________________________________________________________________
6120 [ 28204] By: nicholas on 2006/05/16 12:57:39
6123 Subject: Re: relaxing TEST restrictions (was: Re: 5.9.3 approaches)
6124 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
6125 Date: Mon, 9 Jan 2006 06:38:25 -0800
6126 Message-ID: <20060109143825.GB4132@efn.org>
6129 Revert change 24461, now that change 26757 allows TEST
6130 to accept extra output from module tests
6133 TEST needs to binmode the file handle that is reading the TAP, else it
6134 can get killed if TEST's environment has made it default all opens to
6135 UTF-8 but the TAP is not UTF-8.
6136 Branch: maint-5.8/perl
6137 !> cygwin/perlld.in t/TEST
6138 ____________________________________________________________________________
6139 [ 28203] By: nicholas on 2006/05/16 12:08:39
6142 3 calls to strlen() we can avoid.
6145 Eliminate duplicate strlen()s by explicitly calling it.
6146 Note two places for future audit with FIXME.
6147 Convert a SvPVX_const to SvPVX_const_nolen, where the length is unused.
6150 Eliminate some unnecessary strlen()s
6153 Moving the 4 writes of PL_no_mem followed by exit(1) to a static
6154 function makes the object code slightly smaller.
6157 It helps to actually *remove* the now-superfluous strlen().
6158 (An addendum to 26050.)
6161 Remove superfluous strlen() from pp_require().
6164 Simplify Perl_allocmy slightly, and cope better with the name is ""
6168 Eliminate two more strlen()s, by using the return value of sprintf().
6171 Subject: [PATCH] ff_chop.patch redux
6172 From: Andy Lester <andy@petdance.com>
6173 Date: Mon, 21 Nov 2005 21:16:14 -0600
6174 Message-ID: <20051122031614.GB19424@petdance.com>
6177 Subject: [PATCH] Remove redundant SvUTF8_on() calls
6178 From: Gisle Aas <gisle@ActiveState.com>
6179 Date: 30 Nov 2005 09:28:54 -0800
6180 Message-ID: <lrhd9uhwo9.fsf@caliper.activestate.com>
6181 Branch: maint-5.8/perl
6182 !> doio.c op.c perl.c perlio.c pp.c pp_ctl.c sv.c toke.c util.c
6183 ____________________________________________________________________________
6184 [ 28201] By: nicholas on 2006/05/15 16:44:06
6188 [with modification - the extra argument to incpush was supposed to
6190 Branch: maint-5.8/perl
6192 ____________________________________________________________________________
6193 [ 28199] By: nicholas on 2006/05/15 16:20:18
6196 Move the setting of $^X ahead of the initialisation of @INC
6199 Move the definition of the S_procself_val() function before
6200 the point where it's used
6203 Relocatable @INC entries for Unix.
6204 (With appropriate fixups in Config.pm to complete the illusion)
6205 Currently can only be enabled with hackery to config.sh
6206 TODO - proper Configure support, and support for otherlibdirs in
6210 Oops. You can't add new entries to config_h.SH without making some
6211 sort of corresponding defined/undefined value in config.sh somehow.
6214 Bother. It helps if you also propagate the new entry to config.sh
6217 Subject: [PATCH] Re: Smoke [5.9.2] 23675 FAIL(m) openvms E8.2 (Alpha/4 cpu)
6218 From: "Craig A. Berry" <craigberry@mac.com>
6219 Message-ID: <41CB6BD1.8030207@mac.com>
6220 Date: Thu, 23 Dec 2004 19:07:29 -0600
6223 Don't do the ... expansion on archlib, sitelib etc, given that
6224 everyone should already be using archlibext etc
6225 Add the extra special case code for otherlibdirs
6228 Rebuilt after backport start for 23674, 23675, and 23676
6230 (and the configpm part of)
6232 Subject: [PATCH] Symbian port of Perl
6233 From: <jarkko.hietaniemi@nokia.com>
6234 Date: Mon, 18 Apr 2005 13:18:30 +0300
6235 Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D653@esebe105.NOE.Nokia.com>
6236 Branch: maint-5.8/perl
6237 !> Configure Porting/Glossary configpm configure.com embed.fnc
6238 !> embed.h perl.c proto.h
6239 ____________________________________________________________________________
6240 [ 28191] By: nicholas on 2006/05/14 11:01:39
6243 Upgrade to Test::Harness 2.57_05
6246 Subject: Re: TODO tests and test::harness
6247 From: demerphq <demerphq@gmail.com>
6248 Date: Thu, 20 Apr 2006 22:36:08 +0200
6249 Message-ID: <9b18b3110604201336k5a974f28h732a2819853b995@mail.gmail.com>
6252 Assimilate Test::Harness 2.57_06
6255 Upgrade to Test::Harness 2.58.
6256 Branch: maint-5.8/perl
6257 +> lib/Test/Harness/Util.pm
6258 !> MANIFEST lib/Test/Harness.pm lib/Test/Harness/Assert.pm
6259 !> lib/Test/Harness/Changes lib/Test/Harness/Point.pm
6260 !> lib/Test/Harness/Straps.pm lib/Test/Harness/TAP.pod
6261 !> lib/Test/Harness/bin/prove lib/Test/Harness/t/inc_taint.t
6262 !> lib/Test/Harness/t/prove-globbing.t
6263 !> lib/Test/Harness/t/prove-switches.t lib/Test/Harness/t/strap.t
6264 !> lib/Test/Harness/t/test-harness.t lib/Test/Harness/t/version.t
6265 ____________________________________________________________________________
6266 [ 28184] By: nicholas on 2006/05/12 21:35:03
6267 Log: Casts to cope with non-const function prototypes in maint.
6268 Branch: maint-5.8/perl
6269 ! doio.c pp_ctl.c pp_sys.c
6270 ____________________________________________________________________________
6271 [ 28182] By: nicholas on 2006/05/12 18:29:48
6274 Ensure that public I, N and P flags are off when SvTAINT is called on
6275 something that already has taint magic.
6278 Convert utftaint.t to test.pl (from Test.pm) and provide it with
6279 tainted() from taint.t to remove the dependency on Scalar::Util.
6280 (So it will now work with miniperl)
6283 Turn of tainting locally inside swash_init(), as the internal
6284 implementation of the regexp engine has nothing to do with user data,
6285 so when and where it happens to call require is agnostic of the current
6286 expression's taintedness.
6289 save_re_context() and even errsv_save = newSVsv(ERRSV); can turn
6290 PL_tainted back on, so defer turning if off as late as possible.
6291 This gets lib/locale.t working once more.
6292 Branch: maint-5.8/perl
6293 !> sv.c t/op/utftaint.t utf8.c
6294 ____________________________________________________________________________
6295 [ 28170] By: nicholas on 2006/05/11 21:22:41
6298 Subject: [PATCH] blead 25801: Symbian batch of today
6299 From: <jarkko.hietaniemi@nokia.com>
6300 Date: Wed, 19 Oct 2005 16:19:23 +0300
6301 Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A663@esebe105.NOE.Nokia.com>
6304 Subject: [PATCH] Symbian update blead@26025
6305 From: <jarkko.hietaniemi@nokia.com>
6306 Date: Mon, 7 Nov 2005 13:32:15 +0200
6307 Message-ID: <B356D8F434D20B40A8CEDAEC305A1F24E7A70C@esebe105.NOE.Nokia.com>
6308 Branch: maint-5.8/perl
6309 !> doio.c perl.c perl.h pp_sys.c
6310 ____________________________________________________________________________
6311 [ 28169] By: nicholas on 2006/05/11 20:23:59
6314 Subject: Re: [perl #38619] Bug in lc and uc (interaction between UTF-8, substr, and lc/uc)
6315 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
6316 Date: Sat, 25 Feb 2006 18:16:45 +0900
6317 Message-Id: <20060225180934.FCC3.BQW10602@nifty.com>
6320 Fix bug 34297 (length of overloaded UTF-8 strings)
6323 lc plus an 8 bit locale could mangle UTF-8 values returned by
6324 overloaded stringification.
6327 uc plus an 8 bit locale could get confused by UTF-8 values returned by
6328 overloaded stringification.
6331 lcfirst/ucfist plus an 8 bit locale could mangle UTF-8 values
6332 returned by overloaded stringification.
6335 There were more ways to break uc/lc/ucfirst/lcfirst even without
6336 use 'locale'; so test for them too. Correct the skip count.
6339 print couldn't correctly handle surprises from UTF-8 overloading.
6342 syswrite couldn't correctly handle surprises from UTF-8 overloading.
6343 As part of fixing this, syswrite now tries to take advantage of the
6344 UTF-8 cache logic for lengths and offsets on regular scalars.
6347 index and rindex couldn't correctly handle surprises from UTF-8
6351 Dave noticed that change 28022 was wrong - should read is_index
6352 rather than just index.
6355 We had no tests that covered the grow paths in pp_uc and pp_lc.
6358 do_vop() couldn't correctly handle surprises from UTF-8 overloading.
6361 One part of pp_pack couldn't correctly handle surprises from UTF-8
6363 Branch: maint-5.8/perl
6365 !> MANIFEST doio.c doop.c pp.c pp_pack.c pp_sys.c t/op/lc.t
6366 ____________________________________________________________________________
6367 [ 28167] By: nicholas on 2006/05/11 16:08:47
6368 Log: Die die die die die! And stay dead, please.
6369 Branch: maint-5.8/perl
6370 - ext/Encode/META.yml
6371 ____________________________________________________________________________
6372 [ 28165] By: nicholas on 2006/05/11 16:01:23
6375 Mark more static Encode data structures as const.
6378 use more 'const' in the Encode data structures.
6381 Pod nit in Encode.pm, found by Marc Lehmann in RT #36949.
6384 Don't build manpages for Encode and Unicode::Normalize
6385 (when compiling perl manpages are built afterwards, not
6386 by MakeMaker like when installing modules.) This fix a
6387 bootstrap problem (now that Pod::Man uses POSIX.)
6390 Upgrade to Encode 2.14
6393 Avoid warning with MS Visual C compiler.
6394 Encode.xs(443) : warning C4761: integral size mismatch in argument; conversion supplied
6397 There should be only one META.yml file
6400 Coverity notes that resource are leaked in the unfinished and never
6401 called function _utf8_to_bytes.
6404 Upgrade to Encode-2.15
6407 Upgrade to Encode 2.16
6410 Ressurect change 27824, which plugs a resource leak in uncalled code.
6413 Upgrade to Encode-2.17
6414 Branch: maint-5.8/perl
6415 +> ext/Encode/t/from_to.t
6416 - ext/Devel/PPPort/META.yml
6417 !> (integrate 70 files)
6418 ____________________________________________________________________________
6419 [ 28164] By: nicholas on 2006/05/11 13:34:17
6422 The logic to use SVt_NV or SVt_PVNV is in sv_upgrade, so no need to
6423 dupliate it in sv_2nv. Also, the final sv_upgrade is never called.
6426 Simplify the SvGMAGIC code in sv_2nv, removing duplicated checks to
6427 warn for uninitialized values.
6430 Simplify the SvGMAGIC code in sv_[ipu]v_flags.
6433 Duplicate the AMAGIC temporary variable consting from sv_2iv_flags into
6434 sv_2uv_flags, sv_2nv and sv_2pv_flags.
6437 The THINKFIRST check after the GMAGICAL check in sv_2iv_flags and
6438 sv_2uv_flags should have been else if.
6441 The IV/UV choice can be made inside uiv_2buf rather than sv_2pv_flags.
6444 Pull the definition of olderrno in sv_2pv_flags into the block where
6446 Branch: maint-5.8/perl
6448 ____________________________________________________________________________
6449 [ 28163] By: nicholas on 2006/05/11 13:08:38
6452 You can't there from here. (Dead code in sv_2pv_flags)
6455 Use the return value of sprintf in sv_2pv_flags. Remove dead code.
6458 Untease the regexp stringification from the reference naming in
6459 sv_2pv_flags. (Lots of re-indentation, little real change)
6462 As they are now the same, can fold the entire switch statement for
6463 reference type in sv_2pv_flags into a call to sv_reftype.
6466 Clone the brief return logic and thereby remove a goto.
6469 Move the scope of origsv inwards, and rename variables to avoid the
6470 need to re-assign to sv.
6473 Make all the return statements closer to the final calcuation of the
6474 returned value in the reference stringification code. Pull variables
6475 into tigher scope which also allows some to become const.
6478 sv_2pv_flags shouldn't return a constant string "NULLREF" - it was the
6479 only constant non-"" string returned.
6482 Eliminate all the gotos in sv_2pv_flags, by moving the tokensave*
6483 code into the GMAGIC block.
6486 Eliminate an unneeded local variable.
6489 Don't use Copy for 1 and 2 character string constants.
6492 Pull the regexp stringification code out into S_stringify_regexp, to
6493 make sv_2pv_flags clearer.
6496 Inline asIV and asUV, as each is only used once, and it distracts from
6497 the patterns of repeated code in sv_2iv_flags, sv_2uv_flags, sv_2nv
6498 and sv_2pv_flags. Add a comment noting the return path from the end of
6499 the SvGMAGICAL case to all 4.
6502 Update embed.fnc and headers after change 26345 (spotted by Rafael)
6503 Branch: maint-5.8/perl
6505 !> embed.fnc embed.h proto.h
6506 ____________________________________________________________________________
6507 [ 28162] By: nicholas on 2006/05/11 12:41:36
6510 Subject: [PATCH] ext/IPC/SysV/t/ipcsysv.t using test.pl
6511 From: David Landgren <david@landgren.net>
6512 Message-ID: <445B694B.8060901@landgren.net>
6513 Date: Fri, 05 May 2006 17:03:39 +0200
6515 Subject: Re: [PATCH] ext/IPC/SysV/t/sem.t using test.pl
6516 From: David Landgren <david@landgren.net>
6517 Message-ID: <445B75EF.3000100@landgren.net>
6518 Date: Fri, 05 May 2006 17:57:35 +0200
6521 Subject: Re: [PATCH] ext/IPC/SysV/t/ipcsysv.t using test.pl
6522 From: David Landgren <david@landgren.net>
6523 Date: Tue, 09 May 2006 13:03:22 +0200
6524 Message-ID: <446076FA.6010409@landgren.net>
6525 Branch: maint-5.8/perl
6526 !> ext/IPC/SysV/t/ipcsysv.t ext/IPC/SysV/t/sem.t
6527 ____________________________________________________________________________
6528 [ 28161] By: nicholas on 2006/05/11 12:16:42
6531 Assume that if runperl is called under tainting, that the caller really
6532 really wanted to run perl, so brute force untaint everything.
6535 Move all the de-tainting logic for runperl into test.pl.
6538 Taint handling for runperl:
6539 - better taint detection (switch -T in command)
6540 - $ENV{PATH} stripping of writeable directories on unix/linux
6543 Also strip $ENV{PATH} dirs writable by world.
6544 The stripping was introduced in change 27364 to improve taint handling.
6547 Avoid "uninitialized value" warnings during 'make test'.
6548 My system is set up with a few PATH entries I'm not allowed
6549 to access, so stat() fails for these.
6552 Subject: Re: [PATCH] provide diag() and don't use ++ in test.pl
6553 From: David Landgren <david@landgren.net>
6554 Date: Mon, 01 May 2006 15:50:03 +0200
6555 Message-ID: <4456120B.3000302@landgren.net>
6557 Plus some additional comment (also from David) about WHY not to
6561 Change 28037 broke t/op/each.t when running with TEST.
6562 Branch: maint-5.8/perl
6564 ____________________________________________________________________________
6565 [ 28160] By: nicholas on 2006/05/11 12:14:58
6568 Micro-optimisation: use PL_globalstash instead of looking up
6569 CORE::GLOBAL::require by name
6572 Code in wait4pid was calling hv_delete with the hash iterator
6573 currently on that entry. On aggregate this does more work, beacuse
6574 the next call to hv_iterinit() would spot the flag, and have to call
6575 the delete routine, while in the meantime any new entries can't
6579 Subject: Re: [PATCH] minor speed-up for pp_push()
6580 From: Tassilo von Parseval <tassilo.von.parseval@rwth-aachen.de>
6581 Date: Tue, 25 Oct 2005 08:11:42 +0200
6582 Message-id: <20051025061141.GA2256@ethan>
6583 Branch: maint-5.8/perl
6585 ____________________________________________________________________________
6586 [ 28159] By: nicholas on 2006/05/11 11:55:15
6589 Indent some of the #ifdef/#define/#endif to make the nesting clearer.
6590 Simplify SvPV_free slightly.
6592 [just the second part]
6593 Branch: maint-5.8/perl
6595 ____________________________________________________________________________
6596 [ 28158] By: nicholas on 2006/05/11 10:36:47
6599 Add my_sprintf, which is usually just a macro for sprintf, for those
6600 places where we want to use the return value of sprintf. This allows
6601 a wrapper to be used for platforms where the C library isn't ANSI-
6605 Replace all the strlen()s related to PL_pidstatus with the return
6609 Use the return value from sprintf and avoid a call to strlen
6612 Use the return value from sprintf().
6615 s/printf/my_printf/ because we're using the return value.
6616 My mistake spotted by Gisle.
6617 Branch: maint-5.8/perl
6618 !> embed.fnc embed.h global.sym makedef.pl perl.h proto.h
6619 !> regcomp.c sv.c taint.c universal.c util.c
6620 ____________________________________________________________________________
6621 [ 28157] By: nicholas on 2006/05/11 10:03:53
6624 Add TODO tests for UTF8 encoded soft references
6627 Stage 1 of utf8 support for soft references.
6628 Change gv_fetchpv to take a UTF8 flag, as gv_fetchpvn_flags
6629 Add gv_fetchsv to look up a GV by SV rather than a char * pointer
6630 Provide a backwards compatability gv_fetchpv
6631 Migrate from gv_fetchpv to gv_fetchsv where the caller was grabbing
6632 the pointer from an SV
6633 All tests still pass.
6636 Pull the am-I-utf8-or-not logic into one place (S_newSV_maybe_utf8)
6637 as I think that it will be needed for utf8 soft references.
6640 gv_fetchpv, gv_fetchpvn and gv_fetchsv take a bitmask of flags, rather
6641 than a simple boolean, so passing FALSE or TRUE is bogus.
6644 The lref argument of sv_2cv is actually passed onwards to gv_fetchsv,
6645 so it is a bitmap of flag bits rather than simple TRUE/FALSE.
6648 Make Perl_gv_fetchpvn_flags actually heed the passed in length.
6649 This means that \0 bytes in symbolic references now work.
6652 Oops. 1 NUL termination assumption remains in Perl_gv_fetchpvn_flags
6655 doubleplusoops. Apart from the documented NUL termination assumption.
6659 And another assumption.
6660 Branch: maint-5.8/perl
6662 !> doio.c embed.fnc embed.h global.sym gv.c gv.h mg.c op.c perl.c
6663 !> perl.h pp.c pp_hot.c proto.h regcomp.c sv.c sv.h t/op/ref.t
6664 !> toke.c universal.c
6665 ____________________________________________________________________________
6666 [ 28154] By: nicholas on 2006/05/10 18:31:34
6669 The new REQUIRE token introduced by change 25599 must be
6670 nonassoc, just like the UNIOP token it's patterned after.
6671 (While we're at it, allow to use bison 2.1 to regenerate
6674 plus fix change 28153 - rename the two parameter Perl_dofile() to
6675 Perl_dofile2(), and make Perl_dofile() a wrapper to it just in case
6676 anything is linking to it.
6677 Branch: maint-5.8/perl
6678 ! embed.fnc embed.h op.c perly.c perly.y perly_c.diff proto.h
6681 ____________________________________________________________________________
6682 [ 28153] By: nicholas on 2006/05/10 17:44:54
6685 CORE::require was always parsed as require().
6686 That's because require() isn't overridable at tokenizer-level
6687 like other overridable built-ins, but is handled by the optree
6688 builder. So, find a way to pass the information that require()
6689 was written as CORE::require() to Perl_ck_require. This is
6690 done by adding a new token type REQUIRE and by adding OPf_SPECIAL
6691 to OP_REQUIRE when it's saw as CORE::require in the program text.
6692 This fixes bug [perl #37274] The "CORE" in CORE::require is ignored.
6695 Document the new meaning of OPf_SPECIAL on OP_REQUIRE
6698 Test for OPpCONST_NOVER only on OP_CONST ops.
6699 Plus a regression test by Schwern.
6702 Fix the overriding of CORE::do, just like change 25599
6703 was fixing the overriding of CORE::require
6704 Branch: maint-5.8/perl
6705 ! perly.c perly_c.diff vms/perly_c.vms vms/perly_h.vms
6706 !> embed.fnc embed.h op.c op.h perly.h perly.y pp_ctl.c proto.h
6707 !> t/op/override.t toke.c
6708 ____________________________________________________________________________
6709 [ 28151] By: nicholas on 2006/05/10 14:36:06
6712 Add the "no 6" / "no v6" syntax.
6715 Oops, fix threaded build
6718 Convert use.t to an inlined is/isnt/like implementation, to give better
6722 no 5.9.4; should fail in version 5.9.4.
6723 Improve the diagnostics and test names in t/comp/use.t
6724 Branch: maint-5.8/perl
6725 ! ext/B/t/concise-xs.t t/comp/use.t
6726 !> embed.fnc embed.h op.c op.h pp_ctl.c proto.h toke.c
6727 ____________________________________________________________________________
6728 [ 28147] By: nicholas on 2006/05/09 22:15:36
6731 Subject: Re: [perl #27028] /$/ not honouring /m in some cases
6732 From: Rick Delaney <rick@bort.ca>
6733 Date: Jul 14, 2005 4:10 PM
6734 Message-ID: <20050714141059.GF19090@localhost.localdomain>
6735 Branch: maint-5.8/perl
6736 +> t/op/regexp_qr_embed.t
6737 !> MANIFEST t/op/regexp.t
6738 ____________________________________________________________________________
6739 [ 28130] By: nicholas on 2006/05/08 20:44:45
6742 Replace explict "/dev/null" with BIT_BUCKET, which varies by platform.
6745 In the description of require, clarify the file handle return and why
6746 C<INC> must be qualified.
6749 Add a test for source filters returned from code references in @INC.
6752 Add more tests for the builtin source filter implementation, and fix
6753 two bugs - it would loop infinitely if data were already in the read
6754 buffer, and it would process those data twice.
6757 Tests for having multiple pipes open simultaneously.
6758 (See comment added in change 3771 about this apparently being buggy)
6761 If you return void from a filter subroutine, the caller's status is
6762 used. If not, your last statement is the return value, and if it keeps
6763 being +ve you'll never hit EOF.
6764 The probably should be a sanity check for this in toke.c, but I'm not
6768 Eliminate the filter_child_proc hack from pp_require.
6771 If the downstream caller wants block mode, and we're in line mode,
6772 then don't return more bytes than they asked for. Hold bytes over
6773 until next time if necessary.
6776 $foo .= $bar doesn't warn if $foo is undefined, so simplify code.
6779 Augment the user filter caching code so that if the user filter returns
6780 multiple lines, only one line at a time is returned.
6781 Rename the variable len to status, as it is the status value.
6784 Fix a bug - the introduction of the caching code means that we should
6785 initialise the SV upstream after it.
6786 assert that filter_sub is always non-null now.
6789 I believe that it makes little sense for the simple user filters
6790 provided by coderefs to be run in block mode. Hence always read from
6791 the upstream filter in line mode, and always call the user's filter
6795 Teach Perl_do_sv_dump how to cope with IOs that have bogus things in
6796 GV slots. (Which source filters are prone to do to them).
6799 A scalar reference returned from a coderef in @INC is treated as the
6800 initial "content" of the file. When it is exhausted input is taken
6801 from a real file handle, or a generator sub, if either exists.
6804 Document all the return values that code references in @INC can return.
6807 Coderefs in @INC are done and documented.
6810 Fix an error, spotted by Tim Bunce.
6813 Subject: -Dmad breaks a few tests
6814 From: Sébastien Aperghis-Tramoni <maddingue@free.fr>
6815 Date: Tue, 2 May 2006 01:37:03 +0200
6816 Message-Id: <64F8ECEA-D96B-11DA-AA80-000502F3279F@free.fr>
6818 (part of, with tweaks)
6819 Branch: maint-5.8/perl
6822 !> MANIFEST dump.c pod/perlfunc.pod pod/perltodo.pod pp_ctl.c
6824 ____________________________________________________________________________
6825 [ 28129] By: nicholas on 2006/05/08 20:15:44
6828 Subject: [PATCH] Speedups and shrinkages of SvREFCNT_inc
6829 From: andy@petdance.com (Andy Lester)
6830 Date: Fri, 24 Feb 2006 14:54:35 -0600
6831 Message-ID: <20060224205434.GA17867@petdance.com>
6834 Silence a GCC warning
6835 (assignment from incompatible pointer type)
6838 Subject: [PATCH] SvREFCNT_inc tweaks
6839 From: andy@petdance.com (Andy Lester)
6840 Date: Sat, 1 Apr 2006 02:01:30 -0600
6841 Message-ID: <20060401080130.GA19372@petdance.com>
6842 Branch: maint-5.8/perl
6843 ! gv.c op.c perl.c perlio.c
6844 !> av.c cop.h doio.c doop.c hv.c mg.c pad.c perl.h
6845 !> pod/perlapi.pod pod/perlintern.pod pp.c pp_ctl.c pp_hot.c
6846 !> pp_sort.c pp_sys.c regcomp.c scope.c sv.c sv.h toke.c
6847 ____________________________________________________________________________
6848 [ 28128] By: nicholas on 2006/05/08 19:22:03
6855 # Although I see that Robin is proposing to add some :-)
6858 Subject: Re: [PATCH] s/Null(av|ch)/NULL/g
6859 From: Steven Schubiger <schubiger@cpan.org>
6860 Date: Thu, 2 Feb 2006 10:38:49 +0100
6861 Message-ID: <20060202093849.GD12591@accognoscere.homeunix.org>
6864 Subject: Re: [PATCH] s/Null(gv|hv|sv)/NULL/g
6865 From: Steven Schubiger <schubiger@cpan.org>
6866 Message-ID: <20060203152449.GI12591@accognoscere.homeunix.org>
6867 Date: Fri, 3 Feb 2006 16:24:49 +0100
6870 Oops. When changing warnings.pl one should re-run it. Well spotted
6874 warnings.h does some evil(*) pointer arithmetic on (SV *)0, so a
6875 simple replace of Nullsv with NULL turns out to be a bad idea.
6876 * Technically undefined behaviour, I believe.
6879 More NullXXX macro removal from Andy Lester
6880 Branch: maint-5.8/perl
6882 !> (integrate 46 files)
6883 ____________________________________________________________________________
6884 [ 28124] By: nicholas on 2006/05/08 18:08:05
6885 Log: Tidy up warnings about implicitly removing qualifiers from pointers.
6886 Branch: maint-5.8/perl
6888 ____________________________________________________________________________
6889 [ 28123] By: nicholas on 2006/05/08 17:43:39
6892 (Hopefully) make VMS happy.
6895 Silence 3 (spurious) gcc warnings about "maybe used uninitialized".
6897 [Well, the 2 of them applicable to maint]
6898 Branch: maint-5.8/perl
6900 ____________________________________________________________________________
6901 [ 28121] By: nicholas on 2006/05/08 15:53:23
6904 Add a new per-interpeter variable PL_utf8cache, which will be used to
6905 control the UTF-8 offset caching code. Make this visible as
6909 Properly set/reset the UTF-8 length cache in regcomp.c.
6912 Remove a duplicated conditional test by putting everything for the
6913 not readonly case inside one block.
6916 Make Perl_sv_len_utf8 honour the new ${^UTF8CACHE}.
6917 If PERL_UTF8_CACHE_ASSERT is defined, default ${^UTF8CACHE} to -1
6918 (assertion mode). Need a way to turn this on with existing command
6922 Remove a redundant test on mg->mg_ptr. (It had to be non-NULL to get
6926 The two loops in Perl_utf8_distance can be merged.
6929 Perl_utf8_distance can be implemented as a call to Perl_utf8_length.
6932 Abstract the string walking functionality from Perl_sv_pos_b2u into
6933 static functions, and make it respect PL_utf8cache.
6936 In Perl_sv_pos_b2u, if we know the character offset of the end, we
6937 can take advantage of this to count backwards if close.
6938 Remove some now unnecessary casts.
6941 Extend change 27558 - if we know the character offset of the end, but
6942 don't have a cache for intermediate offsets, we can still use the end
6946 The simplest way to start on Perl_sv_pos_u2b seems to be to take out
6947 all of the caching code.
6950 Create S_sv_pos_u2b_cached, which abstracts away utf-8 to byte
6951 conversions, hiding the complexity of any cache lookup.
6954 Add S_sv_pos_u2b_midway for when we know the utf-8/bytes offsets on
6955 both sides of the desired offset, so could count either way.
6956 Use cached utf-8 length in S_sv_pos_u2b_cached.
6957 Check the results if PL_utf8cache < 0.
6960 Take advantage of uoffset >= uoffset0, to simplify some logic.
6963 Call S_utf8_mg_pos_cache_update() from S_sv_pos_u2b_cached().
6964 S_utf8_mg_pos_cache_update() can't use S_sv_pos_b2u_forwards() in the
6965 cache assertion code as it triggers warnings about surrogates.
6968 Use the cache in S_sv_pos_u2b_cached when the sought offset is after
6969 the first cache entry.
6972 Use the cache in S_sv_pos_u2b_cached() when the desired offset is
6973 between the start of the string and the cached location.
6974 Remove unneccesary else from Perl_sv_pos_b2u().
6977 Add all new static functions to embed.fnc
6978 Remove old unused static functions.
6979 Remove references to cache[2] and cache[3].
6982 Pass the (byte) length of the entire string into
6983 utf8_mg_pos_cache_update()
6984 Start to use the cache to store two pairs of byte/utf-8 pairs.
6985 Add the first third of the cache update code.
6988 Complete the other 2 arms of the cache update code.
6991 Use both cache entries for Perl_sv_pos_b2u().
6994 Make S_sv_pos_u2b_cached use both cache pairs.
6997 Move orphaned documentation back to its functions
6998 Document the new static functions, and how the cache works.
7001 Rejig the location of the cache assertion code in Perl_sv_pos_b2u().
7004 Document the values for ${^UTF8CACHE}
7007 Turn on UTF8 cache assertions with -Ca
7008 Branch: maint-5.8/perl
7009 !> embed.fnc embed.h embedvar.h gv.c intrpvar.h locale.c mg.c
7010 !> perl.c perl.h perlapi.h pod/perlrun.pod pod/perltodo.pod
7011 !> pod/perlvar.pod proto.h regcomp.c sv.c utf8.c util.c
7012 ____________________________________________________________________________
7013 [ 28120] By: nicholas on 2006/05/08 15:31:45
7014 Log: Subject: Re: Smoke [5.8.8] 28115 FAIL(M) MSWin32 WinXP/.Net SP2 (x86/2 cpu)
7015 From: Steve Hay <steve.hay@uk.radan.com>
7016 Message-ID: <445F2CED.3010808@uk.radan.com>
7017 Date: Mon, 08 May 2006 12:35:09 +0100
7018 Branch: maint-5.8/perl
7020 ____________________________________________________________________________
7021 [ 28119] By: nicholas on 2006/05/08 13:45:02
7024 Save the regexp engine state as 1 block on the save stack.
7027 Teach ss_dup about SAVEt_RE_STATE. (As correctly as it ever was before)
7030 Given that use re 'debug' can turn on DEBUGGING even on a non-DEBUGGING
7031 build, we cannot assume that PL_reg_starttry isn't needed. So copy it
7033 Branch: maint-5.8/perl
7035 !> regcomp.c scope.h sv.c
7036 ____________________________________________________________________________
7037 [ 28117] By: nicholas on 2006/05/07 23:30:16
7038 Log: Hateful gcc. g<something-not-entirely-unlike-C>c, I feel.
7039 Branch: maint-5.8/perl
7041 ____________________________________________________________________________
7042 [ 28115] By: nicholas on 2006/05/07 00:03:20
7045 Exit test script (if we're going to) *before* declaring a plan
7048 Subject: [PATCH] support POSIX SA_SIGINFO
7049 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7050 Date: Wed, 20 Jul 2005 14:40:54 +0300
7051 Message-ID: <42DE3846.6050606@gmail.com>
7054 Fix definition of Perl_sighandler following change 25200
7057 Subject: [PATCH] Re: [PATCH] support POSIX SA_SIGINFO
7058 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7059 Date: Thu, 21 Jul 2005 18:33:22 +0300
7060 Message-ID: <42DFC042.1090201@gmail.com>
7063 use POSIX might not throw an error. Check for useful values also
7066 Some signals are more real than others
7067 Also added comment about why the tests are there
7070 Subject: RE: [PATCH] Re: [PATCH] support POSIX SA_SIGINFO
7071 From: "Green, Paul" <Paul.Green@stratus.com>
7072 Date: Mon, 25 Jul 2005 12:39:32 -0400
7073 Message-ID: <F5F42E77A43DD944B6D664B00A5401CB8A9F67@EXNA.corp.stratus.com>
7076 SIGRTMIN & SIGRTMAX on Cygwin both 32. sig_count = 33, but
7077 POSIX::SigRt is not available on use
7080 Subject: [PATCH] quiet a few warnings
7081 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
7082 Date: Wed, 21 Sep 2005 18:45:56 -0700
7083 Message-ID: <20050922014555.GA2852@efn.org>
7086 Test for the right signal should use the constant for that signal.
7089 Missing va_end(args) from SA_SIGINFO related code.
7092 Change #25976 seemed to cause test failures in ext/B/t/f_sort.t. What
7093 was that line about Jenga again?
7096 Reverting the reversion. va_end() goes with va_start().
7099 croak in POSIX::sigaction() when passed a negative signal instead
7103 Need to update test count from change #27440.
7106 Disable SIGRTMAX and SIGRTMIN in POSIX if Configure's probes found that
7107 they aren't viable. (Certain glibcs are "interesting")
7108 Branch: maint-5.8/perl
7109 ! embed.fnc ext/POSIX/Makefile.PL mg.c perl.c perl.h perlvars.h
7110 !> cygwin/cygwin.c embed.h ext/POSIX/POSIX.pod ext/POSIX/POSIX.xs
7111 !> ext/POSIX/t/sigaction.t global.sym iperlsys.h pp_sys.c proto.h
7113 ____________________________________________________________________________
7114 [ 28114] By: nicholas on 2006/05/06 10:35:42
7117 Break out the item normalisation code into a method normalise_items.
7120 Break out the code to generate #ifdef/#endif into new methods
7121 macro_to_ifdef and macro_to_endif
7122 Add an args hashref to normalise_items; provide a
7123 disable_utf8_duplication argument to disable the utf8 duplication code.
7126 Make ExtUtils::Constant generate the inlineable proxy constant subs.
7127 So far just enough to make Fcntl work.
7130 Use inlineable proxy constant subs for POSIX.
7131 There may be trouble ahead, as it seems that not all POSIX "constants"
7132 are. I wonder if too many systems are going to have too many
7133 variations to make this viable.
7136 Use inlineable proxy constant subs for Socket
7139 SIGRTMAX, SIGRTMIN, LDBL_MAX, LDBL_MIN, LDBL_EPSILON and HUGE_VAL
7140 aren't constants on (at least some) Linux.
7141 And more evil than that, HUGE_VAL likes to use the C preprocessor
7142 in its value, necessitating use of a temporary.
7145 Need to be more careful with the symbol table manipulation - if there
7146 is already an entry in place, back off and generate a real constant
7147 subroutine. (fixes lib/Net/hostent.t failure)
7148 Fix a bug with how hv_store was being called.
7151 Add support for PV to ExtUtils::Constant::ProxySubs, and enable its
7155 Provide support for types PVN and UNDEF in
7156 ExtUtils::Constant::ProxySubs
7159 The values for proxy constant subroutines need to be read only.
7162 Add C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
7163 to allow the caller to pass in file handles. Use this in Contant.t
7164 with tied file handles to capture the output, rather than calling
7165 the lower level routines directly.
7168 Add C_FH and XS_FH arguments to ExtUtils::Constant::WriteConstants,
7169 to allow the caller to pass in file handles. Use this in Contant.t
7170 with tied file handles to capture the output, rather than calling
7171 the lower level routines directly.
7174 Add a couple of newlines for tidier regen output, consistent with the
7175 code generated by WriteConstants()
7178 Add method macro_from_item to encapsulate the entire logic for getting
7179 the correct macro direct from the item hash.
7182 Support type UNDEF, and correct a bug in the macro generation by using
7186 Remove the hard wired test numbers in the generated test script for
7187 simple tests. Use this script twice, firstly for testing the old style
7188 autoloaded constants, then for testing the ProxySubs.
7189 Make testing the dogfood/regeneration code optional, as the ProxySubs
7190 output doesn't contain it.
7193 As what we're doing is generating subroutines, which are methods, we
7194 need to invalidate cached methods. For constant.pm we need to create
7195 &Internals::inc_sub_generation
7198 Pass in the full arguments to ExtUtils::Constant::ProxySubs
7199 Prototype all the missing constants, so that parsing doesn't depend on
7200 the phase of the moon. (Well, the system headers)
7201 Add an option for making missing constants generate errors at read time
7202 (which can be during constant folding). This isn't the default.
7205 s/%/%%/ in the package name so that it can be used safely in the
7206 sprintf format string (and hence not need runtime %s interpolation)
7209 Negating an unsigned value generates warnings for some compilers, so
7213 constant_add_symbol needs to be static, else static builds can fail at
7214 link time. (*How* many meanings is "static" overloaded with?)
7217 Need to clear CvXSUBANY() too to turn a constant sub into a prototype.
7220 Fix test portability on non-ASCII platforms
7222 Subject: Re: lib/ExtUtils/t/Constant.t problem on z/OS
7223 From: SADAHIRO Tomoyuki <bqw10602@nifty.com>
7224 Date: Wed, 05 Apr 2006 21:13:02 +0900
7225 Message-Id: <20060405210426.F99D.BQW10602@nifty.com>
7228 Subject: Re: [PATCH] cleanup 212 warnings emitted by gcc-4.2
7229 From: Marcus Holland-Moritz <mhx-perl@gmx.net>
7230 Date: Mon, 24 Apr 2006 23:20:38 +0200
7231 Message-ID: <20060424232038.7550f9b6@r2d2>
7234 Allow a macro of "0" to mean "#if 0" for convenient elimination of
7236 Branch: maint-5.8/perl
7237 +> lib/ExtUtils/Constant/ProxySubs.pm
7238 !> MANIFEST lib/ExtUtils/Constant.pm
7239 !> lib/ExtUtils/Constant/Base.pm lib/ExtUtils/Constant/XS.pm
7240 !> lib/ExtUtils/t/Constant.t
7241 ____________________________________________________________________________
7242 [ 28113] By: nicholas on 2006/05/05 21:14:29
7245 Subject: [PATCH] allow POSIX SIGRTMIN...SIGRTMAX signals (and plug a core dump)
7246 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7247 Date: Tue, 19 Jul 2005 12:06:00 +0300
7248 Message-ID: <42DCC278.2010009@gmail.com>
7251 XS constants fail when their value is called for, not at import.
7252 This might be construed as a bug. Fixing is probably a greater evil.
7255 C<use Foo;> inside Foo.pm considered a "bad thing"
7256 (Certainly where there is AUTOLOADing and XS)
7257 Hopefully this fixes the POSIX breakage.
7260 C<use Foo;> inside Foo.pm considered a "bad thing"
7261 (Certainly where there is AUTOLOADing and XS)
7262 Hopefully *this* fixes the POSIX breakage.
7265 Subject: [PATCH] move NSIG logic
7266 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7267 Date: Wed, 20 Jul 2005 09:57:44 +0300
7268 Message-ID: <42DDF5E8.1060100@gmail.com>
7271 Silence warnings about NSIG redefinition on Win32
7273 (Change 25191 doesn't work out unless dosish.h includes <signal.h>
7274 too, which it currently only does for DJGPP)
7275 Branch: maint-5.8/perl
7276 !> Configure dosish.h ext/POSIX/Makefile.PL ext/POSIX/POSIX.pm
7277 !> ext/POSIX/POSIX.pod ext/POSIX/POSIX.xs ext/POSIX/t/sigaction.t
7279 ____________________________________________________________________________
7280 [ 28112] By: nicholas on 2006/05/05 20:21:42
7283 Subject: Re: $^CHILD_ERROR_NATIVE issues (with attachment)
7284 From: Gisle Aas <gisle@ActiveState.com>
7285 Date: 04 Oct 2005 02:18:27 -0700
7286 Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com>
7289 Subject: [patch@25763] Fix VMS error/exit handling, update kill function
7290 From: "John E. Malmberg" <wb8tyw@qsl.net>
7291 Message-id: <4351F393.8030809@qsl.net>
7292 Date: Sun, 16 Oct 2005 02:30:43 -0400
7296 Subject: [patch@25809]restore documented exit behavior
7297 From: "John E. Malmberg" <wb8tyw@qsl.net>
7298 Date: Thu, 20 Oct 2005 18:21:20 -0400
7299 Message-id: <43581860.3020108@qsl.net>
7303 Subject: VMS exit handling still broken, need some help.
7304 From: "John E. Malmberg" <wb8tyw@qsl.net>
7305 Date: Mon, 24 Oct 2005 01:34:41 -0400
7306 Message-ID: <435C7271.8070403@qsl.net>
7309 Back out change #25839, and apply :
7311 Subject: [patch@25838]Hopefully the last VMS exit/error fixes needed.
7312 From: "John E. Malmberg" <wb8tyw@qsl.net>
7313 Date: Tue, 25 Oct 2005 11:09:37 -0400
7314 Message-ID: <435E4AB1.1000106@qsl.net>
7317 Subject: Re: [patch@25838]Hopefully the last VMS exit/error fixes needed.
7318 From: "John E. Malmberg" <wb8tyw@qsl.net>
7319 Date: Tue, 25 Oct 2005 13:36:20 -0400
7320 Message-ID: <435E6D14.7000104@qsl.net>
7321 Branch: maint-5.8/perl
7323 !> cop.h doio.c mg.c perl.c perl.h pp_sys.c t/op/exec.t
7324 !> t/run/exit.t vms/perlvms.pod vms/vms.c vms/vmsish.h
7325 !> win32/perlhost.h wince/perlhost.h
7326 ____________________________________________________________________________
7327 [ 28111] By: nicholas on 2006/05/05 19:41:27
7330 Subject: [PATCH] VMS build update for blead
7331 From: "Craig A. Berry" <craigberry@mac.com>
7332 Date: Sat, 28 May 2005 23:18:46 -0500
7333 Message-Id: <429942A6.10601@mac.com>
7336 Remove unneeded #ifdef VMS since VMS is not defined here anyway
7337 (spotted by Steve_p)
7340 Various patches by John E. Malmberg to fix data
7341 corruption issues on VMS. Back out change 25218 and
7342 the parts of change 25217 that affect pp_ctl.c and
7346 Subject: patch for blead - Perlvms.pod update
7347 From: "John E. Malmberg" <wb8tyw@qsl.net>
7348 Date: Fri, 14 Oct 2005 21:15:26 -0400
7349 Message-id: <4350582E.4070209@qsl.net>
7353 Subject: [patch@blead] perlport.pod
7354 From: "John E. Malmberg" <wb8tyw@qsl.net>
7355 Date: Fri, 14 Oct 2005 23:48:20 -0400
7356 Message-id: <43507C04.8050003@qsl.net>
7357 Branch: maint-5.8/perl
7359 !> doio.c mg.c pod/perlport.pod pp_ctl.c pp_sys.c util.c
7360 !> vms/perlvms.pod vms/vmsish.h
7361 ____________________________________________________________________________
7362 [ 28110] By: nicholas on 2006/05/05 18:59:13
7365 Subject: [patch@25305] fixes to const fixes + Case Preserved start
7366 From: "John E. Malmberg" <wb8tyw@qsl.net>
7367 Date: Thu, 18 Aug 2005 21:18:27 -0400
7368 Message-ID: <43053363.8090809@qsl.net>
7369 Branch: maint-5.8/perl
7371 ____________________________________________________________________________
7372 [ 28109] By: nicholas on 2006/05/05 17:26:10
7375 Various patches by John E. Malmberg to fix data
7376 corruption issues on VMS. Back out change 25218 and
7377 the parts of change 25217 that affect pp_ctl.c and
7381 VMS debugging help, by John E. Malmberg
7384 Subject: patch@25279 VMS error handling and const fixes
7385 From: "John E. Malmberg" <wb8tyw@qsl.net>
7386 Date: Wed, 10 Aug 2005 00:37:13 -0400
7387 Message-ID: <42F98479.6030207@qsl.net>
7389 [Bowlderised to keep the non-static functions in embed.fnc unchanged]
7390 Branch: maint-5.8/perl
7392 !> doio.c embed.fnc mg.c perl.h pp_ctl.c proto.h
7393 !> vms/descrip_mms.template vms/vms.c vms/vmsish.h
7394 ____________________________________________________________________________
7395 [ 28107] By: nicholas on 2006/05/05 16:20:20
7398 Subject: Well defined $? and introduction of ${^CHILD_ERROR_NATIVE} [PATCH]
7399 From: Gisle Aas <gisle@ActiveState.com>
7400 Date: 18 May 2005 08:35:47 -0700
7401 Message-ID: <lr8y2cim24.fsf_-_@caliper.activestate.com>
7404 Adjust VMS test count
7407 Fix the new exit() tests, by Gisle Aas :
7408 don't let the shell interfere with the process return value
7411 Gisle noted an unused variable
7414 Skip signals and core dump tests on Win32
7416 See http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2005-05/msg00749.html
7422 Subject: Clone PL_statusvalue_posix [PATCH]
7423 From: Gisle Aas <gisle@ActiveState.com>
7424 Date: 03 Oct 2005 09:37:57 -0700
7425 Message-ID: <lr3bni8ska.fsf_-_@caliper.activestate.com>
7428 Subject: Re: $^CHILD_ERROR_NATIVE issues (with attachment)
7429 From: Gisle Aas <gisle@ActiveState.com>
7430 Date: 04 Oct 2005 02:18:27 -0700
7431 Message-ID: <lrd5ml7i8s.fsf@caliper.activestate.com>
7432 Branch: maint-5.8/perl
7433 !> doio.c embedvar.h gv.c intrpvar.h mg.c perl.c perl.h perlapi.h
7434 !> pod/perlfunc.pod pod/perlport.pod pod/perlvar.pod sv.c
7435 !> t/op/exec.t t/run/exit.t
7436 ____________________________________________________________________________
7437 [ 28002] By: nicholas on 2006/04/28 14:12:06
7440 add svt_local slot to magic vtable, and fix local $shared
7443 document svt_copy, svt_dup and svt_local vtable slots
7444 Branch: maint-5.8/perl
7445 !> ext/threads/shared/shared.xs mg.c mg.h pod/perlguts.pod
7446 ____________________________________________________________________________
7447 [ 27996] By: nicholas on 2006/04/28 13:21:30
7450 Subject: [PATCH] Fix MGVTBL structures in perl.h
7451 From: Andy Lester <andy@petdance.com>
7452 Date: Wed, 20 Apr 2005 15:09:24 -0500
7453 Message-Id: <20050420200923.GA3017@petdance.com>
7455 The MGVTBL structures contain 7 function pointers, but only 5 were
7456 getting initialized. Plus, there were repeated lists between
7457 declaration and definition; add a macro to declare or define
7458 all the global MGVTBLs as appropriate.
7461 Subject: patch to [PATCH] Fix MGVTBL structures in perl.h (preprocessor
7462 From: David Dyck <david.dyck@fluke.com>
7463 Date: Wed, 20 Apr 2005 16:35:55 -0700 (PDT)
7464 Message-Id: <Pine.LNX.4.62.0504201627550.27786@dd.tc.fluke.com>
7466 fix nits in change #24264:
7467 some preprocessors don't like #ifdefs within a macro's args;
7468 also removed duplicate semicolons from macro definitions.
7471 Subject: Re: [PATCH] Re: [PATCH] Re: a blead warning from tru64
7472 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7473 Date: Mon, 04 Jul 2005 00:19:28 +0300
7474 Message-Id: <42C85660.50807@gmail.com>
7475 Branch: maint-5.8/perl
7477 ____________________________________________________________________________
7478 [ 27985] By: nicholas on 2006/04/27 19:14:04
7479 Log: I didn't want ExtUtils::CBuilder. Only ExtUtils::ParseXS, and that's
7480 merely as a side effect of xsubpp now being a thin wrapper around it.
7481 Branch: maint-5.8/perl
7482 - lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder/Base.pm
7483 - lib/ExtUtils/CBuilder/Platform/Unix.pm
7484 - lib/ExtUtils/CBuilder/Platform/VMS.pm
7485 - lib/ExtUtils/CBuilder/Platform/Windows.pm
7486 - lib/ExtUtils/CBuilder/Platform/aix.pm
7487 - lib/ExtUtils/CBuilder/Platform/cygwin.pm
7488 - lib/ExtUtils/CBuilder/Platform/darwin.pm
7489 - lib/ExtUtils/CBuilder/Platform/dec_osf.pm
7490 - lib/ExtUtils/CBuilder/Platform/os2.pm
7491 - lib/ExtUtils/CBuilder/t/01-basic.t
7492 - lib/ExtUtils/CBuilder/t/02-link.t
7493 - lib/ExtUtils/ParseXS/t/XSTest.pm
7494 - lib/ExtUtils/ParseXS/t/XSTest.xs
7495 - lib/ExtUtils/ParseXS/t/basic.t
7497 ____________________________________________________________________________
7498 [ 27984] By: nicholas on 2006/04/27 18:09:09
7501 Make some variables global, to avoid some "will not stay
7502 shared" warnings at compile time
7505 Make CBuilder and ParseXS clean up their temp test files
7508 Ken pointed out that CBuilder's cleanup is too agrressive
7510 The Windows compile() and link() methods bizarrely include their own
7511 output files in the list of files to be cleaned up. Now that they
7512 actually are being cleaned up, this isn't ideal ;-)
7514 Stop compile() and link() from cleaning up their own output, and
7515 reinstate the explicit deletion of those output files in the test
7519 Upgrade to ExtUtils::ParseXS 2.12
7522 Upgrade to ExtUtils-ParseXS-2.13
7525 Upgraded to ExtUtils-ParseXS-2.14.
7528 Upgrade to ExtUtils-ParseXS-2.15.
7529 Branch: maint-5.8/perl
7530 !> lib/ExtUtils/ParseXS.pm lib/ExtUtils/ParseXS/t/basic.t
7531 ____________________________________________________________________________
7532 [ 27981] By: nicholas on 2006/04/27 17:48:33
7535 Subject: Re: [PATCH] ExtUtils-{ParseXS,CBuilder} into bleadperl (was: Re: [Module::Build] ANNOUNCE: Module::Build 0.2610 -> CPAN)
7536 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
7537 Date: Wed, 18 May 2005 07:13:40 -0700
7538 Message-ID: <20050518141131.GA2704@efn.org>
7541 tabs, not spaces. Bad editor. No cookie.
7542 Does the MANIFEST file support comments, sufficient to add an editor
7546 Subject: [PATCH] ExtUtils::CBuilder Tru64 support
7547 From: Jarkko Hietaniemi <jhietaniemi@gmail.com>
7548 Date: Sat, 21 May 2005 23:20:21 +0300
7549 Message-Id: <428F9805.70108@gmail.com>
7552 Make distclean should remove the leftover test files of ExtUtils::ParseXS
7555 Subject: [PATCH] xsubpp, ParseXS: allow other suffix beyond .c
7556 From: jarkko.hietaniemi@nokia.com
7557 Date: Tue, 24 May 2005 12:48:38 +0300
7558 Message-Id: <B356D8F434D20B40A8CEDAEC305A1F2453D7EB@esebe105.NOE.Nokia.com>
7559 Branch: maint-5.8/perl
7560 +> lib/ExtUtils/CBuilder.pm lib/ExtUtils/CBuilder/Base.pm
7561 +> lib/ExtUtils/CBuilder/Platform/Unix.pm
7562 +> lib/ExtUtils/CBuilder/Platform/VMS.pm
7563 +> lib/ExtUtils/CBuilder/Platform/Windows.pm
7564 +> lib/ExtUtils/CBuilder/Platform/aix.pm
7565 +> lib/ExtUtils/CBuilder/Platform/cygwin.pm
7566 +> lib/ExtUtils/CBuilder/Platform/darwin.pm
7567 +> lib/ExtUtils/CBuilder/Platform/dec_osf.pm
7568 +> lib/ExtUtils/CBuilder/Platform/os2.pm
7569 +> lib/ExtUtils/CBuilder/t/01-basic.t
7570 +> lib/ExtUtils/CBuilder/t/02-link.t lib/ExtUtils/ParseXS.pm
7571 +> lib/ExtUtils/ParseXS/t/XSTest.pm
7572 +> lib/ExtUtils/ParseXS/t/XSTest.xs
7573 +> lib/ExtUtils/ParseXS/t/basic.t
7574 !> MANIFEST Makefile.SH lib/ExtUtils/xsubpp
7575 ____________________________________________________________________________
7576 [ 27980] By: nicholas on 2006/04/27 15:30:40
7577 Log: Fix up a couple more errors in 2 static functions' prototypes, and
7578 add NN to 3 other functions.
7579 Branch: maint-5.8/perl
7581 ____________________________________________________________________________
7582 [ 27979] By: nicholas on 2006/04/27 14:38:12
7583 Log: Pesky stowaways.
7584 Branch: maint-5.8/perl
7586 ____________________________________________________________________________
7587 [ 27978] By: nicholas on 2006/04/27 14:37:43
7590 while (my $x ...) { ...; redo } shouldn't undef $x.
7591 In the presence of 'my' in the conditional of a while(), until(),
7592 or for(;;) loop, add an extra scope to the body so that redo
7593 doesn't undef the lexical
7594 Branch: maint-5.8/perl
7596 ! embed.fnc op.c perly.c perly.y perly_c.diff t/op/loopctl.t
7598 !> embed.h perly.h pp_ctl.c proto.h
7599 ____________________________________________________________________________
7600 [ 27977] By: nicholas on 2006/04/27 14:19:31
7601 Log: Fix up my mistakes with prototypes made while merging pack changes.
7602 Prototypes for non-static functions are now restored to 5.8.8.
7603 Branch: maint-5.8/perl
7604 ! mathoms.c pp_pack.c proto.h
7605 ____________________________________________________________________________
7606 [ 27975] By: nicholas on 2006/04/27 12:22:13
7609 Subject: [PATCH] pad_push numero three-o
7610 From: Andy Lester <andy@petdance.com>
7611 Date: Thu, 10 Mar 2005 15:17:28 -0600
7612 Message-ID: <20050310211728.GC32386@petdance.com>
7613 Branch: maint-5.8/perl
7614 !> embed.fnc pad.c pod/perlintern.pod
7615 ____________________________________________________________________________
7616 [ 27974] By: nicholas on 2006/04/27 11:41:22
7619 Make some casts explicit to keep VC++ 7 happy
7621 Specifically, this silences the warnings from the following smoke:
7622 http://www.nntp.perl.org/group/perl.daily-build.reports/32258
7623 (Hmm. Looks like you need to decode the base64 yourself before you
7627 Subject: [PATCH] Missing static declarations
7628 From: Gisle Aas <gisle@ActiveState.com>
7629 Date: 05 Nov 2005 05:08:03 -0800
7630 Message-ID: <lracgj1bv0.fsf@caliper.activestate.com>
7633 The warning "Field too wide in 'u' format in pack" was emitted even
7634 when pack warnings were not enabled
7637 Subject: [PATCH] Signs, signs, everywhere a sign
7638 From: Andy Lester <andy@petdance.com>
7639 Date: Thu, 1 Dec 2005 14:24:51 -0600
7640 Message-ID: <20051201202451.GI22713@petdance.com>
7643 Subject: [PATCH] op/pack.t failure on Win64
7644 From: Jan Dubois <jand@activestate.com>
7645 Date: Dec 30, 2005 9:55 PM
7646 Message-ID: <017a01c60d83$5dc73110$2217a8c0@candy>
7649 Perl_unpack_str() is a mathom!
7650 Branch: maint-5.8/perl
7651 !> genpacksizetables.pl mathoms.c pp_pack.c
7652 ____________________________________________________________________________
7653 [ 27973] By: nicholas on 2006/04/26 23:15:54
7656 Subject: [PATCH] Pre-YAPC consting fun
7657 From: Andy Lester <andy@petdance.com>
7658 Date: Jun 23, 2005 9:04 PM
7659 Message-ID: <20050623190423.GA13835@petdance.com>
7662 make the expensive ckWARN() be called as late as possible
7664 if (ckWARN(FOO) && should_not_happen_condition)
7666 if (should_not_happen_condition && ckWARN(FOO))
7667 Branch: maint-5.8/perl
7669 ____________________________________________________________________________
7670 [ 27972] By: nicholas on 2006/04/26 22:56:05
7673 Subject: Re: [PATCH] pp_pack.c redux, to work w/Jarkko's recent patches
7674 From: Andy Lester <andy@petdance.com>
7675 Date: Mon, 25 Apr 2005 17:56:51 -0500
7676 Message-ID: <20050425225651.GB17271@petdance.com>
7679 Subject: (in blead) a missing const in a prototype
7680 From: <jarkko.hietaniemi@nokia.com>
7681 Date: Wed, 27 Apr 2005 17:35:27 +0300
7682 Message-ID: <B356D8F434D20B40A8CEDAEC305A1F2453D6ED@esebe105.NOE.Nokia.com>
7685 Subject: [PATCH] pp_pack.c cleanup
7686 From: Andy Lester <andy@petdance.com>
7687 Date: Wed, 8 Jun 2005 10:23:53 -0500
7688 Message-ID: <20050608152353.GA6253@petdance.com>
7692 Branch: maint-5.8/perl
7693 !> embed.fnc embed.h perl.h pod/perlapi.pod pp_pack.c proto.h
7694 ____________________________________________________________________________
7695 [ 27971] By: nicholas on 2006/04/26 22:23:19
7698 Casts needed to make VMS happy. (It gets very upset at assignments
7699 between char * and unsigned char *)
7702 Subject: [PATCH] pp_pack.c warnings on VMS
7703 From: "Craig A. Berry" <craigberry@mac.com>
7704 Date: Thu, 31 Mar 2005 14:51:05 -0600
7705 Message-ID: <424C62B9.2030601@mac.com>
7708 Avoid generating thousands of UTF-8 warnings when testing under a
7712 Subject: [PATCH] pp_pack.c warning quieting
7713 From: Andy Lester <andy@petdance.com>
7714 Date: Thu, 21 Apr 2005 11:33:13 -0500
7715 Message-ID: <20050421163313.GA20930@petdance.com>
7716 Branch: maint-5.8/perl
7717 !> pp_pack.c t/op/pack.t
7718 ____________________________________________________________________________
7719 [ 27970] By: nicholas on 2006/04/26 22:04:33
7722 Subject: Re: PATCH: byte count feature request for unpack
7723 From: perl5-porters@ton.iguana.be (Ton Hospel)
7724 Date: Sun, 27 Mar 2005 18:32:11 +0000 (UTC)
7725 Message-Id: <d26u7b$i3v$1@post.home.lunix>
7727 (rework of a patch from Arne Ahrend <aahrend@web.de>)
7729 [Code is merged in, but the new features are disabled in maint]
7730 Branch: maint-5.8/perl
7731 ! pp_pack.c t/op/pack.t
7733 ____________________________________________________________________________
7734 [ 27969] By: nicholas on 2006/04/26 20:43:36
7737 Subject: pack / for general types
7738 From: perl5-porters@ton.iguana.be (Ton Hospel)
7739 Date: Sat, 19 Mar 2005 22:00:45 +0000 (UTC)
7740 Message-Id: <d1i7ed$62c$1@post.home.lunix>
7742 Allow "len/format" to work for any format type, not just strings.
7745 Subject: Re: unpack A strip patch
7746 From: Ton Hospel <perl5-porters@ton.iguana.be>
7747 Date: Mon, 21 Mar 2005 21:31:37 +0000 (UTC)
7748 Message-Id: <d1nefp$lpe$1@post.home.lunix>
7749 Branch: maint-5.8/perl
7750 ! pod/perlfunc.pod pp_pack.c t/op/pack.t
7752 ____________________________________________________________________________
7753 [ 27967] By: nicholas on 2006/04/26 18:48:16
7756 Subject: Re: Encoding neutral unpack
7757 From: perl5-porters@ton.iguana.be (Ton Hospel)
7758 Date: Sat, 12 Mar 2005 18:54:29 +0000 (UTC)
7759 Message-ID: <d0vdt5$81a$1@post.home.lunix>
7764 Subject: pp_pack.c, simplifying genpacksizetables
7765 From: perl5-porters@ton.iguana.be (Ton Hospel)
7766 Date: Sun, 13 Mar 2005 15:07:41 +0000 (UTC)
7767 Message-Id: <d11kvt$1k7$1@post.home.lunix>
7768 Branch: maint-5.8/perl
7769 !> genpacksizetables.pl pp_pack.c t/op/pack.t
7770 ____________________________________________________________________________
7771 [ 27966] By: nicholas on 2006/04/26 18:21:44
7774 Fix memory corruption when growing pack utf8 buffer
7777 Further pack optimisations by Ton Hospel
7780 Indentation patch by Ton Hospel for pp_pack
7781 Branch: maint-5.8/perl
7783 ____________________________________________________________________________
7784 [ 27965] By: nicholas on 2006/04/26 17:51:25
7787 Subject: Encoding neutral unpack
7788 From: perl5-porters@ton.iguana.be (Ton Hospel)
7789 Date: Sun, 6 Mar 2005 18:29:38 +0000 (UTC)
7790 Message-Id: <d0fi6i$k06$1@post.home.lunix>
7792 (Bowlderised for maint, bug compatibility braindeath in preference to
7793 Ton's elegant correctness)
7794 Branch: maint-5.8/perl
7795 ! pod/perldiag.pod pod/perlfunc.pod pod/perlunicode.pod
7796 ! pod/perluniintro.pod pp_pack.c t/op/pack.t
7797 !> embed.fnc embed.h genpacksizetables.pl lib/charnames.t perl.h
7799 ____________________________________________________________________________
7800 [ 27964] By: nicholas on 2006/04/26 14:32:50
7803 Subject: [PATCH] signed/unsigned help for pp_pack.c
7804 From: "Craig A. Berry" <craigberry@mac.com>
7805 Date: Fri, 18 Feb 2005 09:42:52 -0600
7806 Message-ID: <42160CFC.3080304@mac.com>
7807 Branch: maint-5.8/perl
7809 ____________________________________________________________________________
7810 [ 27963] By: nicholas on 2006/04/26 14:16:33
7813 Subject: Re: encoding neutral unpack
7814 From: perl5-porters@ton.iguana.be (Ton Hospel)
7815 Date: Sat, 5 Feb 2005 01:34:44 +0000 (UTC)
7816 Message-ID: <cu17rk$k78$1@post.home.lunix>
7818 tweaked to remove the 'not supported on this platform'
7821 Tweaked for maint quite a lot:
7823 * Keep the old meanings of U0 and C0
7824 * Only change the UTF-8 behaviour on numeric templates
7825 Branch: maint-5.8/perl
7826 ! genpacksizetables.pl pp_pack.c t/op/pack.t
7827 ____________________________________________________________________________
7828 [ 27929] By: nicholas on 2006/04/20 22:13:54
7829 Log: Silence a compiler warning by (of all things) removing a cast.
7830 Branch: maint-5.8/perl
7832 ____________________________________________________________________________
7833 [ 27928] By: nicholas on 2006/04/20 21:48:52
7836 handle magic in local correctly
7837 the local SV now gets a copy of any container magic, and no value
7838 magic; in the past the whole magic chain was either shared or
7842 remove taint hack now that local $tainted no longer copies taint magic
7845 change 24943 broke restoration of localized taint values
7848 more taint fallout from change 24943
7849 Branch: maint-5.8/perl
7850 ! mg.c pod/perlguts.pod
7851 !> embed.fnc embed.h pod/perlintern.pod proto.h scope.c sv.c
7852 !> t/op/local.t t/op/taint.t
7853 ____________________________________________________________________________
7854 [ 27926] By: nicholas on 2006/04/20 21:03:43
7857 Attempt to fix problems with new exception handling macros.
7858 Branch: maint-5.8/perl
7859 +> ext/XS/APItest/exception.c
7860 !> MANIFEST XSUB.h ext/XS/APItest/APItest.xs
7861 !> ext/XS/APItest/MANIFEST ext/XS/APItest/Makefile.PL
7863 ____________________________________________________________________________
7864 [ 27924] By: nicholas on 2006/04/20 20:46:31
7867 Add simple exception handling macros for XS writers.
7870 Regenerate perlapi.pod.
7874 Branch: maint-5.8/perl
7875 +> ext/XS/APItest/t/exception.t
7876 !> MANIFEST XSUB.h ext/XS/APItest/APItest.pm
7877 !> ext/XS/APItest/APItest.xs pod/perlapi.pod pod/perlguts.pod
7878 ____________________________________________________________________________
7879 [ 27921] By: nicholas on 2006/04/20 20:17:41
7882 Rewrite t/op/getppid.t to remove the assumption that init has PID of 1.
7883 Branch: maint-5.8/perl
7885 ____________________________________________________________________________
7886 [ 27920] By: nicholas on 2006/04/20 19:58:11
7889 Skip failing thread/wait tests on HP-UX 10.20
7890 These will never ever be fixed, since 10.20 is obsolete
7891 perl583delta describes this. The quote is included in wait.t
7892 Branch: maint-5.8/perl
7893 !> ext/threads/shared/t/wait.t
7894 ____________________________________________________________________________
7895 [ 27916] By: nicholas on 2006/04/20 17:07:07
7898 Two modules in ext/ have dependencies that are post-miniperl.
7899 Encode this information in the Makefile for now.
7900 Branch: maint-5.8/perl
7902 ____________________________________________________________________________
7903 [ 27915] By: nicholas on 2006/04/20 16:06:43
7906 Assert that we aren't leaking memory.
7907 Branch: maint-5.8/perl
7909 ____________________________________________________________________________
7910 [ 27914] By: nicholas on 2006/04/20 15:43:10
7913 Fix bug #23141 : localization of readonly magic scalars
7914 now produces an error "Modification of a read-only value
7915 attempted", instead of silently failing.
7918 When localising a magic value, propagate the readonly flag
7919 only if this scalar has \0 magic or has magic without a
7920 'set' method. (follows change #20479 for bug #23141.)
7923 Good catch from Dave Mitchell; plus a null pointer protection.
7924 Branch: maint-5.8/perl
7925 !> scope.c t/op/local.t
7926 ____________________________________________________________________________
7927 [ 27743] By: nicholas on 2006/04/08 18:07:27
7928 Log: Make the fold_constants exception capture compatible with
7929 -DPERL_FLEXIBLE_EXCEPTIONS
7930 Branch: maint-5.8/perl
7931 ! embed.fnc embed.h op.c proto.h
7932 ____________________________________________________________________________
7933 [ 27742] By: nicholas on 2006/04/08 17:28:28
7936 If constant folding fails, don't fold constants, rather than reporting
7937 the error at compile time. This allows illegal constant expressions in
7938 dead code to be ignored.
7941 It helps to actually add the files you add to MANIFEST. (Thanks Dave
7942 for spotting my mistake).
7943 Branch: maint-5.8/perl
7945 !> MANIFEST op.c pod/perldiag.pod pod/perltodo.pod
7946 ____________________________________________________________________________
7947 [ 27624] By: nicholas on 2006/03/28 19:35:56
7950 Add new dUNDERBAR and UNDERBAR macros, to help XS writers to
7951 access the $_ variable, even when there is a lexical one in scope.
7953 (but use the ppport.h compatibility definitions of the two, and change
7954 the documentation to make it clear that lexical $_ is 5.9.2 and later)
7955 Branch: maint-5.8/perl
7956 ! XSUB.h pod/perlapi.pod
7957 ____________________________________________________________________________
7958 [ 27623] By: nicholas on 2006/03/28 16:42:11
7961 Subject: [PATCH] Re: Storable Error
7962 From: Nicholas Clark <nick@ccl4.org>
7963 Date: Sat, 9 Aug 2003 00:35:36 +0100
7964 Message-ID: <20030809003535.C20130@plum.flirble.org>
7967 The new -Dq option didn't actually work!
7970 Only compile Perl_hv_assert with DEBUGGING.
7971 Branch: maint-5.8/perl
7972 !> embed.fnc hv.c makedef.pl perl.c perl.h pod/perlrun.pod
7974 ____________________________________________________________________________
7975 [ 27614] By: nicholas on 2006/03/27 16:31:27
7976 Log: Actually make PERL_FLEXIBLE_EXCEPTIONS compile (although it still fails
7977 3 tests - t/op/eval.t, t/op/sort.t and ext/XS/APItest/t/call.t)
7978 Branch: maint-5.8/perl
7980 ____________________________________________________________________________
7981 [ 27606] By: nicholas on 2006/03/25 17:59:37
7984 Remove code duplicated a few lines above by change 19695.
7987 Avoid possible dereference of NULL in the initialization of PL_origalen.
7988 This can only happen when perlparse is called with no argv.
7989 Don't try to update PL_origargv unless PL_origalen is at least 2.
7992 Make setting 'PL_origalen = 1' before perl_parse() disable
7993 argv[0] munging when $0 is assigned to.
7994 Branch: maint-5.8/perl
7995 !> mg.c perl.c pod/perlembed.pod toke.c
7996 ____________________________________________________________________________
7997 [ 27605] By: nicholas on 2006/03/25 17:42:10
8000 Fix off-by-one in $0 set magic. (From Autrijus.)
8001 The whole PL_origalen thing in perl.c looks very hokey.
8004 Will the real off by one please stand up?
8007 Orphaned submission from #21546.
8010 Subject: [PATCH] setting $0 still broken
8011 From: Jan Dubois <jand@ActiveState.com>
8012 Date: Thu, 27 Nov 2003 21:09:51 -0800
8013 Message-ID: <f3mdsv8dcv4asle0kbhiijk0adu1l25sr3@4ax.com>
8014 Branch: maint-5.8/perl
8016 ____________________________________________________________________________
8017 [ 27604] By: nicholas on 2006/03/25 15:15:28
8020 Subject: [PATCH blead] [perl #3038] Re: $qr = qr/^a$/m; $x =~ $qr; fails
8021 From: Rick Delaney <rick@bort.ca>
8022 Date: Sun, 31 Oct 2004 22:40:40 -0500
8023 Message-ID: <20041101034040.GC1232@biff.bort.ca>
8024 Branch: maint-5.8/perl
8027 !> MANIFEST pp.c pp_hot.c t/op/regexp.t
8028 ____________________________________________________________________________
8029 [ 27512] By: nicholas on 2006/03/15 20:21:52
8030 Log: When bless() changes the overloading state of the passed in reference,
8031 and there are other references to this object, then brute force search
8032 for the other references, and perform the same change on them. Fixes
8035 Integrate the regression tests from:
8037 Moving the overloading flag from the reference to the referant allows
8038 (re)?blessing of overloaded objects to work correctly.
8041 Test for reblessing objects with weak references.
8044 D'oh! 27508 wasn't quite testing what I wanted it to test. This does.
8045 Branch: maint-5.8/perl
8046 ! embed.fnc embed.h lib/overload.t proto.h sv.c
8047 ____________________________________________________________________________
8048 [ 27509] By: nicholas on 2006/03/15 18:14:26
8050 The overload.t tests from 23357 (Turn regcomp into a list op)
8053 Partially convert overload.t to Test::More
8056 Further conversion of overload.t
8059 Further conversion of overload.t
8062 Finish converting overload.t to Test::More
8063 Branch: maint-5.8/perl
8065 ____________________________________________________________________________
8066 [ 27426] By: nicholas on 2006/03/08 21:24:41
8067 Log: Avoid writing over the input string in the case 'F' in moreswitches.
8068 Branch: maint-5.8/perl
8070 ____________________________________________________________________________
8071 [ 27395] By: nicholas on 2006/03/06 21:28:10
8072 Log: sv_2iv and sv_2uv can go in mathoms.c now.
8073 Branch: maint-5.8/perl
8075 ____________________________________________________________________________
8076 [ 27394] By: nicholas on 2006/03/06 21:11:18
8079 The extra return is actually a duplicated code path, and can go.
8082 The early return for SvIOKp(sv) in sv_2[iu]v_flags is actually code
8086 Move vast swathes of common code from sv_2iv_flags and sv_2uv_flags
8087 into S_sv_2iuv_common.
8090 3 instances of SvIsUV_on(sv); can be replaced with one.
8091 Branch: maint-5.8/perl
8093 ____________________________________________________________________________
8094 [ 27392] By: nicholas on 2006/03/06 20:40:15
8097 Subject: [PATCH blead] Use SvGETMAGIC more often
8098 From: Rick Delaney <rick@bort.ca>
8099 Date: Mon, 22 Aug 2005 13:00:33 -0400
8100 Message-ID: <20050822170033.GH7674@localhost.localdomain>
8103 Subject: [PATCH] concat interacts badly with magic
8104 From: Robin Houston <robin@cpan.org>
8105 Date: Mon, 21 Nov 2005 17:03:39 +0000
8106 Message-ID: <20051121170339.GA8214@rpc142.cs.man.ac.uk>
8109 Revert change #26185, which could have some unwanted side-effects.
8110 (lib/warnings.t had failures due to this patch.)
8111 Moreover Dave Mitchell correctly pointed out that [perl #37722]
8112 wasn't really a bug.
8113 Branch: maint-5.8/perl
8114 !> doio.c pp.c pp_ctl.c pp_hot.c sv.c t/op/tie.t universal.c
8116 ____________________________________________________________________________
8117 [ 27391] By: nicholas on 2006/03/06 18:13:50
8120 Some of the bitwise manipulation PP functions weren't checking
8121 whether their arguments were magical before using them.
8125 Subject: Re: [perl #24816] Magic vars seem unsure if they are purely numeric
8126 From: Yitzchak Scott-Thoennes <sthoenna@efn.org>
8127 Date: Thu, 15 Jan 2004 14:10:37 -0800
8128 Message-Id: <20040115221037.GA2392@efn.org>
8130 Add sv_2iv_flags() to allow magic to be optionally processed.
8131 Branch: maint-5.8/perl
8133 !> doop.c embed.fnc embed.h global.sym pod/perlapi.pod pp.c
8134 !> proto.h sv.c sv.h
8135 ____________________________________________________________________________
8136 [ 27318] By: nicholas on 2006/02/24 17:07:53
8139 Avoid using space to create 2 functions just to force mathoms to be
8140 linked. Instead, force the link via the perl interpreter structure
8141 via a function pointer that gets replaced at run time anyway.
8142 Branch: maint-5.8/perl
8143 !> embed.fnc embed.h intrpvar.h mathoms.c perl.c proto.h
8144 ____________________________________________________________________________
8145 [ 27317] By: nicholas on 2006/02/24 16:36:54
8148 Merge pp_andassign, pp_orassign, and pp_dorassign into pp_and,
8149 pp_or, and pp_defined, respectively.
8152 Typos in opcode.pl this time.
8155 Allow passing of the full enum name into the tryAMAGICbin family of
8156 macros, to avoid needing C pre-processor string concatenation within
8157 the lowest level expansion.
8160 Merge pp_slt, pp_sgt and pp_sge into pp_sle. (The most commonly used
8161 of the 4. Not that any are that popular.)
8164 The two never used NOTYET switch ops can go.
8167 Silence a warning about "statement not reached" from the Sun C compiler.
8168 It was accurate - the conditional code used to give 2 return statements.
8171 I believe that mathoms have been completely TODOne.
8174 Move Perl_save_long, Perl_save_I16, Perl_save_I8, Perl_save_iv,
8175 Perl_save_nogv, Perl_save_list, Perl_save_destructor to mathoms.c
8176 Perl_save_svref can't actually move because it calls a static function.
8179 Optimise index so that if the big string is ISO-8859-1 but the little
8180 string is UTF-8, it tries to downgrade the little string, rather than
8181 upgrade the big string. For half-meg big strings this is a fourfold
8185 Fix bug 38454 (rindex corrects for $[ on bytes rather than UTF-8)
8188 Some refactoring to converge pp_index and pp_rindex
8191 Merge pp_index and pp_rindex - we have another mathom.
8194 pp_hex can be implemented trivially by pp_oct, making pp_hex a mathom.
8197 pp_pop can be implemented by pp_shift.
8200 Create new macros AMG_CALLun_var, AMG_CALLun_var and tryAMAGICun_var
8201 which don't do the pre-processor string manipulation internally.
8204 Avoid gcc warning about possibly uninitialised variables.
8207 All the trancendental unary operators can be merged into PP_sin
8208 (cos, exp, log, sqrt)
8209 Branch: maint-5.8/perl
8210 ! mathoms.c pp.c scope.c utf8.c
8211 !> opcode.h opcode.pl pod/perltodo.pod pp.h pp_ctl.c t/op/index.t
8212 ____________________________________________________________________________
8213 [ 27316] By: nicholas on 2006/02/24 15:19:21
8216 Merge pp_andassign, pp_orassign, and pp_dorassign into pp_and,
8217 pp_or, and pp_defined, respectively.
8220 Typos in opcode.pl this time.
8223 The rarely used lcfirst and ucfirst share almost all their code.
8224 Merge the two as pp_ucfirst.
8227 Don't declare a function inside another function
8230 Patch from Gisle to add NO_MATHOMS to the Compile-time options.
8233 Define PERL_DEFAULT_DO_EXEC3_IMPLEMENTATION earlier in perl.h
8234 (that is, before embed.h, that uses this symbol, is included)
8237 Subject: [PATCH] mathoms prototypes aren't prototypes
8238 From: Andy Lester <andy@petdance.com>
8239 Date: Fri, 11 Nov 2005 17:20:30 -0600
8240 Message-ID: <20051111232030.GA882@petdance.com>
8241 Branch: maint-5.8/perl
8243 !> opcode.h opcode.pl perl.c perl.h pp_ctl.c pp_hot.c
8244 ____________________________________________________________________________
8245 [ 27315] By: nicholas on 2006/02/24 14:55:44
8248 The PERL_EFF_ACCESS_[RWX]_OK macros are all defined as triples, so
8249 can be refactored to a single platform dependent PERL_EFF_ACCESS macro
8250 with the other 3 implemented in terms of it.
8253 PERL_EFF_ACCESS_[RWX]_OK can go.
8256 ftrwrite, ftrexec, fteread, ftewrite and fteexec can all be merged
8257 with Perl_pp_ftrread().
8260 Oops. This new panic was meant to be added to the documented
8264 Meta-oops. Change 25987 was not the change you were looking for.
8267 Once more, with feeling.
8268 [Mmm, has someone been swapping the coffee for decaf?]
8269 [Actual cause - make sure the edited version of the file is in the
8273 Merge msgsnd, msgrcv with Perl_pp_shmwrite().
8274 "Perfection is achieved not when there's nothing more to add,
8275 but when there's nothing left to remove" (Antoine de Saint-Exupéry)
8278 Subject: Re: Configure -Dno_mathoms
8279 From: gisle@ActiveState.com (Gisle Aas)
8280 Date: 01 Nov 2005 03:27:49 -0800
8281 Message-ID: <lrslug7glm.fsf@caliper.activestate.com>
8284 The remaining special logic in pp_syswrite can be moved into pp_send,
8285 which is actually already 50% syswrite.
8288 pp_semop can fit within Perl_pp_shmwrite().
8291 Subject: patch@26052 - compile rule for mathoms.c
8292 From: "John E. Malmberg" <wb8tyw@qsl.net>
8293 Date: Tue, 08 Nov 2005 23:09:03 -0500
8294 Message-ID: <4371765F.1000900@qsl.net>
8295 Branch: maint-5.8/perl
8296 !> mathoms.c opcode.h opcode.pl perl.c pod/perldiag.pod pp_sys.c
8297 !> vms/descrip_mms.template
8298 ____________________________________________________________________________
8299 [ 27314] By: nicholas on 2006/02/24 14:21:24
8302 It appears that it's trivially easy to alias opcode functions in
8303 the opcode table. We should be able to get both a speed and size
8304 saving here. Time will tell how much.
8307 Try to preserve the lost opcode alias info in comments
8308 extent to change #25929
8311 Replace the 3 currently "unreachable" ops with a single op body
8312 unimplemented_op() that panics descriptively if ever reached.
8315 Simplify the implementation of the "unimplemented" message in the
8316 conditionally compiled ops.
8319 All the ops that are simply C<return some_other_op();> can be bypassed
8320 in the op dispatch table, and the bodies retired.
8323 Merge ftsize ftmtime ftatime ftctime into Perl_pp_ftis
8326 Correct error in 25958 for threaded builds.
8329 Avoid a pad panic by attempting to use dTARGET; in an op that didn't
8330 flag that it needed a target (OP_FTIS)
8333 Merge ftzero ftsock ftchr ftblk ftfile ftdir ftpipe into
8337 Move ftsuid ftsgid ftsvtx into Perl_pp_ftrowned.
8340 Move the conditonal compiles that report absence of kill and chown
8341 from pp_kill() and pp_chown() into apply().
8344 unlink chmod utime kill can be merged into Perl_pp_chown().
8347 Avoiding source code duplication for the lstat() on filehandle %s
8348 warning also makes the object code slightly smaller.
8351 Perl_pp_symlink and Perl_pp_link can be merged. The diff looks evil,
8352 but the actual finished code is not as bad as it seems.
8355 Subject: [PATCH] bad semicolon in pp_ftrowned
8356 From: Andy Lester <andy@petdance.com>
8357 Date: Fri, 4 Nov 2005 00:37:54 -0600
8358 Message-ID: <20051104063753.GA3863@petdance.com>
8361 Fix a Win32 linker error following change #25972
8362 Branch: maint-5.8/perl
8363 !> doio.c mathoms.c opcode.h opcode.pl pod/perldiag.pod pp.c
8364 !> pp_ctl.c pp_sys.c
8365 ____________________________________________________________________________
8366 [ 27310] By: nicholas on 2006/02/24 13:20:45
8369 Replace gv_fetchmethod() with a macro to call gv_fetchmethod_autoload()
8370 with the extra TRUE argument.
8373 Replace hv_iternext() with a macro that calls hv_iternext_flags with
8374 an extra 0 argument. Move the old body to mathoms.c
8377 Replace hv_magic() with a macro to call sv_magic() directly. Move the
8378 old body to mathoms.c
8381 init_i18nl14n is a mathom.
8384 save_hints is a mathom.
8387 Functions that die aren't exactly well used code.
8388 (ck_retarget, oopsCV, pp_padany, pp_threadsv, pp_mapstart)
8391 Replace is_utf8_string_loc() with a macro that passes the extra 0
8392 argument to is_utf8_string_loc(). Correct the description of its
8393 parameters in its POD.
8396 Replace uvuni_to_utf8() with a macro that passes the extra 0 argument
8397 to uvuni_to_utf8_flags(). Move the old body to mathoms.c
8400 Given that sv_nosharing performs the same function as sv_nolocking
8401 and sv_unnolocking (ie sweet FA), we might as well use the 1 function
8402 to initialise all 3 variables, and elimiate the other two.
8403 For some reason all 3 are listed as being in the public API. Daft.
8406 Perl_is_utf8_* share a lot of common code. Pull that out into a new
8407 function S_is_utf8_common.
8410 is_utf8_alnum() and is_utf8_alnumc() can use is_utf8_common() too.
8413 const const bad bad.
8414 gcc bad bad too, because it didn't grumble one bit. (or two, for that
8418 perlsio_binmode() is pretty much a mathom on UNIX platforms, but it is
8419 used on Cygwin, at least.
8422 is_utf8_string_loc() is now a macro, don't use its Perl_-prefixed form
8425 Fixed threaded builds following change 25916
8428 uvchr_to_utf8() and utf8n_to_uvchr() are mathoms on ASCII based
8429 systems, and not on EBCDIC, so some more thinking is going to be
8433 A more elegant way to deal with utf8n_to_uvchr() and utf8n_to_uvuni().
8436 This should clear up 'Perl_do_exec' undefined; warnings on win32
8439 This *really* should clear up Win32's Perl_do_exec undefined warnings
8440 Branch: maint-5.8/perl
8441 ! global.sym mathoms.c proto.h utf8.c
8442 !> embed.fnc embed.h gv.c gv.h hv.c hv.h intrpvar.h locale.c op.c
8443 !> perl.h perlio.c pp.c pp_ctl.c pp_hot.c utf8.h util.c
8444 ____________________________________________________________________________
8445 [ 27308] By: nicholas on 2006/02/24 12:11:35
8448 sv_2pv_nolen, sv_2pvbyte_nolen and sv_2pvutf8_nolen can all be replaced
8449 with terse macros, and the function bodies retired.
8452 Add a new SMAGIC flag, to signal a call to SvSETMAGIC. Add it to
8453 sv_catpvn_flags and sv_catsv_flags, and then re-implement sv_catpvn_mg
8454 and sv_catsv_mg as calls to sv_catpvn_flags and sv_catsv_flags
8458 Replace sv_catsv_mg and sv_catpvn_mg, and move the obsolete bodies to
8462 Replace the body of the rarely used sv_setpviv_mg with a call to
8463 sv_setpviv followed by SvSETMAGIC.
8466 Replace do_open() with a macro to call do_openn() with the extra two
8467 0 paramters. Move the old body to mathoms.c.
8470 Replace do_exec() with a macro to call do_exec3() with the extra two
8471 0 arguments. Move the old body to mathoms.c
8474 Replace do_aexec() with a macro to call do_aexec5() with the two extra
8475 0 arguments. Move the old body to mathoms.c
8478 I think we have a winner. do_pipe hasn't been called since 4.036.
8479 Maybe we should just remove this appendix.
8482 Fix win32 breakage inadvertently introduced by 25889
8485 I infer that change 25891 as-is would break OS2. This should fix it.
8486 Branch: maint-5.8/perl
8488 !> embed.fnc embed.h perl.h proto.h sv.c sv.h
8489 ____________________________________________________________________________
8490 [ 27305] By: nicholas on 2006/02/24 11:35:40
8493 Makefiles like tabs, not spaces.
8496 gv_fullname and gv_efullname are definately mathoms.
8499 gv_fullname3 and gv_efullname3 are definately mathoms. They even say so.
8502 Coverage stats say av_fake() is a mathom too.
8505 Additional mathoms from doio.c
8508 Change to use sv_force_normal_flags() directly, rather than calling
8509 sv_force_normal() to call sv_force_normal_flags().
8512 sv_taint() can easily be replaced by a macro.
8515 Oops, missed an sv_force_normal()
8518 Replace sv_unref with a macro that calls sv_unref_flags
8521 Replace sv_force_normal with a macro that calls sv_force_normal_flags.
8524 sv_utf8_upgrade declares itself to be a mathom, so off it goes.
8525 Remove duplicate declaration of Perl_sv_2uv
8528 All the private implementations of @foo for compilers that can't do
8529 complex macro expansions became dead wood sometime around 5.7.3
8530 (Don't tell Otava this)
8531 Branch: maint-5.8/perl
8533 !> NetWare/sv_nw.c av.c doio.c embed.fnc embed.h gv.c mg.c
8534 !> proto.h sv.c sv.h win32/Makefile win32/makefile.mk
8535 ____________________________________________________________________________
8536 [ 27303] By: nicholas on 2006/02/24 10:56:28
8539 Add a new file, mathoms.c, to hold old code kept around for binary
8540 compatability with previous versions of Perl. Change also includes
8541 various Makefile changes to compile the new file and link it into
8544 (Would have pulled more, but perforce branching behaviour would bite)
8545 Branch: maint-5.8/perl
8547 !> MANIFEST Makefile.SH Makefile.micro NetWare/Makefile globals.c
8548 !> numeric.c op.c perlio.c plan9/mkfile sv.c utf8.c
8549 !> vms/descrip_mms.template win32/Makefile win32/makefile.mk
8550 !> wince/Makefile.ce
8551 ____________________________________________________________________________
8552 [ 27285] By: nicholas on 2006/02/23 15:02:49
8554 Branch: maint-5.8/perl
8555 ! Changes patchlevel.h
8556 ____________________________________________________________________________
8557 [ 27284] By: nicholas on 2006/02/23 14:49:22
8560 Code assumes that *FOO{SCALAR} will always return a scalar reference,
8561 so make it so, creating $FOO if necessary.
8562 (Effectively this is a policy decision that PERL_DONT_CREATE_GVSV is
8563 visible to XS code, but isn't visible to Perl code)
8564 Branch: maint-5.8/perl
8566 ____________________________________________________________________________
8567 [ 27281] By: nicholas on 2006/02/23 13:35:27
8569 Branch: maint-5.8/perl
8570 ! Changes patchlevel.h
8571 ____________________________________________________________________________
8572 [ 27280] By: nicholas on 2006/02/23 13:32:51
8573 Log: Missed file from running embed.pl
8574 Branch: maint-5.8/perl
8576 ____________________________________________________________________________
8577 [ 27277] By: nicholas on 2006/02/23 00:51:58
8580 PERL_DONT_CREATE_GVSV wasn't as effective as it should have been.
8582 plus restore the description (but now to perl589delta.pod)
8583 Branch: maint-5.8/perl
8584 ! pod/perl589delta.pod
8586 ____________________________________________________________________________
8587 [ 27275] By: nicholas on 2006/02/22 23:58:35
8588 Log: In Perl_sv_dup, merge the copy code for the 3 simple types (IV,NV,RV).
8589 Branch: maint-5.8/perl
8591 ____________________________________________________________________________
8592 [ 27266] By: nicholas on 2006/02/21 23:57:15
8595 Subject: [patch] arena rework - unify arenaroots
8596 From: Jim Cromie <jim.cromie@gmail.com>
8597 Message-ID: <43DF3D0A.3040102@gmail.com>
8598 Date: Tue, 31 Jan 2006 03:33:46 -0700
8601 PL_body_arenas should be set to NULL when the interpreter is cleared.
8602 Branch: maint-5.8/perl
8604 !> embedvar.h hv.c intrpvar.h perlapi.h
8605 ____________________________________________________________________________
8606 [ 27253] By: nicholas on 2006/02/20 23:42:25
8609 Remove all the now unused new_XFOO()/del_XFOO() macros
8612 With -DPURFIY we change the flags so that everything is allocated
8613 directly. (Don't use arenas at all.) This seems a rather elegant way
8614 to simplify some of the code in sv.c by removing conditional
8618 Norman observed that a couple of macros could make the body defintion
8619 table a lot more readable.
8622 Flip the sign of the value in body details offset, and change its type
8626 Avoid negating an unsigned value. (The offset in the SV body table)
8629 Eliminate a croak we can't get to.
8632 Merge and refactor the PVAV and PVHV code in Perl_sv_upgrade, which
8633 reduces the object size by about 80 bytes.
8636 Remove "Can't upgrade to undef" from perldiag, as the corresponding
8637 code is now gone from sv_upgrade.
8640 new_body_type doesn't need to subtract the offset, that's what
8641 new_body_allocated is for.
8644 The message "Can't upgrade that kind of scalar" can be far more
8648 In Perl_sv_upgrade, the assignment to new_type_details only needs to
8650 Branch: maint-5.8/perl
8653 ____________________________________________________________________________
8654 [ 27246] By: nicholas on 2006/02/20 16:41:57
8657 sv_clear can manipulate the arena array directly too.
8658 Also, I think that we may have been "leaking" NV bodies in blead since
8659 25051. Oops. (Will not have been detectable except with -DPURIFY as
8660 the leak is not returning them as free to the arena)
8661 Branch: maint-5.8/perl
8663 ____________________________________________________________________________
8664 [ 27232] By: nicholas on 2006/02/19 23:57:27
8667 Eliminate new_body_offset from sv_dup()
8670 Eliminate new_body_length from sv_dup. Replace SvTYPE(sstr) with
8671 sv_type, which is a constant variable with the same value.
8674 Merge the arms of the switch. The decision about what comes from an
8675 arena and what comes from malloc is now solely in the table.
8678 We only need to zero new bodies for upgrades. sv_dup doesn't need to
8679 zero as it's copying over the same sized structure. So change
8680 new_NOARENA to malloc(), and add new_NOARENAZ() to calloc()
8683 Perl_sv_dup should be allocating bodies based on *size*, not the
8687 Coalesce 2 if blocks with duplicated conditions in Perl_sv_dup.
8688 Branch: maint-5.8/perl
8690 ____________________________________________________________________________
8691 [ 27226] By: nicholas on 2006/02/19 12:07:56
8694 Merge the last remaining case duplication in sv_upgrade
8695 Branch: maint-5.8/perl
8697 ____________________________________________________________________________
8698 [ 27225] By: nicholas on 2006/02/19 11:49:31
8701 Add a flag to the body details of which types come from arenas.
8702 Update the allocation information for all the types.
8703 Add a new macro new_NOARENA() for allocating the non-arena types.
8704 Use calloc rather than malloc for the new_NOARENA so that the Zero()
8708 new_body_inline doesn't need to be passed the root, as it's already
8709 inferring the arenaroot directly from the passed-in type.
8712 Eliminate new_body_offset from sv_upgrade
8715 Eliminate new_body_length from sv_upgrade
8716 Branch: maint-5.8/perl
8718 ____________________________________________________________________________
8719 [ 27224] By: nicholas on 2006/02/19 11:30:33
8722 Rename sv_upgrade's parameter mt to new_type.
8725 const and static for the const static private table.
8726 Replace the "upgrade" special case for SVt_PV with assertions as it's
8727 not been needed since we forced *up*grades.
8730 Simplify the expression for the upgrade logic for SVt_IV.
8731 Replace the "can't happen" comment for SVt_PVIV with assertions
8732 that it didn't happen.
8734 (except the bit about assertions)
8735 Branch: maint-5.8/perl
8737 ____________________________________________________________________________
8738 [ 27217] By: nicholas on 2006/02/18 11:50:06
8741 "Can you see what it is yet?"
8742 Next steps towards making as much as possible table driven.
8745 All that can be in the first switch statement of sv_upgrade is now
8746 table driven. The shrinking continues on the morrow.
8749 If NV_ZERO_IS_ALLBITS_ZERO is not true, then it's important to inialise
8750 the NV only if the new body has an NV. (D'oh!)
8751 Branch: maint-5.8/perl
8753 ____________________________________________________________________________
8754 [ 27216] By: nicholas on 2006/02/18 11:07:18
8757 s/SvTYPE(sv)/old_type/ in sv_upgrade because we already have that value
8759 Don't compile S_new_body with -DPURIFY
8762 Merge sizeof_body_by_svtype and offset_by_svtype into a single array
8766 Add the size of the structure to copy as a field in the per type
8768 Branch: maint-5.8/perl
8770 ____________________________________________________________________________
8771 [ 27206] By: nicholas on 2006/02/17 13:04:04
8774 Subject: Re: eliminate discreet arenaroots
8775 From: Jim Cromie <jim.cromie@gmail.com>
8776 Message-ID: <4378E5B0.3010708@gmail.com>
8777 Date: Mon, 14 Nov 2005 12:29:52 -0700
8780 PL_pte_root and PL_pte_arenaroot can be exterminated. Which reveals
8781 an erroneous remaining reference to PL_pte_root to correct.
8784 Oi gcc, No! sizeof(void) is an error. *Not* 1.
8785 Wanting sizeof(void) isn't even a compilation error with -ansi
8786 -pedantic. Just a warning. Lame! I'm going to send it back for a full
8787 refund. Hateful software.
8790 Move the location of the definition of the arena slot used for pte
8791 into sv.h, to keep it in one central place.
8792 Change it to use SVt_RV. (Having SVt_IV for real use will be useful.
8793 SVt_RV has no body, and doesn't pretend to have one, so it is spare.)
8796 Map the HE arena onto SV type 0 (SVt_NULL).
8797 Abolish PL_he_root and PL_he_arenaroot.
8798 Branch: maint-5.8/perl
8799 ! hv.c intrpvar.h sv.c sv.h
8800 !> embedvar.h ext/XS/APItest/APItest.xs perlapi.h
8801 ____________________________________________________________________________
8802 [ 27191] By: nicholas on 2006/02/15 09:44:22
8805 Provide a crude way for specifying the command line for
8809 Adapt test.valgrind make target to recent valgrinds (3.x)
8813 Subject: [patch] several broken make *.valgrind targets
8814 From: Jim Cromie <jim.cromie@gmail.com>
8815 Date: Tue, 07 Feb 2006 15:11:54 -0700
8816 Message-ID: <43E91B2A.4060700@gmail.com>
8817 Branch: maint-5.8/perl
8820 ____________________________________________________________________________
8821 [ 27183] By: nicholas on 2006/02/14 22:06:00
8822 Log: Unlike 5.9, SVt_IV needs to be freed. Only SVt_NULL can exit early.
8823 Branch: maint-5.8/perl
8825 ____________________________________________________________________________
8826 [ 27175] By: nicholas on 2006/02/13 21:02:41
8827 Log: Getting the old_length wrong for SVt_PVNV in Perl_sv_upgrade causes
8828 surprisingly subtle bugs. Now fixed. (Cause being that the expression
8829 to get the length of PVNV differs between blead and maint, because
8830 blead's structures have been space optimised.)
8831 Branch: maint-5.8/perl
8833 ____________________________________________________________________________
8834 [ 27170] By: nicholas on 2006/02/13 15:32:10
8837 lastparen in the regexp structure is never initialised, and so will
8838 still be uninitialised after a failed match, yet various points in
8839 mg.c read it come what may. Should fix bug 38461.
8842 All the bits of clone_params.flags need to be initialised, not just
8844 Branch: maint-5.8/perl
8845 !> ext/threads/threads.xs regcomp.c
8846 ____________________________________________________________________________
8847 [ 27168] By: nicholas on 2006/02/12 21:10:26
8850 global.sym appears to have become out of date. Oops.
8853 Arrange to only output each symbol once into global.sym
8856 Perl_csighandler was in global.sym twice.
8857 Branch: maint-5.8/perl
8858 !> embed.pl global.sym
8859 ____________________________________________________________________________
8860 [ 27167] By: nicholas on 2006/02/12 20:48:31
8861 Log: Make cross upgrades work (eg a request to "upgrade" PV to NV)
8862 Branch: maint-5.8/perl
8864 ____________________________________________________________________________
8865 [ 27165] By: nicholas on 2006/02/12 18:18:04
8868 Unwrap the del_Xfoo() macros by explicitly noting the arena to free
8869 the body to. This comletely eliminates the second switch statement.
8870 Branch: maint-5.8/perl
8872 ____________________________________________________________________________
8873 [ 27164] By: nicholas on 2006/02/12 11:20:06
8874 Log: Perl_sv_upgrade is not void in maint, so need to return TRUE.
8875 Branch: maint-5.8/perl
8877 ____________________________________________________________________________
8878 [ 27163] By: nicholas on 2006/02/12 00:29:55
8881 Move the offset calculations outside of new_body/del_body.
8882 This makes some of the upgrade code slightly simpler.
8885 If NV_ZERO_IS_ALLBITS_ZERO there's no need to explicitly set the NVX
8886 to 0.0, as the memset has already done it.
8889 S_del_body is sufficiently small that inlining it is a space win.
8892 As there will be no old body to dispose of, we can return immediately.
8895 Copying the first parameter in the macro del_body seems to reduce
8896 code size. Presumably an expression is no longer evaluated twice.
8899 Inlining del_HE is actually a space optimisation.
8900 It's therefore likely also to be a speed optimisation. :-)
8903 Provide a macro version of S_new_body to inline it within the hot code.
8906 Subject: [patch: sv.c] reuse new_body_inline in Perl_new_body
8907 From: Jim Cromie <jcromie@divsol.com>
8908 Date: Sun, 10 Jul 2005 15:59:30 -0600
8909 Message-ID: <42D19A42.8040409@divsol.com>
8910 Branch: maint-5.8/perl
8911 !> embed.fnc embed.h hv.c proto.h sv.c
8912 ____________________________________________________________________________
8913 [ 27160] By: nicholas on 2006/02/11 15:13:04
8916 Refactor sv_dup to memcpy from source to destination, and only
8917 explicitly copy the structure members that need explicit duplication.
8918 Branch: maint-5.8/perl
8920 ____________________________________________________________________________
8921 [ 27157] By: nicholas on 2006/02/11 10:48:48
8924 Subject: [PATCH] squeeze repetition out of Perl_sv_free_arenas
8925 From: Jim Cromie <jcromie@divsol.com>
8926 Message-ID: <42B3C388.2090902@divsol.com>
8927 Date: Sat, 18 Jun 2005 00:47:36 -0600
8930 Squeeze a little more savings by moving pte and he arenas into the
8931 common arena free code.
8934 Replace the non-const initialiser block + loop with a series of calls
8935 to a small static function.
8936 c.f. "I will replace you with a small shell script..."
8937 Branch: maint-5.8/perl
8939 ____________________________________________________________________________
8940 [ 27156] By: nicholas on 2006/02/11 10:09:35
8943 sv_upgrade by memcpy
8944 AV and HV cases need tidyup
8947 update AVs and HVs using the old_body, and remove all of the local
8948 variables used to hold the SV body piecemeal.
8949 Branch: maint-5.8/perl
8951 ____________________________________________________________________________
8952 [ 27150] By: nicholas on 2006/02/10 11:49:32
8955 Move freeing the old body after the creating of the new body.
8958 Missing aTHX_ (noticed by Jim Cromie)
8961 Collect a little more information about the body we're getting rid of
8964 Change 24886 was buggy - should be taking (and passing in) the
8965 address of the arena.
8968 Fix compiling with -DPURIFY
8969 Branch: maint-5.8/perl
8971 ____________________________________________________________________________
8972 [ 27149] By: nicholas on 2006/02/10 11:25:06
8975 new_pte/del_pte can use new_body/del_body too
8979 (*up*grades. Or croak)
8980 Branch: maint-5.8/perl
8982 ____________________________________________________________________________
8983 [ 27147] By: nicholas on 2006/02/10 11:04:46
8986 Replace all the new/del static functions with calls to a single pair
8987 of functions that uproot/plant bodies
8988 Branch: maint-5.8/perl
8990 !> embed.fnc embed.h proto.h
8991 ____________________________________________________________________________
8992 [ 27146] By: nicholas on 2006/02/10 10:29:10
8995 Replace all the S_more_* functions with a single function.
8996 Saves 1.5K on the object file in OS X when built with -Os
8999 Making more_* return a pointer, and swapping to a ternary ?: in
9000 new_* seems to generate slightly terser object code.
9001 Branch: maint-5.8/perl
9003 ____________________________________________________________________________
9004 [ 27144] By: nicholas on 2006/02/09 22:33:56
9007 Subject: [PATCH] Re: [perl #36048] Refactor S_more_*v into one function
9008 From: Jim Cromie <jcromie@divsol.com>
9009 Message-ID: <42ADC8ED.4090009@divsol.com>
9010 Date: Mon, 13 Jun 2005 11:57:01 -0600
9012 Plus fixups - xiv_allocated, xnv_allocated, xpviv_allocated structures,
9013 cast corrections in S_{new,del}_x[in]v, and more_thingy declarations
9014 for the 2 types that no longer use arenas in 5.9 (IVs and RVs)
9015 Branch: maint-5.8/perl
9016 ! embedvar.h intrpvar.h sv.c sv.h
9017 ____________________________________________________________________________
9018 [ 27143] By: nicholas on 2006/02/09 21:49:46
9019 Log: Restore changes 24459 and 24467 (GVs from arenas) (ie reverse 26559)
9020 as the arena re-working is started.
9021 Branch: maint-5.8/perl
9022 ! embed.fnc embed.h embedvar.h intrpvar.h perlapi.h proto.h sv.c
9023 ____________________________________________________________________________
9024 [ 27142] By: nicholas on 2006/02/09 21:12:42
9027 create an "allocated" structure for PVs, PVAVs and PVHVs
9028 Branch: maint-5.8/perl
9029 !> av.h hv.h intrpvar.h sv.c sv.h
9030 ____________________________________________________________________________
9031 [ 27141] By: nicholas on 2006/02/09 20:34:26
9034 Merge common code. Reduces object size by 1K on x86, 6K on PPC
9037 The if() clause is the wrong way round, so OOK can never be true in
9038 this case. Given that OOK is never undone, we could never have been
9039 correctly upgrading a PV with OOK to HV or AV. I believe that only
9040 SVt_NULL is the only type ever upgraded to HV or AV.
9041 Branch: maint-5.8/perl
9043 ____________________________________________________________________________
9044 [ 27058] By: nicholas on 2006/02/03 11:35:30
9045 Log: Create perl589delta.pod
9046 Branch: maint-5.8/perl
9047 + pod/perl589delta.pod
9048 ! MANIFEST Makefile.SH pod.lst pod/perl.pod
9049 ! vms/descrip_mms.template win32/Makefile win32/makefile.mk
9051 ____________________________________________________________________________
9052 [ 27055] By: nicholas on 2006/02/02 17:28:37
9053 Log: Update Changes, and create Changes5.8.8
9054 Branch: maint-5.8/perl
9056 ! Changes MANIFEST patchlevel.h
9057 ____________________________________________________________________________
9058 [ 27041] By: nicholas on 2006/02/01 18:22:12
9059 Log: That was 5.8.8.
9060 Branch: maint-5.8/perl
9062 ____________________________________________________________________________
9063 [ 27040] By: nicholas on 2006/02/01 18:08:07
9064 Log: Regenerated files that shipped with 5.8.8.
9065 Branch: maint-5.8/perl
9066 ! ext/B/B/Asmdata.pm perlapi.c
9067 ____________________________________________________________________________
9068 [ 27029] By: nicholas on 2006/01/31 23:39:33
9069 Log: lib/CPAN/SIGNATURE is supposed to be in the MANIFEST, and therefore
9071 Branch: maint-5.8/perl
9073 ____________________________________________________________________________
9074 [ 27026] By: nicholas on 2006/01/31 16:25:24
9076 Branch: maint-5.8/perl
9078 ____________________________________________________________________________
9079 [ 27025] By: nicholas on 2006/01/31 16:03:49
9081 Branch: maint-5.8/perl
9082 ! Changes patchlevel.h
9083 ____________________________________________________________________________