Skip to content
This repository has been archived by the owner on Jun 1, 2023. It is now read-only.

warnings as XS #9

Open
rurban opened this issue Sep 11, 2015 · 1 comment
Open

warnings as XS #9

rurban opened this issue Sep 11, 2015 · 1 comment
Assignees
Milestone

Comments

@rurban
Copy link
Member

rurban commented Sep 11, 2015

Rewrite warnings.pm which is generated as pure XS. esp. to save memory

A regular XS extension, with a stable set of .xs and .h files, and a warnings_xs.PL regen and definition
script (prev. regen/warnings.pl), which updates the keys in place.
required gperf so far, as with Config as XS.

Seperate into a pure read-only perfect hash, and a user-extendable warnings::register hash.
Check against Carp in XS and PP Carp.

See branches feature/CM-367-cperl-warnings-xs-carp and feature/CM-370-cperl-warnings-xs

@rurban rurban self-assigned this Sep 11, 2015
@rurban
Copy link
Member Author

rurban commented Sep 11, 2015

Status: One small nasty bug left, in 9enabled

rurban pushed a commit that referenced this issue Jan 6, 2016
See [perl11/p5-Config #9].
Broken with a non-empty inc_version_list_init
rurban pushed a commit that referenced this issue Oct 26, 2016
This macro follows Unicode Corrigendum #9 to allow non-character code
points.  These are still discouraged but not completely forbidden.

It's best for code that isn't intended to operate on arbitrary other
code text to use the original definition, but code that does things,
such as source code control, should change to use this definition if it
wants to be Unicode-strict.

Perl can't adopt C9 wholesale, as it might create security holes in
existing applications that rely on Perl keeping non-chars out.
rurban pushed a commit that referenced this issue Jan 3, 2017
This macro follows Unicode Corrigendum #9 to allow non-character code
points.  These are still discouraged but not completely forbidden.

It's best for code that isn't intended to operate on arbitrary other
code text to use the original definition, but code that does things,
such as source code control, should change to use this definition if it
wants to be Unicode-strict.

Perl can't adopt C9 wholesale, as it might create security holes in
existing applications that rely on Perl keeping non-chars out.
rurban added a commit that referenced this issue Sep 3, 2018
Improve tests using FindBin for filter-util.pl [atoomic #9]

Add int casts, assert on 2GB limitation.

No m4 filter in CORE
@rurban rurban added this to the v5.29.1c milestone Oct 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant