| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
One should send email to p5p first to get the go-ahead for documenting
and using an undocumented function or global variable.
|
| |
|
|
|
|
|
| |
Modify apidoc.pl to warn about duplicate apidoc entries, and
remove duplicates for av_tindex and toLOWER_LC
|
|
|
|
|
|
|
|
|
|
| |
All non-blank lines after a =head1 are now skipped to find
header documentation. This unearthed a few more missed headings
that I think are useful, and makes sure others aren't missed in
the future.
Also, fix line number counting/error reporting in autodoc.pl, it
was woefully inaccurate.
|
|
|
|
| |
Underscores or their lack can confuse people in finding sorted items.
|
|
|
|
|
| |
We didn't actually say that undocumented global variables and macros are
off-limits.
|
| |
|
|
|
|
| |
plus some typo fixes. I probably changed some things in perlintern, too.
|
|
|
|
| |
This should have been done as part of commit 22b7b87b206c3e0c.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By default the code in regen_lib compares the newly written file it has just
closed with the (assumed) existing file, and only overwrites the existing
file if the new file differs. This is a useful behaviour for regeneration
scripts. However, it's not ideal for build scripts called from the Makefile,
as make assumes that targets will be regenerated (and the timestamp touched).
So add an "always update" parameter for the use of Makefile invoked scripts,
such as autodoc.pl. If set, delete any existing file early (so that fatal
errors during the generation don't confuse the build by leaving an existing
stale file around), skip the comparison and skip the diagnostic output
listing the changed files.
Change autodoc.pl to set this parameter.
Correct a typo in an error message in regen_lib's open_new().
|
| |
|
|
|
|
| |
Previously it had its own custom parsing code for embed.fnc.
|
|
|
|
|
| |
This reduces duplication of code that generates '-*- buffer-read-only: t -*-',
'ex: set ro:' etc.
|
|
|
|
|
| |
Add David Steinbrunner to AUTHORS.
Update pod issues database.
|
|
|
|
|
|
| |
In a long multi-paragraph entry, the fact that the described function is
considered experimental may be lost, as it comes at the end. This just
moves it to the front.
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
This causes each deprecated function to have a prominent note to that
effect in its API documentation.
|
|
|
|
|
|
|
|
|
|
|
|
| |
We have not had a working modern Perl on EBCDIC for some years. When I
started out, comments and code led me to conclude erroneously that
natively it supported semantics for all 256 characters 0-255. It turns
out that I was wrong; it natively (at least on some platforms) has the
same rules (essentially none) for the characters which don't correspond
to ASCII onees, as the rules for these on ASCII platforms.
This commit is documentation only, mostly just removing the special
mentions of EBCDIC.
|
|
|
|
|
|
|
| |
An 'M' in a function entry means that undocumented functions are
suppressed from perlapi.pod. Change the comments in embed.fnc to
indicate that, and the text in perlapi to warn against using unlisted
functions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Commit dee6204dc made a huge improvement to the formatting of argument
lists in perlapi (except for one pesky little entry, namely caller_cx,
that is 81 columns).
But I forgot to look through perlintern.
This just looks comical:
struct refcounted_he * refcounted_he_new_pv(struct refcounted_he *parent,
const char *key,
U32 hash,
SV *value,
U32 flags)
On an eighty-column terminal that wraps like this:
struct refcounted_he * refcounted_he_new_pv(struct refcoun
ted_he *parent,
const char *k
ey,
U32 hash,
SV *value,
U32 flags)
Ugh!!
So, for entries with individual arguments that don’t fit, this commit
wraps them like this:
struct refcounted_he * refcounted_he_new_pv(
struct refcounted_he *parent,
const char *key, U32 hash,
SV *value, U32 flags
)
|
| |
|
| |
|
|
|
|
|
|
| |
This patch changes autodoc.pl to accept text that is to come immediately
after headings, so that it applies to across the whole section, and not
just to an individual function within that section.
|
|
|
|
|
| |
Tweak the text of the previous commit that describes the status of
undocumented functions in the public API.
|
|
|
|
|
|
|
|
| |
perlapi.pod was changed to list all the undocumented functions. The
introductory text was not updated at that time. Now every public API
function is at least listed in this pod. Clarify that functions not
listed are not public and should not be used, and add a plea for
documenting the ones which are missing theirs.
|
|
|
|
|
|
|
| |
That is, functions with no #define foo Perl_foo. I'm not certain this is
the right way to do it, as I don't really understand which flags autodoc
honours from which places; currently, it's necessary to put the 'o' flag
on the =for apidoc line or it will be ignored.
|
| |
|
| |
|
|
|
|
|
|
|
| |
List any functions from embed.fnc that don't have documentation in
their own section of perlapi/perlintern as a reminder to either
document them, remove them or perhaps flag them as undeserving of
documentation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Refactor the duplicated logic for opening, generating and closing files into
a single output() subroutine.
|
|
|
|
|
| |
This simplifies the code considerably, as walk_table() was relying on its &
prototype to cause the block after it to be co-erced to a passed in subroutine.
|
|
|
|
|
|
| |
It seems that walk_table() was a direct copy from embed.pl back when autodoc.pl
was created by commit 94bdecf9800c3bee967274854f7adf2933ffd42b, and the "bonus
bits" were never refactored out.
|
|
|
|
|
|
| |
From: karl williamson <public@khwilliamson.com>
Date: Tue, 16 Dec 2008 16:00:34 -0700
Message-ID: <49483312.80804@khwilliamson.com>
|
|
|
|
|
|
|
|
| |
Thanks to the wisdom of london.pm, stuff the filename into the SCALAR
slot of the typeglob created in safer_open(), so that ...
Add safer_close(), that will die (with the filename) if the close
fails.
p4raw-id: //depot/perl@33539
|
|
|
| |
p4raw-id: //depot/perl@29738
|
|
|
|
|
| |
first character. Also, regenerate perlintern.pod.
p4raw-id: //depot/perl@29146
|
|
|
|
|
| |
and perlguts.pod
p4raw-id: //depot/perl@29138
|
|
|
| |
p4raw-id: //depot/perl@26126
|
|
|
|
|
|
|
|
| |
Message-ID: <1129666977.435559a10cb95@imp5-g19.free.fr>
(tweaked to remove trailing whitespace to doc entries)
Plus, regenerate doc and headers
p4raw-id: //depot/perl@25802
|
|
|
|
|
| |
Message-ID: <20050622144059.GA19598@petdance.com>
p4raw-id: //depot/perl@24945
|