This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Karl Williamson [Sun, 5 May 2013 16:40:56 +0000 (10:40 -0600)]
regcomp.c: Reorder two 'if's so shorter branches are first
This makes it easier to understand what is going on
Karl Williamson [Sun, 5 May 2013 04:22:53 +0000 (22:22 -0600)]
perllocale: Update to mention fc(), \F
Karl Williamson [Sun, 5 May 2013 03:23:05 +0000 (21:23 -0600)]
regcomp.c: Clarify comment
Karl Williamson [Sun, 5 May 2013 02:23:14 +0000 (20:23 -0600)]
pp.c: Eliminate custom macro and use Copy() instead
I think it's clearer to use Copy. When I wrote this custom macro, we
didn't have the infrastructure to generate a UTF-8 encoded string at
compile time.
Dagfinn Ilmari Mannsåker [Sun, 5 May 2013 02:18:35 +0000 (20:18 -0600)]
perl #117865] [PATCH] Eliminate useless variable and sizeof(char)
bufsiz is always just set from bsiz (via a useless multiplication by
sizeof(char), which is by definition 1), so instead of trying to keep
them in sync, just get rid of bufsiz use bsiz directly# Please enter the commit message for your changes. Lines starting
Karl Williamson [Sat, 4 May 2013 22:09:39 +0000 (16:09 -0600)]
op.c: Don't fold constant fc() in locale
We do compile time folding of calls to ops with constant parameters.
This should be skipped if the op's result depends on locale, and it is
being called from within the scope of 'use locale', as the result is not
known until runtime. fc() was folding anyway.
There is no test, as this only shows up when run in a locale that it
makes a difference in, and there is no guarantee that such a locale
would occur on any computer, and it is a real pain to go searching
through the computer's available locales for such a one for just this
error.
Karl Williamson [Tue, 30 Apr 2013 14:42:08 +0000 (08:42 -0600)]
autodoc.pl: Don't list undocumented deprecated fcns in API
autodoc creates a list of all the undocumented functions that are part
of the API. It omits ones that are experimental and whose API may
change; and now it omits ones that are deprecated (and whose API is
planned to change to be non-existent)
Karl Williamson [Tue, 30 Apr 2013 14:39:44 +0000 (08:39 -0600)]
autodoc.pl: Add note for deprecated functions
This causes each deprecated function to have a prominent note to that
effect in its API documentation.
Karl Williamson [Sat, 27 Apr 2013 14:59:19 +0000 (08:59 -0600)]
embed.fnc: Slight clarification in comments
Karl Williamson [Mon, 20 May 2013 16:39:56 +0000 (10:39 -0600)]
Add tests for case-change macros API
Karl Williamson [Thu, 25 Apr 2013 16:07:47 +0000 (10:07 -0600)]
Use new case changing macros
The previous commit added macros to do some case changing. This
commit uses them in the core, where appropriate.
Karl Williamson [Thu, 25 Apr 2013 16:05:22 +0000 (10:05 -0600)]
handy.h: Add some macro definitions
These macros fill in all the missing case changing operations. They
were omitted before because they are identical in their input domains to
other operations. But by adding them here, that detail no longer need be
known by the callers. toFOLD_LC is not documented, as is subject to
change
Karl Williamson [Thu, 25 Apr 2013 14:41:13 +0000 (08:41 -0600)]
pp.c: Nit in comment
Karl Williamson [Wed, 24 Apr 2013 21:39:08 +0000 (15:39 -0600)]
perlclib.pod: Update character class macro descriptions
Much has changed since this pod was last updated.
Karl Williamson [Wed, 24 Apr 2013 21:36:07 +0000 (15:36 -0600)]
perlclib.pod: Fix too long verbatim lines
Karl Williamson [Thu, 25 Apr 2013 03:18:14 +0000 (21:18 -0600)]
perlapi: Add docs for some case-changing macros; clarify others
The case changing macros are now almost all documented. The exception
is toUPPER_LC, which may change in 5.19
In addition the functions in utf8.c that these macros call now refer to
them instead of having their own documentation. People should really be
using the macros instead of calling the functions directly. I'm not
deprecating the functions because I can't foresee the need to change
them, so code that uses them should continue to be ok.
Nicholas Clark [Mon, 18 Mar 2013 13:35:21 +0000 (14:35 +0100)]
Remove perlsh, which is neither installed nor referenced anywhere.
Described as a "poor man's perl shell", it is unreferenced, and virtually
unchanged since its addition in perl 2. As it is never installed, it's not
used by anyone.
Nicholas Clark [Thu, 2 May 2013 08:45:57 +0000 (10:45 +0200)]
Update Test-Harness to CPAN version 3.27
[DELTA]
3.28 2013-05-02
- Bugfix: Fix taint failures on Windows (Jan Dubois)
3.27 2013-04-30
- Dramatically reduce memory usage (Nick Clark, RT #84939)
- Store test_num (in Grammar.pm) as a number instead of a string.
Reduces memory usage (Nick Clark, RT #84939)
- PERL5LIB is always propogated to a test's @INC, even with taint more
(Schwern, RT #84377)
The local modifications to t/source.t are retained. [rt.cpan.org #64353]
Karl Williamson [Thu, 25 Apr 2013 03:16:29 +0000 (21:16 -0600)]
handy.h: Add missing toFOLD_utf8 macro
This corresponds to the other case changing macros
Karl Williamson [Wed, 24 Apr 2013 21:29:16 +0000 (15:29 -0600)]
handy.h: define some synonyms for consistency
Other macros have these suffixes, so for uniformity add these.
Karl Williamson [Tue, 23 Apr 2013 21:14:04 +0000 (15:14 -0600)]
regcomp.c: White-space only
Change this to follow perl coding conventions
Karl Williamson [Mon, 22 Apr 2013 20:44:08 +0000 (14:44 -0600)]
mg.c: White-space only
I found re-formatting this multi-line 'if' to be easier to understand
Karl Williamson [Mon, 22 Apr 2013 20:34:47 +0000 (14:34 -0600)]
toke.c: Remove redundant test
This checks that something is both not-printable and not a word
character, but all word characters are printable, so just the
non-printable test suffices.
Karl Williamson [Tue, 16 Apr 2013 15:04:50 +0000 (09:04 -0600)]
t/porting/regen.t: Add file to check
Karl Williamson [Sat, 13 Apr 2013 21:09:48 +0000 (15:09 -0600)]
handy.h: Clarify comment
Karl Williamson [Sun, 7 Apr 2013 03:03:44 +0000 (21:03 -0600)]
regcomp.c: White-space only, wrap comment to fit
Karl Williamson [Sun, 24 Mar 2013 23:59:59 +0000 (17:59 -0600)]
mktables: Fix typos in comments
One of these fixes is for where a real CTRL-X was specified, instead of
$^X
Karl Williamson [Fri, 29 Mar 2013 01:56:39 +0000 (19:56 -0600)]
utf8.c: Remove redundant assignment.
This variable is always set just below.
Karl Williamson [Wed, 13 Mar 2013 04:34:17 +0000 (22:34 -0600)]
t/TEST: Don't bail if fails in t/base unless minitest
In order to completely compile Perl, many modules must have been parsed
and compiled, so if there is a full perl, we know that things basically
work. The purpose of bailing out is that if these supposedly very base
level functionality tests don't work, there's no point in continuing.
But over the years, tests of more esoteric functionality have been
added here, and if one of them doesn't work, it still could be that Perl
pretty much does work.
I believe it would be best to move such non-basic tests elsewhere, but
that's work, and hasn't bitten us much so far; this change lessens the
severity of the biting even more. Where it will really bite is if
things are so bad that a full perl binary can't be compiled, and we are
trying to figure out why using minitest.
Karl Williamson [Mon, 25 Mar 2013 20:59:26 +0000 (14:59 -0600)]
t/porting/bincompat.t: Typo in comment
Karl Williamson [Sun, 24 Mar 2013 19:11:25 +0000 (13:11 -0600)]
utf8.c: Use mnemonics instead of hex numbers
Karl Williamson [Sun, 17 Feb 2013 16:18:06 +0000 (09:18 -0700)]
charnames: fix nit in comment
Brian Fraser [Tue, 26 Mar 2013 01:34:37 +0000 (19:34 -0600)]
Remove double space between words in pod
Karl Williamson [Fri, 22 Mar 2013 18:25:00 +0000 (12:25 -0600)]
podcheck.t: Avoid misleading error message
If there are input files on the command line that don't exist, prior to
this commit, the message was output that they are transitory. This adds
a check and a correct message.
Karl Williamson [Fri, 22 Mar 2013 18:21:14 +0000 (12:21 -0600)]
lib/utf8.pm: Fix pod verbatim line wraps
Karl Williamson [Fri, 17 May 2013 03:35:23 +0000 (21:35 -0600)]
lib/utf8.pm: Pod clarification and nit
Karl Williamson [Wed, 20 Mar 2013 17:35:58 +0000 (11:35 -0600)]
Add missing test for regex parse error
Karl Williamson [Wed, 20 Mar 2013 15:30:11 +0000 (09:30 -0600)]
regcomp.c: Use mnemonic instead of number
Brian Fraser [Sat, 9 Mar 2013 19:20:00 +0000 (16:20 -0300)]
toke.c: VALID_LEN_ONE_IDENT only needs a char, not a char*
Rather than passing s and having the macro do a bunch of *s,
just pass and expect *s.
Brian Fraser [Sat, 9 Mar 2013 19:17:04 +0000 (16:17 -0300)]
toke.c, S_intuit_method: Minor parsing speedup for 'maybe_method $foo'
This commit moves a scan_word() closer to when it's actually used,
which provides a minor speedup for things like 'new $foo' or
'is $foo, $bar'.
Karl Williamson [Fri, 15 Mar 2013 19:44:26 +0000 (13:44 -0600)]
toke.c: Call base macro that does the same thing
SPACE_OR_TAB is the same thing as isBLANK, or perhaps more clearly
isBLANK_A. And these latter macros only have one branch instead of 2
(but some extra masking)
Ricardo Signes [Mon, 20 May 2013 13:36:00 +0000 (09:36 -0400)]
add new perldelta
Ricardo Signes [Mon, 20 May 2013 13:15:02 +0000 (09:15 -0400)]
bump version to 5.19.1
Ricardo Signes [Mon, 20 May 2013 12:10:31 +0000 (08:10 -0400)]
perldelta: 5.19.0, shortest perldelta ever?
Ricardo Signes [Mon, 20 May 2013 11:54:45 +0000 (07:54 -0400)]
update corelist for Getopt::Std, utf8
Nicholas Clark [Mon, 20 May 2013 10:37:39 +0000 (12:37 +0200)]
Bump $Getopt::Std::VERSION following commit
0c0a84c65e572a92.
Reuben Thomas [Fri, 10 May 2013 12:05:13 +0000 (13:05 +0100)]
Document getopts before getopt, and de-recommend getopt.
Brian Fraser [Tue, 14 May 2013 07:57:19 +0000 (04:57 -0300)]
utf8: Remove unused variable (%utf8::enc).
In its original implementation in perl 5.6, 'use utf8' accepted
an encoding argument, which was saved in %utf8::enc and later
used by utf8_heavy.pl to load the right files from lib/unico[rd]e.
However, since 5.8 (or more specifically,
15732964418f),
utf8_heavy.pl stopped using that variable, so there's no reason
to keep it around in utf8.pm.
Bump $VERSION in lib/utf8.pm.
Ricardo Signes [Sun, 19 May 2013 01:11:24 +0000 (21:11 -0400)]
perlhist for 5.19.0
Ricardo Signes [Sun, 19 May 2013 01:11:15 +0000 (21:11 -0400)]
bring in the 5.18-related epigraphs
Ricardo Signes [Sun, 19 May 2013 00:42:27 +0000 (20:42 -0400)]
update Module::CoreList for 5.19.0
and its mass removal!
Ricardo Signes [Sat, 18 May 2013 20:41:32 +0000 (16:41 -0400)]
Removed cpan/File-CheckTree
Ricardo Signes [Sat, 18 May 2013 20:30:04 +0000 (16:30 -0400)]
Removed cpan/Text-Soundex
Ricardo Signes [Sat, 18 May 2013 20:10:44 +0000 (16:10 -0400)]
regenerate known pod issues
Chris 'BinGOs' Williams [Sat, 18 May 2013 14:07:10 +0000 (15:07 +0100)]
Removed cpan/Log-Message
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:51:55 +0000 (14:51 +0100)]
Removed cpan/Log-Message-Simple
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:31:52 +0000 (14:31 +0100)]
Remove cpan/Object-Accessor
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:16:24 +0000 (14:16 +0100)]
Remove cpan/Term-UI
Chris 'BinGOs' Williams [Sat, 18 May 2013 13:04:17 +0000 (14:04 +0100)]
Remove cpan/Module-Pluggable
Chris 'BinGOs' Williams [Sat, 18 May 2013 12:20:02 +0000 (13:20 +0100)]
Remove cpan/Pod-LaTeX and pod2latex utility
Chris 'BinGOs' Williams [Sat, 18 May 2013 11:52:17 +0000 (12:52 +0100)]
Remove cpan/B-Lint
Chris 'BinGOs' Williams [Sat, 18 May 2013 08:50:15 +0000 (09:50 +0100)]
Remove cpan/Archive-Extract
Note:
Porting/core-cpan-diff refactored to use Archive::Tar
instead of Archive::Extract
Chris 'BinGOs' Williams [Sat, 18 May 2013 00:01:42 +0000 (01:01 +0100)]
Remove cpan/CPANPLUS and associated utilities
Chris 'BinGOs' Williams [Fri, 17 May 2013 23:31:05 +0000 (00:31 +0100)]
Remove cpan/CPANPLUS-Dist-Build
Karl Williamson [Thu, 9 May 2013 00:27:42 +0000 (18:27 -0600)]
Remove core references to SVt_BIND
This scalar type was unused. This is the first step in using the slot
freed up for another purpose. The slot is now occupied by a temporary
placeholder named SVt_DUMMY.
Karl Williamson [Thu, 4 Apr 2013 03:16:52 +0000 (21:16 -0600)]
perlpacktut: nit
Karl Williamson [Thu, 9 May 2013 16:20:14 +0000 (10:20 -0600)]
Fix compiler warnings in regcomp.c
Ricardo Signes [Sat, 18 May 2013 14:30:40 +0000 (10:30 -0400)]
Perform all the "bump us to 5.19.0" work
...I hope.
Ricardo Signes [Sat, 18 May 2013 14:25:25 +0000 (10:25 -0400)]
regenerate META.json
Ricardo Signes [Sat, 18 May 2013 14:09:57 +0000 (10:09 -0400)]
regen feature.pm
Ricardo Signes [Sat, 18 May 2013 13:51:49 +0000 (09:51 -0400)]
bump the perldelta version
Ricardo Signes [Sat, 18 May 2013 13:48:01 +0000 (09:48 -0400)]
bump version to 5.19.0
Ricardo Signes [Fri, 17 May 2013 12:26:19 +0000 (08:26 -0400)]
final version and perlhist update for 5.18.0
Sebastien Aperghis-Tramoni [Fri, 17 May 2013 23:25:46 +0000 (01:25 +0200)]
update perlexperiment
- fixed a typo (%H instead of %^H)
- removed mention of Unicode support, which is so deep that I doubt that
it could ever be removed
- added the following items to the "Current experiments" section
- alloccopstash
- cop_store_label
- gv_fetchmethod_*_flags
- op_scope
- op_lvalue
- Smart match (~~)
- Lexical $_
- Array and hash container functions accept references
- Regular Expression Set Operations
- moved the following items to the "Accepted features" section
- fork() emulation
- Weak references
- Internal file glob
- 64-bit support
- die accepts a reference
- DB module
- moved the following items to the "Removed features" section
- GetOpt::Long Options
- 5.005-style threading
- Test::Harness::Straps
- perlcc
- Assertions
- The pseudo-hash data type
I tried to add the corresponding Perl versions of when features were added
and accepted or removed, but used the stable versions as I searched in the
perldelta's.
Sebastien Aperghis-Tramoni [Fri, 17 May 2013 23:04:45 +0000 (01:04 +0200)]
fix wrong tense
Ricardo Signes [Thu, 16 May 2013 14:36:46 +0000 (10:36 -0400)]
update the release schedule
Ricardo Signes [Thu, 16 May 2013 14:02:39 +0000 (10:02 -0400)]
perldelta: document known failure on HP-UX 11.00
Ricardo Signes [Thu, 16 May 2013 02:52:33 +0000 (22:52 -0400)]
bump patchlevel and perlhist for RC4
Ricardo Signes [Thu, 16 May 2013 02:06:18 +0000 (22:06 -0400)]
perldelta: restate the changes to ${x} versus $x
Credit for improvements made in this commit to to khw. Blame for
anything else goes to rjbs.
Aristotle Pagaltzis [Thu, 16 May 2013 00:57:20 +0000 (02:57 +0200)]
perldelta: Clarify removal vs deprecation of modules
Karl Williamson [Thu, 16 May 2013 01:00:22 +0000 (19:00 -0600)]
perldelta: Use 'Here doc' consistently sans dash
This corresponds to perldiag, and was suggested by Zsbán Ambrus.
Karl Williamson [Thu, 16 May 2013 00:58:31 +0000 (18:58 -0600)]
Fix typo in perldelta
Spotted by Zsbán Ambrus
Zsbán Ambrus [Thu, 16 May 2013 00:57:45 +0000 (18:57 -0600)]
perldelta clarification
Ricardo Signes [Thu, 16 May 2013 00:25:06 +0000 (20:25 -0400)]
expand documentation of the \cK change
Ricardo Signes [Wed, 15 May 2013 23:59:09 +0000 (19:59 -0400)]
perldelta: add another hash overhaul cross reference
Leon Timmermans [Wed, 15 May 2013 21:04:03 +0000 (23:04 +0200)]
Clarified perldelta entry for UID/GID magic variables
Tony Cook [Wed, 15 May 2013 19:56:13 +0000 (15:56 -0400)]
Address [perl #117999] for now by skipping known bad test on AIX
Ricardo Signes [Wed, 15 May 2013 19:53:20 +0000 (15:53 -0400)]
perldelta: various fixes suggested by Dave Mitchell
Ricardo Signes [Wed, 15 May 2013 16:59:00 +0000 (12:59 -0400)]
perldelta: remove a literally incorrect "literal"
Ricardo Signes [Wed, 15 May 2013 01:32:55 +0000 (21:32 -0400)]
perldelta: collapse a bit of vertical space
Ricardo Signes [Wed, 15 May 2013 01:29:16 +0000 (21:29 -0400)]
perldelta: clarify the deprecation of non-PerlIO perl
James E Keenan [Wed, 15 May 2013 00:33:32 +0000 (20:33 -0400)]
Spelling correction.
Ricardo Signes [Tue, 14 May 2013 17:57:26 +0000 (13:57 -0400)]
perldelta: add obituary for AMORETTE
Aristotle Pagaltzis [Tue, 14 May 2013 02:42:35 +0000 (22:42 -0400)]
perldelta: minor nitpicks
Ricardo Signes [Tue, 14 May 2013 01:01:44 +0000 (21:01 -0400)]
bump patchlevel to RC3, update hist
Steve Hay [Tue, 14 May 2013 00:01:15 +0000 (20:01 -0400)]
fix extrefs text with SDK 2003
The attached patch (also inlined below) fixes the SDK2003 test failure
for me, and also passes with all the other VC++ compilers. (It isn't
easy trying to pinpoint the SDK2003 compiler individually, so it is
simpler to just do this for all VC++ compilers on Windows.)
Ricardo Signes [Mon, 13 May 2013 18:46:55 +0000 (14:46 -0400)]
perldelta: fix reported new version of Carp
Tony Cook [Sat, 11 May 2013 04:42:39 +0000 (14:42 +1000)]
[perl #117141] sometimes we just can't make fork fail, skip the test
Ricardo Signes [Sun, 12 May 2013 22:57:21 +0000 (18:57 -0400)]
bump patchlevel to RC2, update hist
Ricardo Signes [Sun, 12 May 2013 22:50:14 +0000 (18:50 -0400)]
perldelta: remove the "from version X" from module updates
too many were incorrect