summaryrefslogtreecommitdiff
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix IS_UTF8_CHAR() to recognise start bytes 0xF5, 0xF6, 0xF7.Nicholas Clark2010-12-211-2/+22
| | | | | | | The refactoring of 3b0fc154d4e77cfb inadvertently introduced a bug in Perl_is_utf8_char() and its callers, such as Perl_is_utf8_string(), whereby the beyond-Unicode characters 0x140000 to 0x1fffff were no longer recognised as valid.
* Convert lib/utf8.t to strict and warnings throughout.Nicholas Clark2010-12-211-4/+6
|
* mktables: fix typo in commentKarl Williamson2010-12-191-1/+1
|
* bump version of many modulesZefram2010-12-191-1/+1
| | | | | Core-only modules that have changed from v5.13.7, and dual-life modules that have changed from v5.13.7 and didn't show up in earlier passes.
* Version bumps for modules changed by a6d37805ca8a9ba8 ($Id$ removal).Nicholas Clark2010-12-161-1/+1
|
* Remove "dead" RCS $Id$ tags from files that we own.Nicholas Clark2010-12-162-3/+0
| | | | | All files have been modified more recently than their tag, rendering information in the tag redundant.
* uniprops.pod: restore properties countsKarl Williamson2010-12-161-1/+1
| | | | | | | As a side effect of commit bd9ebcfd4a6439f22bcaf330cd6d936de78362c5, which was to make smalle unicore tables, the counts of the number of code points matched by the various properties in perluniprops.pod were removed. This restores them
* don't upgrade overload IV return values to NVDavid Mitchell2010-12-151-1/+61
| | | | | | | | (if we can avoid it). Fix for RT #77456. Basically it extends the usage of the AMGf_numeric flag to the remaining overloadable numeric ops that behave differently with IV and NV.
* Dual-life DumpvalueFlorian Ragwitz2010-12-153-943/+1
|
* unicode_strings.t: Revise tests for EBCDIC, clarityKarl Williamson2010-12-111-48/+58
| | | | This patch addresses some of Hugo's concerns.
* Dual-life File::CheckTreeFlorian Ragwitz2010-12-113-428/+1
|
* Fix some casts in typemapFather Chrysostomos2010-12-101-2/+2
|
* Fix XS types in typemap in order to deal with references with get magics ↵gfx2010-12-101-24/+48
| | | | correctly
* Dual-life EnvFlorian Ragwitz2010-12-104-379/+1
|
* Dual-life I18N::CollateFlorian Ragwitz2010-12-103-240/+1
|
* [perl #71286] fallback/nomethod failuresMichael Breen2010-12-031-1/+147
| | | | | | | | | | | | | | | | | This fixes two bugs related to overload and fallback on binary ops. First, if *either* of the args has a 'nomethod', this will now be used; previously the RH nomethod was ignored if the LH arg had fallback value of undef or 1. Second, if neither arg has a 'nomethod', then the fallback to the built-in op will now only occur if *both* args have fallback => 1; previously it would do so if the *RHS* had fallback => 1. Clearly the old behaviour was wrong, but there were two ways to fix this: (a) *both* args have fallback => 1; (b) *either* arg has fallback=> 1. It could be argued either way, but the the choice of 'both' was that classes that hadn't set 'fallback => 1' were implicitly implying that their objects aren't suitable for fallback, regardless of the presence of conversion methods.
* Document Unicode doc fixKarl Williamson2010-12-011-5/+16
|
* Revert "Configure has a path to less and perl5db.pl can use it"Rafael Garcia-Suarez2010-11-281-6/+0
| | | | | | This reverts commit bf320d637919b3a2a72298748aa76e686e9b3e45. Andy Dougherty points out that after Configure has run, the "less" config variable is no longer useful, as described in Porting/Glossary.
* Bring core Perl in line with CPAN 0.86 releaseJohn Peacock2010-11-272-9/+43
| | | | | | | Attached is a patch that bring the core Perl version code inline with the latest CPAN release. The vast majority of changes are in code that does not execute in core, but that makes it easier to keep the core and CPAN changes in sync.
* Increase overload.pm’s versionFather Chrysostomos2010-11-271-1/+1
|
* [perl #79680] overload 1.10 sprintf fails taint checkingMichael Fig2010-11-271-1/+1
| | | | | | | [Note from the committer: I cannot reproduce the bug this is intended to fix. I suspect the author has a botched Scalar::Util installation. But it *does* make the code go faster, as it uses fewer ops. That’s my reason for appling it.]
* utf8_heavy: Guard against infinite recursionKarl Williamson2010-11-221-8/+48
| | | | | | | | | | | If things aren't just so, it could be that utf8_heavy calls something which requires a pattern, such as split or just a pattern match that ends up calling utf8_heavy again, ad infinitum. When this happens, memory gets eaten up and the machine grinds to a halt, likely requiring a manual forced reboot. To prevent this undesirable situation, utf8_heavy now stacks all its calls in progress, and if any is a repeat, panics.
* mktables: Clean up warning msgKarl Williamson2010-11-201-4/+5
| | | | | This message actually printed, and I discovered the various components ran together, needing white space to make it more readable.
* mktables: comment typo and expand other commentsKarl Williamson2010-11-201-2/+5
|
* mktables: Smaller tables if not -DDEBUGGINGKarl Williamson2010-11-201-3/+15
| | | | | | | | | | This patch frees up about .5Mb of disk space. First, it omits an unnecessary trailing tab in the output tables, at the cost of an extra test. Secondly, for non-debugging Perls, it omits the helpful-to-developer comments at the beginning of each table file, and changes the default to not output the other helpful-to-developer comments that give the number of code points in each output range in the tables.
* Correct test count in UCD.tFather Chrysostomos2010-11-201-1/+1
|
* Increase Unicode'UCD::s versionFather Chrysostomos2010-11-201-1/+1
|
* UCD.pm: Add info about named sequence alternativesKarl Williamson2010-11-201-0/+6
| | | | | | The namedseq function is essentially obsolete, as the core has better incorporated its abilities. This adds documentation as to the alternatives.
* UCD.pm: Don't use CompositionExclusions.txtKarl Williamson2010-11-202-28/+26
| | | | | | | | | | | | The motiviation for this patch was to remove dependence of UCD on another Unicode DB .txt file. But the subroutine that uses it is out-of-date, now that this property, and an even more convenient one are accessible from the core. So the documentation is also updated to educate people. Instead of using the file, the routine just uses the core's access method
* UCD.pm: Don't use NamedSequences.txt, saves diskKarl Williamson2010-11-201-8/+22
| | | | | | | | | This changes UCD to not use this file. Instead it takes advantage of the recent addition of named sequences being accessible through the \N{} construct. In one case where it returns a hash of all the named sequences, it uses the same .pl file that \N{} does. My guess is that this routine's usefulness is now past, as named sequences are now incorporated into the core.
* Add Unicode's minor 6.0 correctionKarl Williamson2010-11-191-1/+5
| | | | | | Unicode just released a minor correction to 6.0. This patch adds that. Unfortunately, a test thought the old behavior was correct, and so had to be modified as well.
* mktables: Leave Unicode1 BELL name aloneKarl Williamson2010-11-191-1/+1
| | | | | It occurred to me that I was changing both the name and Unicode 1 name fields, and only the name field is in conflict. So change just it.
* perluniprops.pod: nitsKarl Williamson2010-11-191-5/+6
| | | | It is generated by mktables
* Work-around Uni 6.0 issues with 'BELL'Karl Williamson2010-11-183-3/+44
| | | | | | | | | | Unicode version 6.0 has co-opted the name BELL for a different character than traditionally used in Perl. This patch works around that by adding ALERT as a synonym for BELL, and causing a deprecated warning for uses of the old name. The new Unicode character will be nameless in Perl 5.14, unless I can (unlikely) get Unicode to grant a synonym that they will support.
* charnames.t: indent newly formed blockKarl Williamson2010-11-181-12/+13
| | | | | This is a white-space only patch to indent the code that was put into an if block by the previous commit
* charnames.t: PERL_RUN_SLOW_TESTS runs more testsKarl Williamson2010-11-181-1/+15
| | | | | | This patch makes this .t look for this environment variable, and if set run more tests. There are two levels of setting, as explained in the comments
* More updates to point to Unicode 6.0Karl Williamson2010-11-181-0/+5
|
* Unicode 6.0 DBKarl Williamson2010-11-1848-1097/+12942
|
* mktables: Upgrade to handle new Unicode 6.0 tablesKarl Williamson2010-11-181-27/+33
|
* mktables: Fix subtraction that should be an addKarl Williamson2010-11-151-1/+1
| | | | Fortunately, this bug has not affected the output of mktables so far.
* Change utf8.t to use a \xb7 delimiter once more.Father Chrysostomos2010-11-141-1/+1
| | | | | | | | | | | | This partially reverts 7b301413. The delimiter was changed because a proposed fix for [perl #74022] would have caused the test to fail. That bug has been fixed a different way (d7425188), so the delimiter in the test can be changed back. The RT ticket has more detail.
* Increase File::stat’s versionFather Chrysostomos2010-11-111-1/+1
|
* RT 79076: fix File::stat overload tests -x and -X when uid is rootTodd Rinaldo2010-11-112-3/+20
|
* Avoid a run-time miniperl check every time SWASHNEW is calledFather Chrysostomos2010-11-051-1/+7
|
* utf8_heavy.pl: Make callable during Perl's compilationKarl Williamson2010-11-051-3/+16
| | | | | | | | | | | | | | | It's possible for this to be called during the compilation phase of Perl by miniperl before the Unicode tables have been built. This patch checks if dynamic loading is available, and if not evals the require needed to gain access to the tables. If it succeeds, the tables have been built; if it doesn't, instead of dying, just return empty tables, as currently the things being built don't require information outside the ASCII range, which is hard-coded into Perl without needing the tables. In the future, that may not be the case, and then likely the tables will have to be shipped with Perl, and make regen would be done to rebuild them.
* Fix permissions on lib/overload/numbers.pm, accidentally changed by 0e244b13.Nicholas Clark2010-11-021-0/+0
|
* Avoid buffer overflow in dl_win32.cJan Dubois2010-11-011-0/+0
| | | | | This fixes the DynaLoader related part of bug 78710 http://rt.perl.org/rt3//Public/Bug/Display.html?id=78710
* DOCs: Clarify that \w matches marks and \PcKarl Williamson2010-10-311-1/+2
| | | | | | The previous documentation really didn't specify what \w is. It matches the underscore, but also all other connector punctuation, plus any marks, such as diacritical accents that occur within a word.
* Add consistent synonyms for \p{PosxFOO}Karl Williamson2010-10-311-7/+31
| | | | | | | | | | This patch adds a set of synonyms \p{XPosixFOO} for the full extended Unicode version of \p{PosixFOO}, so only one rule need be remembered. Similarly, \p{XPerlSpace} is added to preserve the rule for the one similar class that doesn't have Posix in its name. Prior to this patch there was no exact equivalent to \p{PosixPunct} extended beyond ASCII.
* Revert "Add consistent synonyms for \p{PosxFOO}"Father Chrysostomos2010-10-311-31/+7
| | | | This reverts commit d5944336d74c819152158dabfd806d49ad0ecb21.