integrate cfgperl and vmsperl contents into mainline
[p5sagit/p5-mst-13.2.git] / Todo-5.6
CommitLineData
56d7751a 1Bugs
56d7751a 2 fix small memory leaks on compile-time failures
3
6dd11d31 4Unicode support
d1edabcf 5 finish byte <-> utf8 and localencoding <-> utf8 conversions
6 make substr($bytestr,0,0,$charstr) do the right conversion
6dd11d31 7 add Unicode::Map equivivalent to core
8 add support for I/O disciplines
d1edabcf 9 - a way to specify disciplines when opening things:
10 open(F, "<:crlf :utf16", $file)
11 - a way to specify disciplines for an already opened handle:
12 binmode(STDIN, ":slurp :raw")
13 - a way to set default disciplines for all handle constructors:
14 use open IN => ":any", OUT => ":utf8", SYS => ":utf16"
6dd11d31 15 eliminate need for "use utf8;"
6dd11d31 16 autoload utf8_heavy.pl's swash routines in swash_init()
d1edabcf 17 autoload byte.pm when byte:: is seen by the parser
560a288e 18 check uv_to_utf8() calls for buffer overflow
fe32fb73 19 (see also "Locales", "Regexen", and "Miscellaneous")
6dd11d31 20
d7d0d977 21Multi-threading
6dd11d31 22 support "use Thread;" under useithreads
23 add mechanism to:
24 - create new interpreter in a different thread
25 - exchange data between interpreters/threads
26 - share namespaces between interpreters/threads
27 work out consistent semantics for exit/die in threads
28 support for externally created threads?
29 Thread::Pool?
d7d0d977 30
31Compiler
32 auto-produce executable
33 typed lexicals should affect B::CC::load_pad
34 workarounds to help Win32
d7d0d977 35 END blocks need saving in compiled output
36 _AUTOLOAD prodding
25f62d1c 37 fix comppadlist (names in comppad_name can have fake SvCUR
38 from where newASSIGNOP steals the field)
d7d0d977 39
5152d7c7 40Namespace cleanup
6dd11d31 41 CPP-space: restrict what we export from headers when !PERL_CORE
42 header-space: move into CORE/perl/?
43 API-space: complete the list of things that constitute public api
5152d7c7 44
45ebb638 45Configure
da44fe2a 46 fix the vicious cyclic multidependency of cc <-> libpth <-> loclibpth
47 libswanted <-> usethreads <-> use64bitint <-> use64bitall <->
48 uselargefiles <-> ...
45ebb638 49 make configuring+building away from source directory work (VPATH et al)
d57b1ce7 50 this is related to: cross-compilation configuring (see Todo)
da44fe2a 51 _r support (see Todo for mode detailed description)
1d82895f 52 POSIX 1003.1 1996 Edition support--realtime stuff:
53 POSIX semaphores, message queues, shared memory, realtime clocks,
54 timers, signals (the metaconfig units mostly already exist for these)
55 UNIX98 support: reader-writer locks, realtime/asynchronous IO
da44fe2a 56 IPv6 support: see RFC2292, RFC2553
45ebb638 57
fe32fb73 58Long doubles
59 figure out where the PV->NV->PV conversion gets it wrong at least
60 in AIX and Tru64 (V5.0 and onwards) when using long doubles: see the
55f6b6ec 61 regexp tricks we had to insert to t/comp/use.t and t/lib/bigfltpm.t,
62 (?:9|8999\d+) and the like.
63
6464-bit support
65 Configure probe for quad_t, uquad_t, and (argh) u_quad_t, they might
66 be in some systems the only thing working as quadtype and uquadtype.
fe32fb73 67
45ebb638 68Locales
6dd11d31 69 deprecate traditional/legacy locales?
8bce6328 70 How do locales work across packages?
6dd11d31 71 figure out how to support Unicode locales
1d82895f 72 suggestion: integrate the IBM Classes for Unicode (ICU)
8bce6328 73 http://oss.software.ibm.com/developerworks/opensource/icu/project/
1d82895f 74 and check out also the Locale Converter:
75 http://alphaworks.ibm.com/tech/localeconverter
8bce6328 76 ICU is "portable, open-source Unicode library with:
77 charset-independent locales (with multiple locales simultaneously
78 supported in same thread; character conversions; formatting/parsing
79 for numbers, currencies, date/time and messages; message catalogs
80 (resources) ; transliteration, collation, normalization, and text
81 boundaries (grapheme, word, line-break))".
82 There is also 'iconv', either from XPG4 or GNU (glibc).
83 iconv is about character set conversions.
84 Either ICU or iconv would be valuable to get integrated
fe32fb73 85 into Perl, Configure already probes for libiconv and <iconv.h>.
45ebb638 86
87Regexen
6dd11d31 88 make RE engine thread-safe
e620704b 89 a way to do full character set arithmetics: now one can do
90 addition, negate a whole class, and negate certain subclasses
91 (e.g. \D, [:^digit:]), but a more generic way to add/subtract/
92 intersect characters/classes, like described in the Unicode technical
93 report on Regular Expression Guidelines,
94 http://www.unicode.org/unicode/reports/tr18/
95 (amusingly, the TR notes that difference and intersection
96 can be done using "Perl-style look-ahead")
97 difference syntax? maybe [[:alpha:][^abc]] meaning
98 "all alphabetic expect a, b, and c"? or [[:alpha:]-[abc]]?
99 (maybe bad, as we explicitly disallow such 'ranges')
100 intersection syntax? maybe [[..]&[...]]?
b8c5462f 101 POSIX [=bar=] and [.zap.] would nice too but there's no API for them
1d82895f 102 =bar= could be done with Unicode, though, see the Unicode TR #15 about
103 normalization forms:
104 http://www.unicode.org/unicode/reports/tr15/
105 this is also a part of the Unicode 3.0:
106 http://www.unicode.org/unicode/uni2book/u2.html
107 executive summary: there are several different levels of 'equivalence'
45ebb638 108 approximate matching
109
19e16c31 110Security
111 use fchown, fchmod (and futimes?) internally when possible
112 use fchdir(how portable?)
fe32fb73 113 create secure reliable portable temporary file modules
114 audit the standard utilities for security problems and fix them
19e16c31 115
5152d7c7 116Reliable Signals
54aff467 117 custom opcodes
5152d7c7 118 alternate runops() for signal despatch
119 figure out how to die() in delayed sighandler
6dd11d31 120 make Thread::Signal work under useithreads
5152d7c7 121
122Win32 stuff
6dd11d31 123 sort out the spawnvp() mess for system('a','b','c') compatibility
5152d7c7 124 work out DLL versioning
5152d7c7 125
126Miscellaneous
0ff51efc 127 add new modules (Archive::Tar, Compress::Zlib, CPAN::FTP?)
fe32fb73 128 sub-second sleep()? alarm()? time()? (integrate Time::HiRes?
129 Configure doesn't yet probe for usleep/nanosleep/ualarm but
130 the units exist)
131 floating point handling: nans, infinities, fp exception masks, etc.
132 at least the following interfaces exist: fp_classify(), fp_class(),
133 class(), isnan(), isinf(), isfinite(), finite(), isnormal(),
55f6b6ec 134 ordered(), fp_setmask(), fp_getmask(), fp_setround(), fp_getround(),
135 ieeefp.h, fp_class.h. There are metaconfig units for most of these.
136 Search for ifdef __osf__ in pp.c to find a temporary fix that
137 needs to be done right.
fe32fb73 138 fix the basic arithmetics (+ - * / %) to preserve IVness/UVness if
139 both arguments are IVs/UVs
6dd11d31 140 replace pod2html with new PodtoHtml? (requires other modules from CPAN)
245ccdfc 141 automate testing with large parts of CPAN
fe32fb73 142 Unicode collation? http://www.unicode.org/unicode/reports/tr10/
143 turn Cwd into an XS module? (Configure already probes for getcwd())
144 mmap for speeding up input? (Configure already probes for the mmap family)
145 sendmsg, recvmsg? (Configure doesn't probe for these but the units exist)
55f6b6ec 146 setitimer, getitimer? (the metaconfig units exist)
245ccdfc 147
148Ongoing
149 keep filenames 8.3 friendly, where feasible
150 upgrade to newer versions of all independently maintained modules
9cc29783 151 comprehensive perldelta.pod
5152d7c7 152
d7d0d977 153Documentation
5152d7c7 154 describe new age patterns
155 update perl{guts,call,embed,xs} with additions, changes to API
c6018dae 156 convert more examples to use autovivified filehandles
5152d7c7 157 document Win32 choices
5152d7c7 158 spot-check all new modules for completeness
11162842 159 better docs for pack()/unpack()
245ccdfc 160 reorg tutorials vs. reference sections