summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move PL_{No,Yes,hexdigit} from perlvars.h to perl.h, as all are const char[]Nicholas Clark2011-06-128-48/+11
| | | | | | | | | | | They were converted in perl.h from const char[] to #define in 31fb120917c4f65d, then re-instated as const char[], but in perlvars.h, in 3fe35a814d0a98f4. There's no need for compile-time constants to jump through the hoops of perlvars.h, even for Symbian, as the various "EXTCONST" variables already in perl.h demonstrate. These were the only 3 users of the the PERLVARISC macro, so eliminate that, and all related code.
* Eliminate PL_patleave, unused since perl 5.0 alpha 2.Nicholas Clark2011-06-123-6/+0
| | | | | | | patleave was added in perl 3.0 patch #35 patch #29 -- 395c379347344a50, used in scanpat(). scanpat() was refactored and renamed to scan_pat() in 5.0 alpha 2, "commented" out with the C pre-processor in 5.000, and removed in 5.001.
* Move the temporary definitions for PERLVAR* macros inside #ifdef MULTIPLICITYNicholas Clark2011-06-121-36/+42
| | | | | | | | | | | | | | | | | Under MULTIPLICITY, intrpvar.h is included "early", as: struct interpreter { # include "intrpvar.h" }; with local definitions of PERLVAR{,A,I,IS,ISC} that generate output text for the "variables" as structure members. Additionally, under PERL_GLOBAL_STRUCT "perlvars.h" is included within struct perl_vars { ... }. Move the definition/undefining of these 5 macros to within the #ifdef MULTIPLICITY block, to clarify the limited intent of their scope. Move some additional related PERL_GLOBAL_STRUCT setup to within the block.
* Update Porting/checkURL.pl to not verify secure hostnames and add many updatesLeon Brocard2011-06-121-12/+102
|
* Fix broken URL in dist/threads/lib/threads.pm for the itheads mailing listLeon Brocard2011-06-121-1/+1
|
* Fix broken URLs in dist/Net-Ping/Changes from perlbrowse to gitLeon Brocard2011-06-121-1/+1
|
* Fix broken URLs in dist/Locale-Maketext/lib/Locale/Maketext/TPJ13.pod for RFCsLeon Brocard2011-06-121-2/+2
|
* Fix broken URLs in ExtUtils-Install/Changes from perlbrowse to gitLeon Brocard2011-06-121-2/+2
|
* Fix broken URL in threads/shared.pm for the itheads mailing listLeon Brocard2011-06-121-1/+1
|
* Fix broken URLs for RFCs, bump version and document in perldeltaLeon Brocard2011-06-123-5/+17
|
* Fix two broken URLs in mro.pm, bump version and document in perldeltaLeon Brocard2011-06-123-11/+8
|
* Generate the table of core magic types in perlguts.pod using mg_vtable.plNicholas Clark2011-06-123-18/+67
| | | | | | | | | | | This fixes a couple of errors and omissions, and resorts the table in the same case insensitive order as the header files. It eliminates 1 overlong verbatim line of pod. As there's no good way to include component files into the core pods, and the regen scripts aren't designed to modify in place, generate this to STDOUT (if -g is added to the command line), to be hand edited into place. It would be nice to be able to automate this fully.
* In regen/mg_vtable.pl, move $longest inside the only block that uses it.Nicholas Clark2011-06-121-5/+5
|
* Reorder ops so that trans{,r} and aelemfast{,_lex} are adjacent.Nicholas Clark2011-06-124-354/+351
|
* Split OP_AELEMFAST_LEX out from OP_AELEMFAST.Nicholas Clark2011-06-1213-38/+61
| | | | | | | | | | | | | 6a077020aea1c5f0 extended the OP_AELEMFAST optimisation to lexical arrays. Previously OP_AELEMFAST was only used as an optimisation for OP_GV, which is a PADOP/SVOP. However, by reusing the same opcode, and signalling (pad) lexical vs package, it introduced a myriad of special cases, because OP_PADAV is a BASEOP (not a PADOP), whilst OP_AELEMFAST is a PADOP/SVOP (which is larger). Using two OP numbers allows each variant to have the correct OP flags in PL_opargs. Both can continue to share the same C code.
* Fix some broken URLs found by Porting/checkURL.plLeon Brocard2011-06-129-14/+12
|
* Shrink struct am_table.Nicholas Clark2011-06-121-3/+6
| | | | | Two members, flags and fallback, were using integer types considerably larger than the range of values that they needed to store.
* [perl #90130] Allow CORE::* without feature.pmFather Chrysostomos2011-06-115-7/+34
| | | | | This commit allows feature.pm-enabled keywords to work with CORE::* even outside the scope of ‘use feature’.
* Correct file references in switch.tFather Chrysostomos2011-06-111-2/+2
|
* Remove TODO markers from Devel::Peek testsFather Chrysostomos2011-06-111-5/+18
| | | | These all pass now as of commit b56985536ef7.
* Remove x bit from rt-16221.tFather Chrysostomos2011-06-111-0/+0
|
* Increase Math::BigInt’s versionFather Chrysostomos2011-06-111-1/+1
|
* Increase Math::BigFloat’s versionFather Chrysostomos2011-06-111-1/+1
|
* [perl #85026] Iterate hashes by hand during do_sv_dumpTon Hospel2011-06-111-12/+24
| | | | | | | | | A further note: while debugging this issue it was annoying that Devel::Peek::Dump doesb't actually dump the HASH elements when an iterator is active. Also added is a patch that does the iteration to dump the HASH contents by iterating over it by hand (not disturbing any active iterator). With that it also doesn't activate hash magic during iteration, which I think is a feature
* Revert "Perl_do_sv_dump: alert when skipping elements"Father Chrysostomos2011-06-111-27/+22
| | | | | | | This reverts commit 002beaef76a1595af2e39ffd4cd55c595bd6c271. I am about to apply the manual-iteration patch from ticket #85026. It conflicts with 002beaef, but it also renders 002beaef unnecessary.
* allow features inside interactive debuggerSalvador Fandino2011-06-111-0/+6
|
* Add dist/Math-BigInt/t/rt-16221.t to MANIFESTFather Chrysostomos2011-06-111-0/+1
|
* Fix Math::BigFloat->numify().Peter John Acklam2011-06-112-12/+17
| | | | | | | | | | | | | | Math::BigFloat->numify() shall, according to the documentation and to be consistent with Math::BigInt->numify() and Math::BigRat->numify(), return a Perl scalar number, not a string. - dist/Math-BigInt/lib/Math/BigFloat.pm: - Fix objectify(). - dist/Math-BigInt/t/bigfltpm.inc: - Remove no longer relevant tests. - Modify existing tests and add new tests to verify correct behaviour. This fix closes RT #66732.
* Fix objectify()'s handling of "foreign objects".Peter John Acklam2011-06-112-87/+199
| | | | | | | | | | | | | | - Fix handling of "foreign objects" so they are converted to the appropriate class (Math::BigInt or Math::BigFloat). - Avoid code duplication by using only one loop. - Loop over indexes rather than array elements to make code cleaner. - Fix incorrect code comments, add more code comments and clearify existing ones. - Correct handling of undefs to make the code consistent. objectify() gave different output when the initial "shortcut" was removed. - Add test file verifying that RT#16221 is fixed. This fix closes RT #16221 and RT #52124. This patch supersedes Perl #86146.
* Add sign function bsgn() as a complement to babs().Peter John Acklam2011-06-115-4/+24
| | | | | | | This is the standard mathematical signum function. It sets the invocand to -1, 0, or 1, if it is real, and NaN otherwise. Documentation and tests are included.
* Remove another bug workaroundFather Chrysostomos2011-06-111-3/+2
|
* Remove workaround for fixed bugFather Chrysostomos2011-06-111-1/+0
|
* Revert "Revert "Make untie check the FAKE flag on globs""Father Chrysostomos2011-06-112-4/+12
| | | | This reverts commit 84b9ac853508aaff52254b6cf2b95a2a6783ff00.
* Revert "Revert "[perl #77688] tie $scalar can tie a handle""Father Chrysostomos2011-06-112-1/+12
| | | | This reverts commit 7850f4d6b732ab5f426cd3bcd9757c70a46cfda1.
* Revert "Revert "[perl #77496] tied gets scalars and globs confused""Father Chrysostomos2011-06-112-1/+15
| | | | This reverts commit b029825916bf29623e00b45fa4226fab0d52d217.
* Revert ‘Deprecate tie $handle without *’Father Chrysostomos2011-06-113-44/+2
| | | | | This reverts commit 7c7df8124bbdd7a0091f8ed82589548c8182f624, except for the perldiag entry, which we still need for splain’s sake.
* Add Porting/make_modlib_cpan.pl to MANIFEST.Nicholas Clark2011-06-112-0/+1
| | | | Also -x it, as it doesn't have a suitable #! line, and its peers are all -x.
* regexec.c: Remvove unnecessary special handling for \xDFKarl Williamson2011-06-111-6/+5
| | | | | regcomp.c has been changed, so the case that this handled no longer comes up.
* Typo in VMS-specific realclean target from ↵Craig A. Berry2011-06-111-1/+1
| | | | 6f83ef0e5a45c465f83de3304c5818ba44492250.
* Added Alan Haggai Alavi to AUTHORSDavid Golden2011-06-111-0/+1
|
* perlvar.pod: fixed typoAlan Haggai Alavi2011-06-111-1/+1
| | | | Signed-off-by: David Golden <dagolden@cpan.org>
* Correct errors in the use of multiple targets, which could break parallel make.Nicholas Clark2011-06-111-1/+3
| | | | This was fixed in Makefile.SH in commit 0f13ebd5d71f8177.
* Sort magic and magic vtable names in files generated by mg_vtable.plNicholas Clark2011-06-114-108/+117
| | | | | Magic is sorted case insensitively, with upper case before lower case. vtable names are all lowercase letters.
* Generate magic_names in dump.c using mg_vtable.pl.Nicholas Clark2011-06-115-50/+66
|
* Generate the PERL_MAGIC_* defines using mg_vtable.pl.Nicholas Clark2011-06-113-59/+79
|
* In PL_magic_data flag whether magic can be added to a readonly value.Nicholas Clark2011-06-114-26/+32
| | | | | | | | | | | | | | | Use this to simplify the logic in Perl_sv_magic(). This introduces a small change of behaviour for error cases involving unknown magic types. Previously, if Perl_sv_magic() was passed a magic type unknown to it, it would 1: Croak "Modification of a read-only value attempted" if read only 2: Return without error if the SV happened to already have this magic 3: otherwise croak "Don't know how to handle magic of type \\%o" Now it will always croak "Don't know how to handle magic of type \\%o", even on read only values, or SVs which already have the unknown magic type.
* Store a flag for container/value magic in PL_magic_data.Nicholas Clark2011-06-115-81/+68
| | | | Use this to replace S_is_container_magic() in mg.c with a direct lookup.
* Create a lookup table for magic vtables from magic type, PL_magic_data.Nicholas Clark2011-06-1113-148/+302
| | | | | | | | | | | Use it to eliminate the large switch statement in Perl_sv_magic(). As the table needs to be keyed on magic type, which is expressed as C character constants, the order depends on the compiler's character set. Frustratingly, EBCDIC variants don't agree on the code points for '~' and ']', which we use here. Instead of having (at least) 4 tables, get the local runtime to sort the table for us. Hence the regen script writes out the (unsorted) mg_raw.h, which generate_uudmap sorts to generate mg_data.h
* Refactor generate_uudmap.c to use a helper function to output init blocks.Nicholas Clark2011-06-111-15/+26
| | | | | In future, this will allow it to generate other output formats without duplicating code.
* Provide the names of the magic vtables in PL_magic_vtable_names[].Nicholas Clark2011-06-114-37/+56
| | | | | | As it's a 1 to 1 mapping with the vtables in PL_magic_vtables[], refactor Perl_do_magic_dump() to index into it directly to find the name for an arbitrary mg_virtual, avoiding a long switch statement.