summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Improve setlocale() detection in Configure-ish filesKarl Williamson2019-03-0416-18/+215
| | | | This also now notes some behavior of setlocale
* Add towupper() and towlower() to Configure-ish filesKarl Williamson2019-03-0416-6/+68
|
* Add wctype.h to Configure-ish filesKarl Williamson2019-03-0416-2/+31
|
* perl.h: Improve a comment's wordingKarl Williamson2019-03-041-1/+1
|
* regcomp.c: Silence compiler warning msg.Karl Williamson2019-03-041-1/+1
| | | | | | | | Some compilers aren't smart enough to realize there is no path through this function that doesn't set the return value. So initialize to an illegal value. Spotted by atoomic
* locale.c: Fix grammar in commentKarl Williamson2019-03-041-1/+1
|
* lib/locale.t: Improve wording of test nameKarl Williamson2019-03-041-1/+1
|
* perlop: Improve documentation for (mostly) tr///Karl Williamson2019-03-041-55/+104
| | | | This adds examples and clarifications
* ebcdic_tables.h: Remove alien '#'Karl Williamson2019-03-042-50/+50
| | | | | | | | These were introduced in c05125c57fd7868af65366bacb6fe40c04b1c719 in July 2018, and would cause any EBCDIC compilations to fail. That I found it by code inspection shows that we've lost all our EBCDIC smokers again.
* regen/ebcdic.pl: Move code to functionKarl Williamson2019-03-041-8/+18
| | | | This is for eventual use in being called from more than one place.
* Fix dup_warnings()Karl Williamson2019-02-273-6/+2
| | | | | | | | | | | | | | | | | | | | It turns out that some Configure options cause this to be called with a NULL parameter. (I didn't check, but my guess is it's threaded builds.) That means that the embed.fnc entry should be NULLOK for the parameter. And that means that embed.fnc doesn't generate an ARGS_ASSERT macro, so that should be removed from the function. (I actually think it should generate an empty ARGS_ASSERT that could be included or not, so that code wouldn't have to change if a parameter became required to be non-null or vice versa. The porting test would only check for non-empty macros being present. But this is for another day.) The reason it works as-was with a NULL parameter is because of an apparent coincidence: specialWARN() is called first thing in this function and thinks a NULL is a defined marker for a particular meaning, so the function immediately returns. This commit makes that explicit rather than relying on the apparent coincidence.
* Add missing ARGS_ASSERTKarl Williamson2019-02-271-0/+2
| | | | From c1e47bad34ce1d9c84ed57c9b8978bcbd5a02e98
* add Perl_dup_warnings() and fix leakDavid Mitchell2019-02-275-8/+27
| | | | | | | | | | | | | | | | | The macro DUP_WARNINGS() was doing (approximately) new = CopyD(old, malloc(size), size); which, depending on how the CopyD macro expanded (e.g. on debugging builds), could result in its arguments being used multiple times, and thus malloc() being called multiple times, with the result of the earlier call(s) then leaking. Fix this by implementing DUP_WARNINGS using a new function, Perl_dup_warnings() that stores its intermediate values in local vars. This function isn't performance critical, as its usually only called once per cop creation at compile time.
* t/re/pat.t: avoid failing test under ASanDavid Mitchell2019-02-251-0/+10
|
* perldelta for 7d0a46b7159eTony Cook2019-02-251-2/+4
|
* bump $PerlIO::encoding::VERSIONTony Cook2019-02-251-1/+1
|
* (perl #131683) enable warnings for the block that tests for warningsTony Cook2019-02-251-0/+1
|
* PerlIO::encoding: Use Encode::ONLY_PRAGMA_WARNINGS in fallback by defaultPali2019-02-251-1/+1
| | | | | This would enable to respect utf8 warnings enabled/disabled by pramga warnings when processing filehandle with :encoding layer.
* perldelta for 238f2c136aa0Tony Cook2019-02-251-1/+2
|
* Add newSVsv_nomg() macro which is like newSVsv() but does not process get magicPali2019-02-256-7/+31
| | | | Both newSVsv() and newSVsv_nomg() are now implemented via new Perl_newSVsv_flags() function.
* upgrade cpan/JSON-PP from 4.00 to 4.02David Mitchell2019-02-235-10/+20
| | | | | | | | | 4.02 2019-02-23 - fix a test that breaks if perl is compiled with -Dquadmath (RT-128589) 4.01 2019-02-22 - allow to pass indent_length to json_pp (GH#46)
* Perl_op_sibling_splice(0 remove dead codeDavid Mitchell2019-02-221-2/+1
| | | | | | | | Spotted by Coverity. We've already checkerd earlier on that at least one of parent and start is non-null, so the line in question can never be reached. Turn it into an assertion instead.
* Epigraph for 5.29.8Nicolas R2019-02-211-0/+4
|
* they seek him here, they seek him thereChris 'BinGOs' Williams2019-02-211-1/+1
|
* fix for Module/CoreList.pm 5.029009Nicolas R2019-02-201-1/+1
| | | | damn it Nico..
* Update Module::CoreList for 5.29.9Nicolas R2019-02-203-2/+31
|
* Bump the perl version in various places for 5.29.9Nicolas R2019-02-2022-135/+135
|
* New perldelta for 5.29.9Nicolas R2019-02-2011-212/+662
|
* Tick! 5.29.8Nicolas R2019-02-201-2/+2
|
* Extra advice to release_managers_guide.podNicolas R2019-02-201-3/+14
|
* (perl #133778) adjust MARK if we extend the stack in pp_repeatTony Cook2019-02-212-2/+85
| | | | for a list repeat in scalar/void context
* Bump Devel::PPPort to 3.44 for CPAN releasev5.29.8Nicolas R2019-02-207-6/+26
| | | | | | During v5.29.8 dev cycle a change was made to Devel-PPPort 18d728ac3b which justify to bump and release a new version of Devel::PPPort.
* Add 5.29.8 release to pod/perlhistNicolas R2019-02-201-0/+1
|
* Add XS::APItest to unclaimedModules in corelist-perldelta.plNicolas R2019-02-201-1/+8
| | | | | | | | Without this change corelist-perldelta.pl would not see the changes from XS::APItest. ./perl -Ilib Porting/corelist-perldelta.pl \ --mode=update pod/perldelta.pod
* Update Module::CoreList for 5.19.8Nicolas R2019-02-201-0/+87
|
* Perldelta final massage for 5.29.8 releaseNicolas R2019-02-201-68/+51
| | | | | Update perldelta file with recent changes and perform some extra cleanup.
* Add more Travis CI flavors to the matrixNicolas R2019-02-201-1/+5
| | | | | | | | | | | | | | This configuration is going to considerably slowing down smokes but this is a useful alternate when preparing a release. We can probably consider commenting these extra config and only check them for release. Or we could also provide two travis.yaml: - .travis.yml.light - .travis.yml.full And use a symlink depending which one we want to use.
* Add note for BLEAD point release to release_managers_guide.podNicolas R2019-02-201-3/+9
| | | | | Add note concerning the bump of PERL_API_* constants for blead point releases.
* Time-HiRes 1.9760 - bump Module::CoreList & coNicolas R2019-02-202-2/+2
| | | | | Also bump Porting/Maintainers.pl to synchronize with the upstream version we are using.
* Devel::PPPort: Fix D_PPP_FIX_UTF8_ERRSV macroPali2019-02-201-2/+2
| | | | It should use errsv value from passed argument.
* perldelta for 125ddee8ebdb, 2e51033c15c9Tony Cook2019-02-201-2/+3
|
* test for error set on socket() failureTony Cook2019-02-201-0/+12
|
* win32/win32sck.c: better socket() error handlingTomasz Konojacki2019-02-201-1/+5
| | | | | | | When the protocol passed to socket() is unknown, set errno to WSAEPROTONOSUPPORT. [perl #133853]
* [MERGE] fix PERL_GLOBAL_STRUCT buildsDavid Mitchell2019-02-1928-102/+283
|\ | | | | | | | | | | PERL_GLOBAL_STRUCT and DPERL_GLOBAL_STRUCT_PRIVATE builds haven't been smoked for quite a while and the code has bit-rotted. The commits in this branch made them build and all test pass again, at least on Linux
| * merge two versions of Perl_my_cxt_initDavid Mitchell2019-02-191-56/+31
| | | | | | | | | | | | | | | | There are two separate copies of this function, chosen by the presence of PERL_GLOBAL_STRUCT_PRIVATE. The previous couple of commits have made them more similar; this commit merges them into a single function with differing blocks of code protected by PERL_GLOBAL_STRUCT_PRIVATE
| * Perl_my_cxt_init: remove unnecessary codeDavid Mitchell2019-02-191-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | In the PERL_GLOBAL_STRUCT_PRIVATE variant of this code, it zeroes out unused slots of a freshly-realloced PL_my_cxt_list[]. This is not necessary, as those slots won't be used until a new index is allocated, as which point the new slot will get written to before anything else. The non-PERL_GLOBAL_STRUCT_PRIVATE variant of this function doesn't have this redundant zeroing. So remove it.
| * harmonise two versions of Perl_my_cxt_initDavid Mitchell2019-02-193-11/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two separate copies of this function, chosen by the presence of PERL_GLOBAL_STRUCT_PRIVATE. Make the two versions closer to each other, to allow shortly for merging. Mainly its renaming the int pointer parameter from 'index' to 'indexp', and adding a local var 'index', which is assigned from *indexp where appropriate. Also harmonise some of the comments between the two functions.
| * perlvars.h: remove #ifdef DEBUGGINGDavid Mitchell2019-02-192-3/+0
| | | | | | | | | | | | | | | | | | | | Under PERL_GLOBAL_STRUCT, all the "global" vars are put in a structure, which means perlvars.h needs a similar constraint to intrpvar.h: its size and alignment shouldn't change between debugging and non-debugging builds. This is because regcomp/exec.c are compiled both with and without DEBUGGING. [Fixed by Karl]
| * PERL_GLOBAL_STRUCT: remove static var from sv.cDavid Mitchell2019-02-191-2/+2
| | | | | | | | | | This var was protected by PERL_GLOBAL_STRUCT_PRIVATE, but PERL_GLOBAL_STRUCT doesn't allow static vars either.
| * get MakeMaker to play under PERL_GLOBAL_STRUCTDavid Mitchell2019-02-192-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | Under PERL_GLOBAL_STRUCT (well, actually I've only tried under PERL_GLOBAL_STRUCT_PRIVATE), cpan/ExtUtils-MakeMaker/t/03-xsstatic.t was failing some tests. This was because it was creating a statically-linked perl binary, but wasn't compiling perlmain.c with -DPERL_CORE. Usually this doesn't matter, but under PERL_GLOBAL_STRUCT it needed a definition of aTHX which it was pulling from XSUB.h rather than perl.h, causing a SEGV. Until a proper fix makes it way into MakeMaker, explicitly define PERL_CORE in perlmain.c