summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* add new release to perlhistv5.29.2Chris 'BinGOs' Williams2018-08-201-0/+1
|
* Update Module-CoreList for v5.29.2Chris 'BinGOs' Williams2018-08-201-0/+76
|
* Finalise perldeltaChris 'BinGOs' Williams2018-08-201-325/+36
|
* Make sv_setsv_flags accept an inversion list srcKarl Williamson2018-08-204-6/+13
| | | | | | | | | | Inversion lists are a type of SV, but aren't really convertible to other types, nor has there been a need to. But it makes things more convenient for a future commit to allow one to just clobber whatever is in an SV and replace it with an inversion list. Even after this commit, there are restrictions to what the SV can have that gets clobbered. But this is a step towards more generality
* Allow invlist_clone to accept a destination SVKarl Williamson2018-08-201-7/+13
| | | | | This will allow it to clone into an existing SV instead of always creating a new one.
* Make static function non-staticKarl Williamson2018-08-204-11/+9
| | | | This is in preparation for it to be called from outside this file
* regcomp.c: Add second parameter to static functionKarl Williamson2018-08-204-21/+23
| | | | This parameter can only be NULL until a future commit
* regcomp.c: Extract code into separate functionKarl Williamson2018-08-204-9/+27
| | | | This is in preparation for it to be called from a second place
* regcomp.c: Replace code with fcn that does the same thingKarl Williamson2018-08-201-1/+1
| | | | | This makes one less place that has to know certain details. Since the function is inline, there should be no change in the compiled code
* utf8.h: Update outmoded commentKarl Williamson2018-08-201-1/+1
|
* utf8.c: Rename macro and move to utf8.h, and use it in regcomp.cKarl Williamson2018-08-203-9/+10
| | | | This hides an internal detail
* invlist_inline.h: Two symbols no longer needed in utf8.cKarl Williamson2018-08-201-1/+1
| | | | | This is because the code using them has been moved to regcomp.c in cef721997e14497f2fbc4be17ab736ad7ddfda29
* Add inline function to hide implementation detailsKarl Williamson2018-08-205-14/+31
|
* t/re/regexp_unicode_prop.t: Add tests for run-timeKarl Williamson2018-08-201-18/+48
| | | | | | | | | | | | | User-defined \p{} properties can be referred to in a regex pattern compilation before their definition is encountered. This is supposed to work, and their definitions get compiled when needed at run-time. But there was only one test that this worked. This commit restructures things so that every user-defined property is compiled into a pattern before its definition is known, and also into another pattern after its definition is known. This removes the need to special case the earlier single one that did this test.
* t/re/regexp_unicode_prop.t: Reorder a few testsKarl Williamson2018-08-201-4/+6
| | | | | This is based on knowledge of how the code works, to stress it a little more.
* t/re/regexp_unicode_prop.t: Avoid a TEST crash if failureKarl Williamson2018-08-201-4/+6
| | | | | This changes the logic to not do a 'like' unless we know that the operand is a valid pattern.
* t/re/regexp_unicode_prop.t: Add check no warnings generatedKarl Williamson2018-08-201-0/+8
|
* t/re/regexp_unicode_prop.t: Extract code into a functionKarl Williamson2018-08-201-14/+22
| | | | This is in preparation for it to be called from a 2nd place
* t/re/regexp_unicode_prop.t: White-space onlyKarl Williamson2018-08-201-39/+39
| | | | | Indent some lines that a future commit will surround with a block, and outdent others where a block will be removed
* regcomp.c: Use isFOO_A instead of isFOOKarl Williamson2018-08-201-9/+9
| | | | | They evaluate to the same thing, but this change emphasizes that only ASCII characters can pass.
* regcomp.c: Change parameter nameKarl Williamson2018-08-203-23/+26
| | | | This makes it clearer what variable this length is for
* inline.h: Use 'do {} while' instead of 'while {}'Karl Williamson2018-08-201-2/+2
|
* t/re/regexp_unicode_prop.t: Make sure returns trueKarl Williamson2018-08-201-0/+2
|
* Handle 3 digit exponents in \p{nv=%e}Karl Williamson2018-08-201-0/+27
| | | | | | Prior to this commit, Windows machines which format %e to have a minimum of 3 digits would fail in looking up the Numeric value properties, and would revert to the old swash method of doing it.
* mktables: Handle platforms with 3 digit exponentsKarl Williamson2018-08-204-3/+8
| | | | | | | C99 says there shouldn't be more than 2 digits in an exponent unless needed. But Windows uses three. This messes some stuff up that is expecting two. Change to remove leading zeros so that only two digits are used. This allows mktables to properly operate on Windows.
* Update Time-Piece to CPAN version 1.33Chris 'BinGOs' Williams2018-08-204-18/+41
| | | | | | | [DELTA] 1.33 2018-08-18 - Allow objects in overloaded methods
* perldelta for 56191551147fe888e34f15ef84f08013f4fbb5aaJames E Keenan2018-08-171-0/+4
|
* Synch with CPAN Test-Simple 1.302140.Chad Granum2018-08-1767-66/+96
| | | | Addressing RT 133382.
* perlre: Add some clarifying script run documentationKarl Williamson2018-08-161-4/+54
|
* perlre, perlrecharclass: Add examplesKarl Williamson2018-08-162-7/+15
| | | | | This adds more concrete cases of how mixed script digits can be hazardous.
* Fix script run bug '1' followed by Thai digitKarl Williamson2018-08-162-15/+36
| | | | | | | | This does not have a ticket, but was pointed out in http://nntp.perl.org/group/perl.perl5.porters/251870 The logic for deciding if it was needed to check if a character is a digit was flawed.
* regexec.c: Use a macro for clarityKarl Williamson2018-08-161-5/+7
| | | | | This commit #defines a macro and uses it, which makes the code easier to understand.
* regexec.c: Fix UNLIKELY() scopeKarl Williamson2018-08-161-1/+1
| | | | | The expression as a whole is unlikely to be true, not just the portion that was marked so.
* Releaser for 5.29.2Sawyer X2018-08-111-1/+1
|
* PATCH: [perl #41202] text->float gives wrong answersisyphus2018-08-094-24/+8
| | | | | | | | | | | | | This changes to use Perl_strtod() when available, and that turns out to be the key to fixing this bug. S_mulexp10() is removed from embed.fnc to avoid repeating the complicated prerequisites for defining Perl_strtod(). This works because this static function already was defined before use in numeric.c, and always called in full form without using a macro. James Keenan fixed a file permissions problem originally introduced by this commit, but the fix has been squashed into it.
* perl.h - mingw-w64 builds use __mingw_strtold instead of strtoldsisyphus2018-08-091-1/+11
| | | | | | | There are bugs in strtold(). James Keenan fixed a file permissions problem originally introduced by this commit, but the fix has been squashed into it.
* lib/locale.t - no longer special case quadmath buildssisyphus2018-08-091-36/+11
| | | | The previous commit now has these respect locale
* numeric.c: Move some code aroundKarl Williamson2018-08-091-4/+4
| | | | | | | | | | For readability, this changes if (f00) { MANY LINES } else { FEW LINES } to if (! f00) { FEW LINES } else { MANY LINES }
* numeric.c: White-space onlyKarl Williamson2018-08-091-10/+11
| | | | Remove trailing blanks, add a few blank lines
* numeric.c: Quadmath now honors LC_numericKarl Williamson2018-08-091-9/+12
| | | | | Previously the code compiled under quadmath did not bother to check for locale. Fixing this was a simple matter of a little rearrangement.
* (perl #133422) handle Off_t smaller than size_tTony Cook2018-08-092-2/+11
|
* time::HiRes: don't truncate nanosec utimeDavid Mitchell2018-08-082-3/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When passed a floating point atime/mtime value, T::HR::utime() was converting it into two longs: secs and nsec. But the nanosec value was calculated using a final NV to long cast, which truncates any fractional part rather than rounding to nearest. Use a 0.5 addition to force rounding. This was manifesting as a test in lib/File/Copy.t failing to preserve the same mtime after a couple of round trips with utime() and stat(). In particular, the test was attempting to set an mtime to the literal floating-point value 1000000000.12345 This value can't be represented exactly as an NV, so was actually (under -Dquadmath) 1000000000.1234499999999999999999999568211720247320 which was (using truncation) being converted into the two sec/nsec longs: 1000000000, 123449999 After this commit, it instead correctly gets converted to 1000000000, 123450000
* Upgrade HTTP::Tiny from version 0.070 to 0.076Steve Hay2018-08-082-8/+50
|
* Upgrade Filter::Util::Call from version 1.58 to 1.59Steve Hay2018-08-085-9/+18
|
* PA-RISC is obsoltedH.Merijn Brand2018-08-081-24/+24
| | | | | Itanium in not "new". It is newer than PA-RISC though, and PA-RISC is getting rarer
* Update HP-UX readmeH.Merijn Brand2018-08-081-13/+13
| | | | | • Porting center released 5.28.0 :) • EOL matrix link was dead
* Time-HiRes/t/itimer.t: avoid race condition.David Mitchell2018-08-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | This test script sets a repeating interval timer going, and after 4 'ticks' (SIGVTALRM), disables the timer (by setting it to zero). The main loop which does CPU burning, does a getitmer() every now and again, and when the value is zero, assumes the signal handler has disabled the timer, and so finishes. The trouble was that it was checking the 'time left', which can reach zero because the interval timer has counted down to zero, and the signal handler is about to be called, but the interval hasn't been reset back to 0.4s yet. i.e. the code doesn't distinguish between "timer disabled" and "timer just reached zero". In that scenario, the cleanup code in the test script disables the SIGVTALRM handler while the timer is still active, and so the process gets killed if another signal is raised. This commit changes the test to check the second value returned by getitmer() for being zero rather than the first - the second being the repeat interval, whichb is always 0.4 until the timer is disabled.
* dump.c: Fix space before tabsKarl Williamson2018-08-061-3/+3
| | | | These generate git warnings
* Use sv_catpvs where appropriate vs sv_catpvKarl Williamson2018-08-067-70/+70
| | | | | This moves calculations definitely to compile time; some optimizing compilers may already do this, but some may not.
* perlapi: Fix up pod for utf8n_to_uvchr_error()Karl Williamson2018-08-051-1/+30
| | | | | | There are two return flags signalling that the input UTF-8 was malformed by being too short. This commit adds detail comparing and contrasting the meanings of the two