In perl.git, the branch blead has been updated <https://perl5.git.perl.org/perl.git/commitdiff/c58ad1f93e9ad7834d3735683462c07119aa87f5?hp=59e54936361dbc8a6aa3224d5456d809c079d269>
- Log ----------------------------------------------------------------- commit c58ad1f93e9ad7834d3735683462c07119aa87f5 Author: Nicolas R <[email protected]> Date: Fri Sep 27 17:43:28 2019 -0600 Devel::PPPort Adjust manifest for next release commit 1470b692052f355cb9e7c2003b1a3ec55b1d5f27 Author: Nicolas R <[email protected]> Date: Fri Sep 27 17:37:39 2019 -0600 Devel::PPPort - fix podcheck issues Fix issues noticed by porting/podcheck.t commit 3ff5e56ace7d352a97203e1c882af6f46799cc73 Author: Nicolas R <[email protected]> Date: Fri Sep 27 17:08:49 2019 -0600 Turn the clock backward for Devel::PPPort 3.54 The last release version at this date is 3.52 turn the clock backward to 3.54 for now so porting/cmp_version.t passes. commit fe32a49fa4ec3793a52627aa24bc98a7c1c0bd2b Author: Pali <[email protected]> Date: Tue May 14 12:54:30 2019 +0200 Devel::PPPort: Fix commit d6d4687 vmess is already implemented Fixes GH #61 aka RT 134101 (cherry picked from commit 935b7556e54d4bd3c18fdfef2f072b674afb7051) Signed-off-by: Nicolas R <[email protected]> commit 8706ada4898ebc3531969c9caaf5175af6d5617c Author: Nicolas R <[email protected]> Date: Fri Sep 27 16:42:45 2019 -0600 Devel::PPPort - Reconciliate changes with GitHub 26a6a909 commit 10b007956b0de3ebc76c203d5a1129006bf4b759 Author: Karl Williamson <[email protected]> Date: Sat Sep 14 15:31:01 2019 -0600 Update parts/base,todo files This is updated to the latest blead. (cherry picked from commit e7398cda98d95e464aefd3b7ab8a052bdf19c896) Signed-off-by: Nicolas R <[email protected]> commit 12b46422b7798f571568111d5f95215847b5fca2 Author: Karl Williamson <[email protected]> Date: Fri Aug 9 10:03:43 2019 -0600 We don't provide GCC_BRACE_GROUPS_FORBIDDEND So, don't use our macro that indicates we do provide it. (cherry picked from commit 36672207f64165e8e58251a2a4cb4569984dadcd) Signed-off-by: Nicolas R <[email protected]> commit 445ce9b5b8c5d3baf82c5ce143482955d2f12d06 Author: Karl Williamson <[email protected]> Date: Mon Jul 15 14:45:58 2019 -0600 Backport start_subparse (cherry picked from commit 59c0a72a7f36c9f3e2c0779f5affc420499252b8) Signed-off-by: Nicolas R <[email protected]> commit 840a8af579bb0f812b4cd6b0cc2375771eebda34 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 12:51:32 2019 -0600 Backport rsync_locale, switch_to_global_locale Before these existed, they should be no-ops (cherry picked from commit fbde8074e56bf0da478eb424c4bc9329ee48210b) Signed-off-by: Nicolas R <[email protected]> commit 08d12710a52eafae3854fa83f56b1c85782081ac Author: Karl Williamson <[email protected]> Date: Fri Jul 12 12:42:26 2019 -0600 Backport UVCHR_SKIP (cherry picked from commit bfe660f9f9775fc1cbbf1c5fd7ed809b3e4dd369) Signed-off-by: Nicolas R <[email protected]> commit e2da5d9eb9a5c5919b38a140140567c378405326 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 12:33:08 2019 -0600 Backport UTF8_IS_INVARIANT, UVCHR_IS_INVARIANT (cherry picked from commit ad7eb4eca683a879c64475969870e5333e034e87) Signed-off-by: Nicolas R <[email protected]> commit ef89c4f1c57967f0af62d503667957700e74a59c Author: Karl Williamson <[email protected]> Date: Tue Aug 6 16:40:12 2019 -0600 parts/inc/misc: Use parameters in #defines Aliasing just the macro name does work, but saying #define FOO(c) BAR(c) instead of #define FOO BAR makes it easier for D:P to calculate the lowest release it provides support for for these macros (cherry picked from commit 71933851d906d58786a409f028f182c88d5812d9) Signed-off-by: Nicolas R <[email protected]> commit e17f68231dd7d8e7771a792525d5dbb108b9a2dc Author: Karl Williamson <[email protected]> Date: Mon Jul 15 12:14:46 2019 -0600 parts/inc/misc: Comment, white-space only (cherry picked from commit e28c70d049c63a8d4272ea2bf5b8b22344a1d395) Signed-off-by: Nicolas R <[email protected]> commit 876aded1458f31b26fdc9475be238ff43d5805c2 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:58:42 2019 -0600 Backport isFOO_L1 macros These were already in handy.h (cherry picked from commit a4b5164b07382058fbad34a3648e50691368c9d7) Signed-off-by: Nicolas R <[email protected]> commit 150ac7cc3f760d27166df9d7ac724c426a53ec97 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:32:03 2019 -0600 Backport NATIVE_TO_LATIN1, and vice-versa These are more accurate names than the original NATIVE_TO_ASCII, so backport only these versions, to encourage their use. Support only ASCII platforms in versions earlier than NATIVE_TO_ASCII appeared in. (cherry picked from commit 162b3fa5d025248e16c129ba4a4430567d7f4adf) Signed-off-by: Nicolas R <[email protected]> commit 59be6e16b84ed03d93717e90c7183caeeb0fa74d Author: Karl Williamson <[email protected]> Date: Mon Jul 15 15:23:20 2019 -0600 Make sure newCONSTSUB gets included on early perls Otherwise functions that rely on it won't work. (cherry picked from commit e139cb6c3b33fee6e7f100c55ab27223cf260c42) Signed-off-by: Nicolas R <[email protected]> commit 758bcf0b832b24088dfdfe737b25319ebaf48044 Author: Karl Williamson <[email protected]> Date: Mon Aug 5 22:47:11 2019 -0600 parts/inc/threads: Add hints (cherry picked from commit 5bc28160c8a5ea859054713667f051e47e46802d) Signed-off-by: Nicolas R <[email protected]> commit 159218970599503454d6da081bc540ab96233573 Author: Karl Williamson <[email protected]> Date: Mon Aug 5 22:49:01 2019 -0600 parts/inc/mess: Don't 'provide' a porting test macro This macro is not for public consumptions, but only for porting tests. Change so this file doesn't cause D:P to provide it. (cherry picked from commit fdb67922468b8439f47c1c80bba2ad557bec5dc3) Signed-off-by: Nicolas R <[email protected]> commit 3250a268891a2addebf6341843acb2891feef959 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:22:40 2019 -0600 parts/inc/mess: Adjust prototype to match blead (cherry picked from commit 129ae046bd633f28af9e86ab704b11d7342e2137) Signed-off-by: Nicolas R <[email protected]> commit 55201404915792ebf6ecc7ab6d12207ccf87f3ad Author: Karl Williamson <[email protected]> Date: Thu Jul 18 12:38:15 2019 -0600 parts/inc/magic: Fix to run on early perls No for postfix modifier; use numeric comparison for $] (cherry picked from commit c0b235db11fc135c6da5f5b2890fa44bc1aad10c) Signed-off-by: Nicolas R <[email protected]> commit 8ddf67ebc619ebb00decb55d48c7e287e3fe38ee Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:22:12 2019 -0600 parts/inc/magic: Adjust prototype to match blead (cherry picked from commit 692ec66c0bf83f43232d8a5b52d582346a6948d7) Signed-off-by: Nicolas R <[email protected]> commit cf8ff60373a88cf809d96671e3196fe133ebbb55 Author: Karl Williamson <[email protected]> Date: Thu Jul 4 14:22:24 2019 -0600 parts/inc/variables: Grammar in comment (cherry picked from commit b38f592c79e9cb96807bf04e902d04f5004a7914) Signed-off-by: Nicolas R <[email protected]> commit 4401d04fb5d35210517d0f5c763d2f8495d34b75 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:09:44 2019 -0600 parts/inc/uv: Adjust prototype to match blead (cherry picked from commit b0b2502b166d7e41040ad14b557335014ded7f7c) Signed-off-by: Nicolas R <[email protected]> commit f5feb9e723292416cb4568bd5e43609b885281a7 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 10:46:32 2019 -0600 parts/inc/uv: Use > to compare $] (cherry picked from commit a54aebf6bde1ad7510f02a2e83b35658973c8994) Signed-off-by: Nicolas R <[email protected]> commit 971bc2481545a7f8319680da434a49f75888c87b Author: Karl Williamson <[email protected]> Date: Tue Aug 6 16:53:37 2019 -0600 parts/inc/utf8: Symbols are not really for external use This used __UNDEFINED__ to define a bunch of constants. However, there is nothing backported that allows the user to specify any of these, so there is no need for them to be publicly accessible. And, if something is important enough to be backported, it ought to be documented. These symbols should not be documented, so __UNDEFINED__ is not the proper way to deal with them. (cherry picked from commit 359209af4e95548cbd7291128549ce2071e8e555) Signed-off-by: Nicolas R <[email protected]> commit 7252d154ea6fa4c0b08d0036dae483480c47b278 Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:17:58 2019 -0600 parts/inc/utf8: Add hint for utf8_to_uvchr() And a Replace pragma (cherry picked from commit 56f6e61be8269a8a7959eae3e75dd8fbd2976aa6) Signed-off-by: Nicolas R <[email protected]> commit f807bbfaf36f116010dcf51a219abb1e45c0e1cf Author: Karl Williamson <[email protected]> Date: Sat Jul 20 14:22:59 2019 -0600 parts/inc/utf8: Fix typo in comment (cherry picked from commit d93ef4febe6f8e62de50dfe22f0b9c80b47ec967) Signed-off-by: Nicolas R <[email protected]> commit 1242cf1efd28e52429a215bb6039b007d31461d8 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 14:19:48 2019 -0600 parts/inc/utf8: Fix hints for is_ascii_string This hint was the wrong thing. We really want it to come out for the API functions we want to caution about. (cherry picked from commit 4931fb4d1f76616701bcb786949827409cde1e09) Signed-off-by: Nicolas R <[email protected]> commit c45043a06433d0cf23e2692755b7786e92d353aa Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:25:58 2019 -0600 parts/inc/utf8: Use numeric comparisons with $] The string ones failed on 5.4.3 (cherry picked from commit 961d99e3be46e3bca016afb899440028e7e734e6) Signed-off-by: Nicolas R <[email protected]> commit 66da169af067ded5cd7335fb5ada26b15bed3752 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:23:59 2019 -0600 parts/inc/utf8: Fix for loops to work on early perls You can't use a for statement modifier, nor declare a variable as part of the for statement. (cherry picked from commit 5ebfad4758132f28a11b3a5c1e58c9c0c8bc3a30) Signed-off-by: Nicolas R <[email protected]> commit 088119207ad8e3cfe99531aca74631838edd22ac Author: Karl Williamson <[email protected]> Date: Tue Jul 9 16:56:21 2019 -0600 parts/inc/utf8: Fix utf8_to_uvchr_buf for 5.7.0 It turns out that 5.6.1 is more advanced than 5.7.0. So this commit uses a further check to decide if it can use a substitute function that provides decent error checking, or if it has to fall back to one that doesn't. (cherry picked from commit 8e3920d656441ef0ba0a5dcef98c1064aab26412) Signed-off-by: Nicolas R <[email protected]> commit d4cea7f8e43ae1dcea1de589448c1349cb40c27f Author: Karl Williamson <[email protected]> Date: Tue Jul 9 16:54:08 2019 -0600 parts/inc/utf8: make sure var is def'd before using I'm not sure that this makes a difference, but it's cleaner to not #define foo bar if bar isn't defined. (cherry picked from commit 686eafa088d7b41bc630e6889cbe546a46e8b366) Signed-off-by: Nicolas R <[email protected]> commit 21e22f084e9f1df7b64cc03c9825808b2397d604 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 11:09:24 2019 -0600 parts/inc/utf8: Wrap qr in string eval Very early perls fail to compile this because qr doesn't exist and is viewed as a syntax error, even though the tests don't get executed. (cherry picked from commit 682fa53f57973b5a263c3b6742a54fa90d7995b6) Signed-off-by: Nicolas R <[email protected]> commit 6b273defee42a2d67c4fd1df0439624ecd9716b2 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:08:24 2019 -0600 parts/inc/sv_xpvf: Adjust prototype to match blead (cherry picked from commit b022731d60d59e7719049671ae04d798158205c9) Signed-off-by: Nicolas R <[email protected]> commit 69e107032032c54cc2c7e9b095c22c4d1f867157 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 11:53:32 2019 -0600 parts/inc/Sv_set: Fix to work with early perls You can't have a for () modifier after a statement, and need to use numeric comparisions with $] (cherry picked from commit 4ab672ea5af5ec2a1e561d02941b4582d68dad6c) Signed-off-by: Nicolas R <[email protected]> commit 2caa20791b32874d40ecc8315c64b5c2ede9e55d Author: Karl Williamson <[email protected]> Date: Thu Jul 4 14:24:15 2019 -0600 parts/inc/sprintf: Add Warning, Replace: pragma This really shouldn't be used; instead snprintf() (cherry picked from commit c36539f5e553c48412c1d4a770359097c3070f6e) Signed-off-by: Nicolas R <[email protected]> commit 1c7ca98cb3aaf527fae3f546abbb2eb9b3da10e9 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:07:46 2019 -0600 parts/inc/shared_pv: Adjust prototype to match blead (cherry picked from commit 3346d69075fdaaa1344ececa15483c0ccb9ec170) Signed-off-by: Nicolas R <[email protected]> commit ffafe9b2a4ab392984726d3c870da453da31e760 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 11:44:58 2019 -0600 parts/inc/misc: Remove extraneous ord() calls (cherry picked from commit 0257260a82e7924470d25bd227890d991a973fb5) Signed-off-by: Nicolas R <[email protected]> commit db834d60ea9b77116096379350e249919aefedbd Author: Karl Williamson <[email protected]> Date: Thu Jul 11 16:16:42 2019 -0600 parts/inc/misc: Shorten sub names These all had an unnecessary prefix that was to prevent name space collisions, but the infrastructure of D:P already took care of that. (cherry picked from commit d8d82913b626ad2f6c5179d4a95b26fe52048a70) Signed-off-by: Nicolas R <[email protected]> commit 0915d96d6ee771d395a0d871e8ec258ce43e3728 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:19:27 2019 -0600 parts/inc/misc: Can't use GCC brace groups before 5.4 (cherry picked from commit b036d9249ac2b7f64d8a3e9b2f520a469f86fcdb) Signed-off-by: Nicolas R <[email protected]> commit d7412c0a128d115cedfc37bbdc478064d4d9ae0e Author: Karl Williamson <[email protected]> Date: Thu Jul 4 14:23:05 2019 -0600 parts/inc/misc: Change Hints into comments I wrote these not knowing what Hints were for (since clarified in HACKERS). They are really comments for a person reading this file. (cherry picked from commit 0dcefa7708a4113757a215c3e5386b2ead255135) Signed-off-by: Nicolas R <[email protected]> commit 54b2ecc584e565310df416ef7a5dd7b82f1092e4 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:15:45 2019 -0600 parts/inc/mess: Use numeric comparisons for $] These give better results, and the string compares were broken on 5.4.3. (cherry picked from commit 01fbc5c65146c6cce5845f6accca6515ca4509b3) Signed-off-by: Nicolas R <[email protected]> commit c1f2681f870f1392568268dfe87ed23e65eb5c67 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:12:15 2019 -0600 parts/inc/mess: Don't use 'for' modifier It doesn't work on early perls. Instead wrap with a for loop (cherry picked from commit c87fc33e0370528f8e0376e48ef0ea4f82395afb) Signed-off-by: Nicolas R <[email protected]> commit 04902fb82e7507add6296170bce69a69ad1a8784 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:09:27 2019 -0600 parts/inc/mess: Some things are broken in the 5.7 series while working earlier and later (cherry picked from commit fa7ee13073f7d45e205cd6cdd7e727c83739ed30) Signed-off-by: Nicolas R <[email protected]> commit c94bdf466bb8c16947a50e420252cc781a40566b Author: Karl Williamson <[email protected]> Date: Tue Jul 9 22:05:51 2019 -0600 parts/inc/mess: Some things don't work before 5.4.0 (cherry picked from commit d2544abef917c023c211f4e084ff464c0e07b822) Signed-off-by: Nicolas R <[email protected]> commit a44e86ee645c0dbd2046969a7f7b67e995e0f7c6 Author: Karl Williamson <[email protected]> Date: Sun Jun 30 10:45:54 2019 -0600 parts/inc/mess: \N{} broken in more versions Skip these tests on more versions than before (cherry picked from commit f62175a208c31a08d85fb2d73b7a6d496b04ad37) Signed-off-by: Nicolas R <[email protected]> commit 0730443704a3a6e266bb89bef050ba3d0c62c7fa Author: Karl Williamson <[email protected]> Date: Fri Jul 12 10:49:17 2019 -0600 parts/inc/cop: Adjust prototype to match blead (cherry picked from commit c19b8832d23fd6999231e451e86a50fb43720790) Signed-off-by: Nicolas R <[email protected]> commit d450eb4712b7e4733960ed2a10ec9e00d4b516c6 Author: Karl Williamson <[email protected]> Date: Sun Jul 14 09:57:27 2019 -0600 parts/inc/call: Fix to run on old perls Use numeric, not string, comparisons with $], and can't have postfix 'for' modifiers (cherry picked from commit 19e824df0bd6883d8f3deef860bbaf40249d811b) Signed-off-by: Nicolas R <[email protected]> commit 476f4cb821d0bf44fdba6b24ea503e1e662b0c88 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 10:49:59 2019 -0600 parts/inc/call: Adjust prototype to match blead (cherry picked from commit 444c878fc618827c1d33c2257476c31815c50eda) Signed-off-by: Nicolas R <[email protected]> commit cdb59e2ea9294caeaea06e867b3a17b5de49ead7 Author: Karl Williamson <[email protected]> Date: Tue Jul 9 11:55:48 2019 -0600 parts/inc/format: Fix to work on early perls It just isn't ported before 5.4, and postfix 'for' isn't supported (cherry picked from commit 88a327df23bd4647730a8a6bc2e99879a1f96fc9) Signed-off-by: Nicolas R <[email protected]> commit ee782828824542eafc1993a8545d90ad885d54a3 Author: Karl Williamson <[email protected]> Date: Fri Aug 9 14:24:25 2019 -0600 ppphtest: Update based on previous commits The wording of some messages has changed. This also adds some test names (cherry picked from commit 80d37f0acfdb10cf180655b4accf49ea09e93379) Signed-off-by: Nicolas R <[email protected]> commit 0dbca3d4c61359e9cf38a2f81018e4fcaa9738ab Author: Karl Williamson <[email protected]> Date: Mon Aug 19 16:42:45 2019 -0600 devel/mkapidoc.pl: Rewrite entirely in perl The old version, partially in sh, grabbed every file in the directory structure, looking for apidoc lines. Unfortunately that included things, in .git, for example, and those could be out-of-date entries, with the result that there could be multiple entries with different prototypes for the same macro. This commit changes to read only MANIFEST files, and a few generated files. (cherry picked from commit d8bc0a3f40e83e52934696240c2d89398465a56c) Signed-off-by: Nicolas R <[email protected]> commit 47547e39770edbcf3faa535465caae3baf485080 Author: Karl Williamson <[email protected]> Date: Tue Aug 6 18:09:43 2019 -0600 parts/inc/ppphdoc: Add caution to pod (cherry picked from commit 35558be45ff5f20805c6ea56f66b900231ac4e33) Signed-off-by: Nicolas R <[email protected]> commit 9cd8df7ce369eabcd7464ec60f34a7929beb1bdf Author: Karl Williamson <[email protected]> Date: Sat Aug 17 07:37:09 2019 -0600 PPPort_pm.PL: Silence warnings on early perls Enclose some hash keys in quotes. (cherry picked from commit cef8c4f4fa7a02a330ed79ac67934ad32e5e48e0) Signed-off-by: Nicolas R <[email protected]> commit c47226028da78fd72f0425145fe97b320447d77b Author: Karl Williamson <[email protected]> Date: Thu Aug 15 16:43:01 2019 -0600 devel/regenerate: make sure the .fnc files don't overlap If they do, this could show that they weren't recently regenerated, or that there is a bug in the regeneration code. (cherry picked from commit 51e09cbdf5df04a4e2a7304c5a5bf39f9e91ff00) Signed-off-by: Nicolas R <[email protected]> commit 92ae8dcf2f5b8973a11749a461fd5bd52eadb895 Author: Karl Williamson <[email protected]> Date: Thu Aug 15 16:08:06 2019 -0600 devel/scanprov: Store information about all fcns This makes it convenient for someone to find out in what version something got added. I'm not publicizing this just yet, and ppport.h --api-check won't return it for non-public ones at the moment, but the information is now there for those who know where to look, and perhaps for future public consumption. (cherry picked from commit a9fc5abd7e81911cb92ed3554300c340a8f3c88e) Signed-off-by: Nicolas R <[email protected]> commit 0daa4ae5b127cadabbc1092d988ce1b1f74b4f71 Author: Karl Williamson <[email protected]> Date: Wed Aug 14 21:38:54 2019 -0600 parts/apicheck.pl: Use the passed NEED_foo macros These no longer need to be hardcoded in two places when adding new ones. (cherry picked from commit 867650c3a523c9e8f5014ba02ef52e88692a5302) Signed-off-by: Nicolas R <[email protected]> commit dc9f335fa6e29bdaa2e4e469180777dcc24ddc26 Author: Karl Williamson <[email protected]> Date: Wed Aug 14 22:43:23 2019 -0600 devel/regenerate: get a list of all NEED_foo macros And put it in the environment for apicheck.pl. This will keep a maintainer from having to remember to add these in two places. (cherry picked from commit 6734eaffe2a3aedd68a6c610a0f0258c2df850e9) Signed-off-by: Nicolas R <[email protected]> commit 4fefab01c09263e208d0b00464e0bb6ec9556a19 Author: Karl Williamson <[email protected]> Date: Wed Aug 14 20:24:13 2019 -0600 RealPPPort_xs.PL: Fix spelling in comment (cherry picked from commit acd6caec2173ad3c12f04c788b8b4ba64746e2b1) Signed-off-by: Nicolas R <[email protected]> commit f100f28ce4cd30ab507a622c67021b8a47d87bac Author: Karl Williamson <[email protected]> Date: Wed Aug 14 19:35:11 2019 -0600 devel/regenerate: Add some error checking Make sure that things we skip testing are on the list of such things, which has information that we otherwise would glean from testing (cherry picked from commit 98ff9eaf3c08405d27ba8380835087116e7c98f4) Signed-off-by: Nicolas R <[email protected]> commit f620c9f8fd7f41af94704f3f435f8b34a011f7eb Author: Karl Williamson <[email protected]> Date: Wed Aug 14 17:56:30 2019 -0600 Update parts/ppport.fnc (cherry picked from commit 09bc9a820d17f1010e8b6bacdf1e6d319ef4e41b) Signed-off-by: Nicolas R <[email protected]> commit 32642d11e83a4d51c86b48c74adcb39ed37cb6f8 Author: Karl Williamson <[email protected]> Date: Tue Aug 13 23:07:26 2019 -0600 parts/apicheck.pl: make macro public in X+M flagged functions The X says we export a function even though it's not public API, but the M says there is an extra, public, macro that maybe used to call the function, but now calls something else, and that macro is public, so should be tested. (cherry picked from commit 7528b129460c777edc99db3e5555b38a41a9390f) Signed-off-by: Nicolas R <[email protected]> commit dce1b3c33b74d6197d75d7eee6000880939e829a Author: Karl Williamson <[email protected]> Date: Tue Aug 13 21:04:57 2019 -0600 Create regeneration files in final directory Prior to this commit, the files for what happened when were placed in the parts/todo directory, then moved to parts/base. Now they go directly into their final resting place (cherry picked from commit 18edcc361cd5a2a208ae85a627c3c861c5ce3d74) Signed-off-by: Nicolas R <[email protected]> commit 05fe8b26ad9df39d29cee670a45988c1589cd551 Author: Karl Williamson <[email protected]> Date: Tue Aug 13 12:30:28 2019 -0600 Pass values from mktodo.pl to apicheck.pl This uses an environment variable to send the version number across a make to apicheck.pl, where it is inserted as comments in apicheck.c. I found that when debugging, it is useful to have this information handy throughout the file. (cherry picked from commit 2a055a1a8526c1b721d10078ce9bf39178c7ea62) Signed-off-by: Nicolas R <[email protected]> commit 95b48ffed9f35642c9a79d792d8b8b7e363f9f4a Author: Karl Williamson <[email protected]> Date: Tue Aug 13 09:18:01 2019 -0600 ppport.fnc (cherry picked from commit 139ab76c6ce97398246dda402e0e98ac32e1df1d) Signed-off-by: Nicolas R <[email protected]> commit 9554395eccacaf30c71d980d57f5c9b1962ea176 Author: Karl Williamson <[email protected]> Date: Thu Aug 8 14:44:15 2019 -0600 PPPort_pm.PL: Add __UNDEF_NOT_PROVIDED__ This is like __UNDEFINED__, but does make "provided" the macro it targets (cherry picked from commit 63a8d75f3253d340ded4bbbc4246d68fdf7ed0e7) Signed-off-by: Nicolas R <[email protected]> commit 16d375147da697d21da031d809ae31f20380e32e Author: Karl Williamson <[email protected]> Date: Thu Aug 8 13:51:33 2019 -0600 PPPort_pm.PL: Add an item for unknown min supported version The pod for this has sections of what elements are first supported when. Unfortunately there are some that we do not have that information. The cure for this is for someone to contribute pod for that element to the perl core, but in the meantime, this lists those we couldn't figure out. It uses ppport.fnc to figure out many of the ones it otherwise couldn't. And it is possible to enhance this to figure out more. But just documenting them removes them from the list. And they should be documented anyway. (cherry picked from commit 5b548c97ec59bfb65f3caefea9fcf50cf8cd6d49) Signed-off-by: Nicolas R <[email protected]> commit c34b48497e5d5a160eeabc923d5313d2be10ecd8 Author: Karl Williamson <[email protected]> Date: Thu Aug 8 13:37:17 2019 -0600 parts/ppptools.pl: Make sure mathoms fcns are deprecated This makes sure that we consider functions in mathoms as being deprecated. The current blead regen/embed.pl already does this, but this makes sure, should that get reverted. A mathoms function with an M flag indicates there is a macro by that name that avoids the function (which must begin with 'Perl_'), and the macro isn't deprecated unless the D flag is also present. (cherry picked from commit 8ed3f9e76aca7a9341a8878d2d7c61a8b8717621) Signed-off-by: Nicolas R <[email protected]> commit 59974c5d6bc085f2af17a8943bf3e5ee5cdea3e1 Author: Karl Williamson <[email protected]> Date: Thu Aug 8 13:32:44 2019 -0600 parts/apicheck.pl: Don't test macros with weird params These are marked for us in the =for apidoc line. (cherry picked from commit beb801439ddfa3dc555a1ea0ff5a1794715b6ca4) Signed-off-by: Nicolas R <[email protected]> commit 18c37bcd0801ba0ac61738ba5c9e88d31ad39298 Author: Karl Williamson <[email protected]> Date: Thu Aug 8 13:18:21 2019 -0600 parts/inc/ppphbin: Use dependency info for min support Some items don't get tested, and so we don't know their minimum supported version. But if they're dependent on some other thing whose minimum version we do know, we can glean that they aren't supported prior the the dependent thing's support. (cherry picked from commit 311664e55550bf20d255a952ad2532c1c8747c73) Signed-off-by: Nicolas R <[email protected]> commit dfaee99f9ded5698a13e1564927003be59ab96db Author: Karl Williamson <[email protected]> Date: Sat Aug 3 16:47:40 2019 -0600 Add script to regenerate ppport.fnc Now, instead of this being static, it will be regenerated. This allows us to create tests for macros that otherwise wouldn't be. (cherry picked from commit b730918253cf5ea4167f6c3ee7096dd2e4068506) Signed-off-by: Nicolas R <[email protected]> commit c07cf32620a104e60390fbc1ff7c6529a3361c46 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 16:15:06 2019 -0600 PPPort_pm.PL: Handle blead specially blead actually shouldn't be reported, as the symbols it shows as existing are (due to the algorithm) actually ones that don't exist in any version. By ignoring it, we omit wrong information. (cherry picked from commit 97d35610a4fccf694db9a601b102b5a2888b9713) Signed-off-by: Nicolas R <[email protected]> commit c4e3740a6c2b53b0bf8eb46265954c07fa7e8fd8 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 15:38:00 2019 -0600 parts/inc/uv: Add Replace: pragma (cherry picked from commit fef460fa0e876800c7cde33b188dd2c95a6ec231) Signed-off-by: Nicolas R <[email protected]> commit 53a72e40f2c7ee7072c34e748cea57b54720ded9 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 15:30:52 2019 -0600 parts/inc/SvPV: Add Replace: comments (cherry picked from commit 0b4cfb7fef017e2bb9ff99e223a6fce5f2bb7794) Signed-off-by: Nicolas R <[email protected]> commit 12d2b8fdadf5c432a97f81646709913f62ad785e Author: Karl Williamson <[email protected]> Date: Thu Aug 8 13:10:29 2019 -0600 ppport.h: Make use of scanprov's new returns (cherry picked from commit 0e1a8da5dde291aa56a336ed14ce721f3e6c028f) Signed-off-by: Nicolas R <[email protected]> commit b3cf09c1695c467815ee01a89c17d1f990152cd6 Author: Karl Williamson <[email protected]> Date: Tue Aug 6 19:14:55 2019 -0600 ppport.h: Reword --api-info entries This makes the wording, I believe, more succinct and friendlier. (cherry picked from commit 272e25aaf16afedb1ad27079644861e472aa58bc) Signed-off-by: Nicolas R <[email protected]> commit c7957769281ba09f2e41d1ad5b743461dd9793d3 Author: Karl Williamson <[email protected]> Date: Tue Aug 6 19:01:12 2019 -0600 ppport.h: --api-info Reorder output of hints/depends info It looks better after everything else (cherry picked from commit 0b98f2fcb18283bc726c16fc45ba8e8efcf8017c) Signed-off-by: Nicolas R <[email protected]> commit abf1601f64e66330084b28a193ddd4a0ede7c012 Author: Karl Williamson <[email protected]> Date: Thu Aug 1 18:17:34 2019 -0600 ppport.h: Suppress useless warning If an element is ported as far back as we know about, there is no point warning about that. (cherry picked from commit cb6834059fb808db043092b42e421a66023ea26a) Signed-off-by: Nicolas R <[email protected]> commit 42f01a88d4b24c33c293c1fe68e8c3fe99c1ce7e Author: Karl Williamson <[email protected]> Date: Tue Aug 6 19:05:28 2019 -0600 parts/inc/ppphbin: Do calc once, and store in variable (cherry picked from commit ef5acaa4d66699bbf87a9051192c1db82f79d406) Signed-off-by: Nicolas R <[email protected]> commit 835a924b092b1685a733e0de3474662f439b5606 Author: Karl Williamson <[email protected]> Date: Thu Aug 1 18:09:05 2019 -0600 PPPort_pm.PL: Make use of scanprov's new flags scanprov now gives us a type for the symbols it adds. Pass that type along to ppport.h (cherry picked from commit ba8e4f38988bca4a29edeb751b6c461eb671864b) Signed-off-by: Nicolas R <[email protected]> commit 40f4ec07b91b57275be78fcaefa33f38ceca32de Author: Karl Williamson <[email protected]> Date: Thu Aug 1 17:14:03 2019 -0600 devel/scanprov: Scan for functions we didn't test mktodo.pl tried to compile each element it knows about. But not all will actually compile, as some compile only when certain Configure options are specified on certain platforms, like ones dealing with quad math, or GLOBAL_PRIVATE_STRUCT. But those functions are in embed.fnc and the hdrs that get generated from that. We can use the same mechanism as elsewhere in scanprov to look for the first mentions of these. (cherry picked from commit 8530a7806b5283c981eb3e22ba311be35924a071) Signed-off-by: Nicolas R <[email protected]> commit a3c49949028ea352ff9e7c55f2e3daeff3e6f691 Author: Karl Williamson <[email protected]> Date: Thu Aug 1 17:03:27 2019 -0600 devel/scanprov: Extract code into a function This is in preparation for it being called a 2nd time. (cherry picked from commit be556cbfa5105ba27a1099ca21625c4958ee8992) Signed-off-by: Nicolas R <[email protected]> commit c044ccb5e366e98febe29c08d1f98b58c432344f Author: Karl Williamson <[email protected]> Date: Thu Aug 1 10:14:39 2019 -0600 devel/mktodo.pl: Get working on threaded perls. If we don't ignore issues with this libc symbol, pthread_getspecific(), we don't work on threaded perls. I don't understand why this is undefined. (cherry picked from commit dd767ef602ff590b061b8d54d83eaec1945ec473) Signed-off-by: Nicolas R <[email protected]> commit c37f7de75422d15f812cd3632337b26560903a1b Author: Karl Williamson <[email protected]> Date: Sun Jul 28 15:07:14 2019 -0600 ppport.h: Turn off some likely warnings I'm not sure when this ability to turn off warnings was introduced, but putting it inside a block eval should avoid any issues. (cherry picked from commit d1378eaded6746a4c36230f9eb803c2bce7edb3d) Signed-off-by: Nicolas R <[email protected]> commit 7d0cbfbade78ee0e3ad21b66a24e4e64827051d6 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 13:45:25 2019 -0600 parts/apicheck.pl: Don't skip some cases We only should create a single test for a given function. But if that function is like this: #if foo int bar(...) #else char bar(...) #endif We would only generate a test for the 'foo' case. Uniqueness of a function includes the compile time conditional expression for it. (cherry picked from commit 2d6698cc1724195e18acd67fb8fddf9527372eda) Signed-off-by: Nicolas R <[email protected]> commit daa565d026db59bdc912c9e6c35dfa9f5eb6ba1e Author: Karl Williamson <[email protected]> Date: Sun Jul 28 13:50:50 2019 -0600 devel/scanprov: Add in exceptions Things like RETVAL were being listed as not having any portability information, whereas they are actually valid for all current releases. Elements like these can't be tested individually because they are too tightly bound with XS, which is used to do the testing. Therefore, they are in a list of exceptions. This commit causes scanprov to use this list and insert the items into the proper version files. (cherry picked from commit 06245c0f864cb3b530028a3fbb2baa3e540cccbf) Signed-off-by: Nicolas R <[email protected]> commit 6b99da3dd8757ebf297a64aa39ae1bf2e166d7f6 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 13:43:16 2019 -0600 parts/apicheck.pl: Extract list into lib fcn call This is in preparation for scanprov to use the same list. (cherry picked from commit b3b8255b1cb743f160e6d9f33fa52b7b7149d53b) Signed-off-by: Nicolas R <[email protected]> commit 77feee66dec79b6e0d2458c8d576bb9d4c57717c Author: Karl Williamson <[email protected]> Date: Sun Jul 28 12:23:42 2019 -0600 PPPort_pm.PL: Revise pod (cherry picked from commit 7c5cbcc2317710ec510aad42e8c64ca65ca0f7a4) Signed-off-by: Nicolas R <[email protected]> commit 882c4f4d466d91a9c52b2149b85827571e93f288 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 11:12:24 2019 -0600 XXX parts/inc/ppphtest: Update Changes in this distribution have caused certain things to change slightly. Update so the tests pass again. (cherry picked from commit 53824f57c7b96239c40fa20a89f6b184cca12b77) Signed-off-by: Nicolas R <[email protected]> commit a79711120ef3913f414e749a81826b3ee68b2624 Author: Karl Williamson <[email protected]> Date: Mon Jul 29 12:01:51 2019 -0600 devel/scanprov: Add a code letter to generated lines This is in preparation for other types of lines being handled by scanprov. The lines in parts/base that come from mktodo.pl have the codes that nm outputs for each symbol, plus some internal codes. This adds M, which doesn't appear to be an nm code. (cherry picked from commit cb5fef4b862d528eba649ee18870324ac26a4e68) Signed-off-by: Nicolas R <[email protected]> commit 502d9f8e35f6cbc5beadc748c75126d38b1f126d Author: Karl Williamson <[email protected]> Date: Mon Jul 29 11:56:16 2019 -0600 devel/scanprov: Extract code into a fcn This is in preparation for it being called from other places (cherry picked from commit 56bf67b75f766a453aa2373db9f6f09935cbae2e) Signed-off-by: Nicolas R <[email protected]> commit bc814d80edfbad3c8e817b991582aeb54e925968 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 10:59:01 2019 -0600 devel/scanprov: Ignore comments in scan As noted in the comments in scanprov, the results could be thrown off by something being mentioned in a comment in a scanned hdr. This commit removes the comments before scanning. I'm unsure of what else could throw off the results, but I can imagine there is something that I (and previous maintainers) haven't thought of. (cherry picked from commit 413b3996cf5d19cc43357ba714b0662c93d73903) Signed-off-by: Nicolas R <[email protected]> commit 3719137a6f4014eb83309e447fc86a2e769e3e3d Author: Karl Williamson <[email protected]> Date: Sun Jul 28 10:39:08 2019 -0600 devel/scanprov: Restrict symbols to identifier-like Previously, it used \w+, which gathers things like numbers. We are instead interested in identifiers. It probably doesn't make a difference except that we don't needlessly add a bunch of things to the generated hash (cherry picked from commit 83a7475bfcfa1bd2d56b4cb1a77f43e7059c2f20) Signed-off-by: Nicolas R <[email protected]> commit 56a604c25b2f8262e839fbf863dc61dc606fda55 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 10:22:25 2019 -0600 devel/scanprov: Handle blead properly Previously, the code just removed blead from the list of perls it dealt with. But this doesn't work, because the algorithm (heuristic, actually) relies on going through all the versions, and the symbols erroneously ascribed to blead will instead erroneously be ascribed to the next lower version. Instead, this commit changes so that blead is simply not written. (The comments detail why the symbols are erroneously ascribed to the highest version checked.) (cherry picked from commit 89c7fcf8b81b3390a318abd2d2f5875305fc5fd1) Signed-off-by: Nicolas R <[email protected]> commit 514aceb6d271f09b91071376089a9283f3725907 Author: Karl Williamson <[email protected]> Date: Thu Aug 8 12:57:12 2019 -0600 PPPort_pm.PL: Rename variable for clarity Doing so showed that we already had an array with what we wanted, no need to go through a hash again. (cherry picked from commit 4f91b5dc1d8171a6bc6b54fb8d76fa6bca697f7b) Signed-off-by: Nicolas R <[email protected]> commit 8ab9a900612a908dbb74dc63bcc587d7c90668a2 Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:47:36 2019 -0600 PPPort_pm.PL: Comments, white space (cherry picked from commit c9bb660cea95c2c98a0f5a6a63b7f5fdf1d2fadc) Signed-off-by: Nicolas R <[email protected]> commit 2a3ad345a1298f7bf53287c31f8b5ea4378d42eb Author: Karl Williamson <[email protected]> Date: Thu Aug 1 10:39:08 2019 -0600 parts/inc/ppphbin: Change variable name This makes it clearer at first glance as to what is going on (cherry picked from commit 38edf48e7b91ba30e1c26958445deac475d52347) Signed-off-by: Nicolas R <[email protected]> commit 3e4f8f971066191750cd26cf0dc0af817f455dc9 Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:47:01 2019 -0600 parts/inc/ppphbin: Add comments (cherry picked from commit 9e8dd684615d93294c81a4bff7e7610b0621d1fe) Signed-off-by: Nicolas R <[email protected]> commit 2b5a6a7e2b03329123d6d72b94aff54e4313e27c Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:43:30 2019 -0600 parts/inc/ppphbin: Fix accumulation of Hints/Warnings Prior to this commit, if any line in the middle of one of these didn't begin with an asterisk (a typical comment continuation marker), the hint was silently discarded. (cherry picked from commit d7b17de7bd53bc7f5c58e0aebeec7420e0de860d) Signed-off-by: Nicolas R <[email protected]> commit e63fbd6e6e3c0e48b80d89e8367dc2aa02543d88 Author: Karl Williamson <[email protected]> Date: Mon Jul 15 10:06:04 2019 -0600 Rename some data files These are renamed to their proper 6 digit perl version names. Previously the final part was multiplied by 10. (cherry picked from commit d48910fdea411975c3e0be496800f8ea73c69091) Signed-off-by: Nicolas R <[email protected]> commit 8e98f5003259e1f5c28c5bbf15dddb7c339b4298 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 15:51:39 2019 -0600 pppport: Print hints/warnings always. Previously they were displayed only if somethng else was. (cherry picked from commit 27527f7a456d30199751a43bdba64212daad7e61) Signed-off-by: Nicolas R <[email protected]> commit 7db2b3f796ea26ac01d69060a0e6418997f4f191 Author: Karl Williamson <[email protected]> Date: Sun Jul 14 10:01:09 2019 -0600 parts/inc/ppphbin: Add clarifying text to output (cherry picked from commit 1f910f5b55fe9bfb8d755dae343f2b785e44aee7) Signed-off-by: Nicolas R <[email protected]> commit 644a811e067fe06a955174a4a6c992a334f56314 Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:31:14 2019 -0600 ppport.h: Don't say unsupported if avail in earliest version If this API element is available in the earliest version we have info for, then it actually is supported. (cherry picked from commit 083f8295dac44481178034faba58f096dda25703) Signed-off-by: Nicolas R <[email protected]> commit b151b75a482adc883aefebdfe43c94174fa4d9e7 Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:29:22 2019 -0600 ppport.h: Don't print unsupported info for invalid entries By 'invalid', I mean ones that are, say deprecated or inaccessible outside core, etc. (cherry picked from commit a114ba3327ec8379d16b870e91d260b1e99b1866) Signed-off-by: Nicolas R <[email protected]> commit bf9610ae5a546e9fcd720a14d954d1fd42bf63fe Author: Karl Williamson <[email protected]> Date: Sun Jul 21 12:27:21 2019 -0600 ppport.h: Print out more API info This uses the flags from embed.fnc to enable printing better API info for elements that are, say, deprecated or core-only. (cherry picked from commit 1fc2b5279cfb31e354f3bba615df71f721ad071b) Signed-off-by: Nicolas R <[email protected]> commit 162895999cd068ce38d5ba3165ef0dfc6828e9df Author: Karl Williamson <[email protected]> Date: Sat Jul 20 22:11:55 2019 -0600 parts/inc/ppphbin: Change variable name This was a smash up of several words that I kept reading wrong (cherry picked from commit 20bf156f900f5a012fc3610ddc54db6092ed907e) Signed-off-by: Nicolas R <[email protected]> commit f7074f41fdfdef65a115ed0870bff1637823839e Author: Karl Williamson <[email protected]> Date: Sat Jul 20 21:56:10 2019 -0600 parts/inc/ppphbin: Change option default The verion that we default to shouldn't be earlier than the earliest version we know about. (cherry picked from commit ef70102090b532971146c8ea9d67df4369abb175) Signed-off-by: Nicolas R <[email protected]> commit e8c2b34a04211d71392bcf2ff16d520cde520024 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 21:43:12 2019 -0600 devel/mktodo.pl: Don't discard earliest info When regenerating the files of what came when, the code uses version n as a base to see what version n+1 added. Prior to this commit the information from version 0 was simply discarded. That meant you had to have one more perl to compile than what you wanted info for. That is wasteful and unnecessary. This commit changes so that a file is generated for the earliest perl being generated, containing all the API symbols known to that perl. Effectively, it assumes that all of them popped into existence when that version came out. Words will be changed in the output to indicate that these symbols have been available AT LEAST since this version. For many years, the earliest perl that we had info for was 5.003_07. That meant that the regeneration was run with an even earlier perl. With this commit, wherever we stop, we have information from it, and don't have to throw anything away. (cherry picked from commit 28c1bee885eb2373eda222e45b5af49cec6ccfb5) Signed-off-by: Nicolas R <[email protected]> commit 72dc7531c1df3a8346fe29bd10174f3aff52b5c2 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 18:34:53 2019 -0600 PPPort_pm.PL: Don't hard-code min/max versions We can calculate this from the files we have generated, so manual intervention is no longer required. (cherry picked from commit f778898fbc24791c7b1181ac5e4d9b677d7e3233) Signed-off-by: Nicolas R <[email protected]> commit 4bfe914c4400a41ddddb92d33da1c464f0565f2d Author: Karl Williamson <[email protected]> Date: Sat Jul 20 18:10:39 2019 -0600 Add an argument to mktodo.pl This will be the directory in which to place the output files. This will enable not having to write over one set of file as we go along. Previously everything got written to one directory, then the files were moved, and the directory filled again. This will also enable passing in info without having to add even more, mostly redundant, arguments. (cherry picked from commit 23e4148517314fb987306cc65255c25028174c16) Signed-off-by: Nicolas R <[email protected]> commit 630e521042bfdd528800cf3e59acb520fb386434 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 18:18:01 2019 -0600 devel/mktodo.pl: White-space only (cherry picked from commit e01f423f20117c9315f3b05bd485a78cab5b8212) Signed-off-by: Nicolas R <[email protected]> commit bfa9390c1c2e1563af5705a5ea6065efeded1bd9 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 18:04:15 2019 -0600 parts/inc/inctools: Add function to format version This takes a version number and creates a floating point version with exactly 7 digits with a decimal point after the 5. This is used as the first line in files in parts/todo,base, as well as in the data in ppport.h. (cherry picked from commit fad2103a9a2c28ff439b9b7c851a9e09194e91a6) Signed-off-by: Nicolas R <[email protected]> commit ef85fbc7760d0122788b0ba7b04c4462ac7e11db Author: Karl Williamson <[email protected]> Date: Tue Aug 6 16:26:49 2019 -0600 devel/mktodo.pl: Use debug levels. (cherry picked from commit cb2f9c687c7687295c5f63aca668edba9a395751) Signed-off-by: Nicolas R <[email protected]> commit 0f50f75647e99548d9ffa0dcf64e08c751a04383 Author: Karl Williamson <[email protected]> Date: Tue Aug 6 16:03:38 2019 -0600 Change --debug option to have levels of detail (cherry picked from commit d62bda55bbfa2de367141dce1774eed7db9c3b64) Signed-off-by: Nicolas R <[email protected]> commit 0ebe8a012b50ab7f389edf4a85038f72aacf154e Author: Karl Williamson <[email protected]> Date: Thu Aug 1 16:40:06 2019 -0600 devel/regenerate: Remove exists from if tests I'm unsure as to why his is needed, but I found there were problems when the code uses exists instead of just checking if the value is true. This is a tiny hash, so autovivification isn't a performance issue at all. (cherry picked from commit 41457fa69251e60ddfce2e4f870a09a0115bfc6b) Signed-off-by: Nicolas R <[email protected]> commit 3bb63d3873d94106885062e55b964cf684b5a4b0 Author: Karl Williamson <[email protected]> Date: Sat Jul 13 13:30:55 2019 -0600 devel/regenerate: Add a few comments (cherry picked from commit 13c691ffddb3eef81dc61589f8c1bba382c5a1f2) Signed-off-by: Nicolas R <[email protected]> commit 635ff94cc77ff6728badc0e916ef0dc6cd568518 Author: Karl Williamson <[email protected]> Date: Tue Jun 25 11:37:40 2019 -0600 devel/regenerate: Fix progess message typo (cherry picked from commit 9b68795efa464fb125892c4c67a78bea1b57eb7f) Signed-off-by: Nicolas R <[email protected]> commit 9f7b71fad44886ff55f24069c70dc584b84859dc Author: Karl Williamson <[email protected]> Date: Thu Aug 1 09:49:01 2019 -0600 devel/devtools.pl: 'use warnings' (cherry picked from commit 2844f84fbd42bd3f5111503e22c4ec60fd87bcd7) Signed-off-by: Nicolas R <[email protected]> commit 7b185c62ca5ea7d1ff48996b09741e78bd3ed259 Author: Karl Williamson <[email protected]> Date: Wed Jul 10 17:33:56 2019 -0600 devel/devtools.pl: Print out perls in this run if debug (cherry picked from commit 2514f0d3f4ea2ce02304660effec31b9e17c079c) Signed-off-by: Nicolas R <[email protected]> commit c25a73d9669978a4cd373784793314822f23c59e Author: Karl Williamson <[email protected]> Date: Mon Jul 15 15:33:04 2019 -0600 devel/devtools.pl: Add debugging info This is triggered by either an error or verbose debugging options (cherry picked from commit ff6dd7ca2b7c06a784c21af4d7e940268c30395a) Signed-off-by: Nicolas R <[email protected]> commit 337a666ae9a0e2506fbf0fdcc16c30493270db21 Author: Karl Williamson <[email protected]> Date: Wed Jul 10 17:32:37 2019 -0600 Add --debug option This option already existed in an inner script, but you couldn't specify it from an outer one, which would be the typical way that got called. (cherry picked from commit aefd7c471b5018d9f65cdb44559f743b56580405) Signed-off-by: Nicolas R <[email protected]> commit 0a18d4db5207ac9f671a023d55921c2269fc4089 Author: Karl Williamson <[email protected]> Date: Mon Jul 15 17:25:08 2019 -0600 devel/devtools.pl: Comments (cherry picked from commit 9c0820c499f22640bd6bef34d4b82161fd86d203) Signed-off-by: Nicolas R <[email protected]> commit a58fa8f30e8ec2e9a577a6b05ef132bbc5adb6bb Author: Karl Williamson <[email protected]> Date: Sat Jul 20 16:55:57 2019 -0600 devel/mktodo: Add option to speed up debugging 'debug-start=' allows the caller to skip all releases above the one specified, so that you don't have to go through them all again just to get to one thats failing. (The order things are done is descending.) devel/regenerate is also made to recognize this parameter and pass it along. (cherry picked from commit 52bf4fc971becb876364b7e634530f383f88bb1c) Signed-off-by: Nicolas R <[email protected]> commit 26df2d759b72f45f8c095d337805f035994a634d Author: Karl Williamson <[email protected]> Date: Sat Jul 20 17:47:22 2019 -0600 devel/devtools.pl: Add an element to a hash which is an integer, and use that to sort on. This turns out to be the file name of the key in the proper parts/base,todo directory, but for the moment is not used except in this function (cherry picked from commit 907e18f8e5a8dea9054da01a6d18c8bac70603d1) Signed-off-by: Nicolas R <[email protected]> commit fe387f38bf2d73a165c5547e2d051c64d69c4276 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 17:48:59 2019 -0600 devel/devtools.pl: Standardize input version number Instead of having the user have to know the exact syntax, this will take any of several possibilities and format it to a standard value. (cherry picked from commit 654cbcc5ab3d26fe42339ab2d0df8857b742c70c) Signed-off-by: Nicolas R <[email protected]> commit 97b9d11f37486f8d5baf85c48119707dc53ba9c2 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 10:10:44 2019 -0600 devel/scanprov: Use library fcn to find perl versions (cherry picked from commit bda70fe0831788bc0acd0f681d72340bbf8a40de) Signed-off-by: Nicolas R <[email protected]> commit c2be1425f503b894495bfdca8c5cbc0e7a5d6777 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 09:51:46 2019 -0600 devel/scanprov: Rename variable to be more mnemonic (cherry picked from commit 157a5aebaba3103015fb49b167941c5158554965) Signed-off-by: Nicolas R <[email protected]> commit c48f5549e68c445b1312a517e89e6811bae6dd82 Author: Karl Williamson <[email protected]> Date: Sun Jul 28 09:48:56 2019 -0600 devel/scanprov: Comments, white-space (cherry picked from commit 76db8504124b170fdeda965d724a830eba465bc5) Signed-off-by: Nicolas R <[email protected]> commit 200199be875df171370e1c8473a0ec21cfaa1760 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 16:55:37 2019 -0600 Move finding perl versions from mktodo to devtools.pl This is in preparation for this calculation to be done from a second place. (cherry picked from commit 0cca64a344d7e677ed62e307aa8183fecb63f5ea) Signed-off-by: Nicolas R <[email protected]> commit d33cd6dc1cd62c47686524421d24f6efd8cde4e3 Author: Karl Williamson <[email protected]> Date: Sat Aug 24 15:05:05 2019 -0600 devel/mktodo.pl: Stop using a known bad API element This was a bug which led to some unpredicatble results due to hash key randomization. We determined that a function or macro is not suitable for a given release, but then forget that fact, and try to use it anyway. This single line change fixed a bunch of problems. As I understand, you couldn't regenerate on newer perls, and still may have had to try multiple times for success. I believe this is because of the hash key randomization in v5.18. I sort of understand how that could cause this kind of issue, but I can't explain it easily, and its gone now anyway. (cherry picked from commit 63d92fe04f63baa649f33ce9d751a6f5d58b3ce6) Signed-off-by: Nicolas R <[email protected]> commit 5b5bb2e084609b4187dde7e0f27927f06f871ad8 Author: Karl Williamson <[email protected]> Date: Sat Aug 24 15:03:20 2019 -0600 devel/mktodo.pl: Put hash lookups in variables Looked up once, and easier to read. (cherry picked from commit 04d3d1b8c41271de1940e81ae3a516e229e2e434) Signed-off-by: Nicolas R <[email protected]> commit 6fc0eb4b2b090b20ebafe086cd209e78b557fc5c Author: Karl Williamson <[email protected]> Date: Mon Jul 15 13:16:54 2019 -0600 devel/mktodo.pl: Explicitly close file I'm not sure if it was always getting closed or not. (cherry picked from commit b173ed3c45da4be559e3c5da128a9fcb9b95f27c) Signed-off-by: Nicolas R <[email protected]> commit bc24b511763dd2e6089c19a1adf7f9a65d1815d4 Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:58:44 2019 -0600 devel/mktodo.pl: Add some comments (cherry picked from commit 99f5969f6583102fb7bcf1f28e18b91324f208b7) Signed-off-by: Nicolas R <[email protected]> commit e49c33df7d0a0194b829edccb152f9fe6fff1a23 Author: Karl Williamson <[email protected]> Date: Mon Jul 15 14:25:58 2019 -0600 devel/mktodo.pl: Reorder else clauses This makes the trivial (short) case first, so it's easier to read (cherry picked from commit 9f3102880cda991067d28d7f59759bc4005f886a) Signed-off-by: Nicolas R <[email protected]> commit 0d2a81144c3e54547ec10f7577bc315985551edf Author: Karl Williamson <[email protected]> Date: Wed Jul 10 22:22:07 2019 -0600 devel/mktodo.pl: Move invariant expression out of loop (cherry picked from commit a513fe6f824d69d855753d04893a94692433a718) Signed-off-by: Nicolas R <[email protected]> commit 9251f2089dccabc78a6275b4cc921934ef53a869 Author: Karl Williamson <[email protected]> Date: Tue Jul 2 11:08:56 2019 -0600 devel/mktodo.pl: Add ability to dump generated file For use in debugging (cherry picked from commit 7dd1ddf8118d5e9d622609d393be81055d5156b9) Signed-off-by: Nicolas R <[email protected]> commit f59197b8fdbaa71c7272046f0f35dedd3aa04708 Author: Karl Williamson <[email protected]> Date: Sat Jun 29 00:32:21 2019 -0600 devel/mktodo.pl: Add comments, dump stderr if error These are some rudimentary comments. It started working before I had to delve deeper. (cherry picked from commit a70e4aafcde7761301e62b6f630d11da5788c61f) Signed-off-by: Nicolas R <[email protected]> commit c0a15b19aff1a520b85ba598f5bac4a6841a6d6a Author: Karl Williamson <[email protected]> Date: Sat Jul 13 13:06:29 2019 -0600 devel/mktodo.pl: Rename some variables These were confusingly named. (cherry picked from commit 269a0070e5633ab951c216bb706aef1250c22af5) Signed-off-by: Nicolas R <[email protected]> commit 015145620b91e1737fa1eb777fe75ba699817411 Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:47:25 2019 -0600 devel/mktodo: Add ability for multiple source dirs This allows the parameter that takes the prefix for where the perls to use are to be a comma separated list of such directory prefixes (cherry picked from commit 93a1b4370969c51dd0315cd8d3a218265800b7ed) Signed-off-by: Nicolas R <[email protected]> commit b53c2d5684d492f5f6ea9e768aeada4bfc85ad6a Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:57:55 2019 -0600 devel/mktodo: Add some comments (cherry picked from commit e00ce51fae01f6ca67ee85158d42d483ede947e2) Signed-off-by: Nicolas R <[email protected]> commit ac18778d81ff8c30bc1beea543c6f3f72f3e0ac2 Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:54:56 2019 -0600 devel/mktodo: Notify user of blead compilation issues The results will be off unless the very first time, things work. Prior to this commit that could go undetected. (cherry picked from commit 04103542d777e907b9775abf042e9a23dbed7812) Signed-off-by: Nicolas R <[email protected]> commit 604741717de689cf9e674e829f91abf3da249599 Author: Karl Williamson <[email protected]> Date: Tue Jun 25 11:41:31 2019 -0600 devel/mktodo: Fix location of old perls This had an extra layer of directory structure beyond what typical places old perls are kept. A future commit allows specifying mutiple directories on the command line, which gives full generality. (cherry picked from commit dbe3786586c45ed8ac1fca184a30924630a5dbf0) Signed-off-by: Nicolas R <[email protected]> commit 94707fc7a1dcad8d19e74d75b86b8bcc99811065 Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:44:06 2019 -0600 No longer need special handling of my_sprintf A month ago, I made a commit that had a special case for my_sprintf. It turns out if this function is marked in blead as deprecated (which has now been done), the problem doesn't come up. (cherry picked from commit 70c38e06ffec0f0c34041c0582c6456e1d70263d) Signed-off-by: Nicolas R <[email protected]> commit ad0bfa7148f644e706cc6dcae7a5a58834d5f84d Author: Karl Williamson <[email protected]> Date: Wed Aug 14 17:40:20 2019 -0600 devel/mkapidoc.sh: Add some config symbols These symbols are available to XS writers, and some are backported by this module. Only the easy to handle symbols are added by this commit, with no plans to extend this until there is a future need.. (cherry picked from commit ca3dc33a326bc91061976a259a3a3920c111d37c) Signed-off-by: Nicolas R <[email protected]> commit 4289720c9250bd29d4fa8a9df4cd35eacd290541 Author: Karl Williamson <[email protected]> Date: Mon Aug 12 22:37:44 2019 -0600 parts/inc/inctools: Add sort fcn of API lines These lines have the name be the 3rd field with separator '|' (cherry picked from commit 7f9278b13869baea6e8b01690990c71ff3ce8838) Signed-off-by: Nicolas R <[email protected]> commit 29cb021025fb453de886003f71f6de6be0d69405 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 15:00:56 2019 -0600 parts/apicheck.pl: Convert to use parse_version This function is now suitable here, instead of duplicating logic (cherry picked from commit 9a55a3a3baf52d0d53571f576f6dc69d915220eb) Signed-off-by: Nicolas R <[email protected]> commit 911af88224e08d861ffcd331c3b6babd654e886c Author: Karl Williamson <[email protected]> Date: Sat Jul 20 17:22:36 2019 -0600 parts/inc/inctools: Add fcn to return integer version This is a Perl version of the C macro PERL_BCDVERSION, so the value returned can be used as the file names in parts/base and parts/todo, and is easy to compare. (cherry picked from commit 7be255fab4621aecfe8192ea2fa2d4aa842067f4) Signed-off-by: Nicolas R <[email protected]> commit a65af1bac53bae1dddbc704ca4067dfe728d3b53 Author: Karl Williamson <[email protected]> Date: Sat Jul 20 14:52:09 2019 -0600 parts/inc/inctools: Rewrite parse_version This now accepts more input formats than before, and dies when wrong with the same messages that ppport.h uses, so that the latter can now convert to use this function. And, importantly, it fixes a bug where the lowest component of version numbers in early perls was multiplied by 10. (cherry picked from commit 38f1e0a218ae97b719e1cd048bde157d08dd3f37) Signed-off-by: Nicolas R <[email protected]> commit 4208c867671ed9dc7ede5b3f2e1972672628d260 Author: Karl Williamson <[email protected]> Date: Thu Jul 18 14:42:22 2019 -0600 parts/inc/parse_version: Call fcn to not duplicate logic Change to avoid redundant code; add comment (cherry picked from commit b02f52889c1a5d1d79cb91fd545ce9f6c454c963) Signed-off-by: Nicolas R <[email protected]> commit 55179e46293c84d79109880bff204e8ee517683e Author: Karl Williamson <[email protected]> Date: Sat Jul 20 14:12:11 2019 -0600 Sort a bunch of outputs in dictionary order Makes them easier to read (cherry picked from commit 2d3877590e755fab8a115cd49bb99953dee5d516) Signed-off-by: Nicolas R <[email protected]> commit 3976648ed8e19de80a0f47a2abe165aeff2dbe41 Author: Karl Williamson <[email protected]> Date: Thu Jul 18 14:31:56 2019 -0600 Extract duplicate common subs into common file These had gotten slightly out of sync. This file is in parts/inc, as it needs to be expanded as part of ppport.h (cherry picked from commit cfa14856d571b28a8542c3285990b105c2923d71) Signed-off-by: Nicolas R <[email protected]> commit e5b31e0cb6500390e08160e7344432c6873504c7 Author: Karl Williamson <[email protected]> Date: Wed Jul 10 17:17:51 2019 -0600 Update minimum perl version to 5.003_07 It used to say plain 5.003, but for many years the earliest data had been 5.003_07. I have tested it back to there and think this is good enough. This is actually quite early in the 5.003 cycle. If we wanted to try another 5.003, it would be more likely 5.003_97 which perlhist says was widely used, but is real close to 5.004 (cherry picked from commit 1dd8b06856003dc87de669ef8356e66eb30985f9) Signed-off-by: Nicolas R <[email protected]> commit fc6aef98f51e092c1f5912343d85fe904363efe9 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 10:43:35 2019 -0600 PPPort_pm.PL: Prototypes differing only in pTHX_ Use special wording for these, as this can be an unavoidable issue for very early perls that don't port thread context back that far. (cherry picked from commit b8a73dca70de398e16e70857f461cc88d99ac5c8) Signed-off-by: Nicolas R <[email protected]> commit aff85f084d118f0aa4410cf7270a3af178d4c6b4 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 13:19:35 2019 -0600 PPPort_pm.PL: Note the functions that are special Special meaning deprecated, experimental, or not documented (cherry picked from commit ae56cb8010ec0ad4487040218ec6f90924908eb2) Signed-off-by: Nicolas R <[email protected]> commit 43ffb552f2fd63786e18538a4970352e86e97522 Author: Karl Williamson <[email protected]> Date: Fri Jul 12 13:18:57 2019 -0600 PPPort_pm.PL: Move some includes to earlier These need to be defined earlier to work on very early perls (cherry picked from commit ed2f32accaedeed3f4b4471c831503263e65fa6a) Signed-off-by: Nicolas R <[email protected]> commit 6d0401f9c0ab725bc710d80680e94f997e01a9ae Author: Karl Williamson <[email protected]> Date: Thu Aug 8 11:51:28 2019 -0600 PPPort_pm.PL: Add/fix comments, pod (cherry picked from commit 04a21a21f6a7cbbb24e10848f5483f35be516936) Signed-off-by: Nicolas R <[email protected]> commit 9dd7e305364ec706638e8aab0d3a2b31edf88e0c Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:38:18 2019 -0600 buildperl.pl: Add pod/usage info (cherry picked from commit cc4f886f095f23621d29ae3f1a472bda71b92b12) Signed-off-by: Nicolas R <[email protected]> commit c450d836c96afe97ac1eb172055997165dd6fa35 Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:35:05 2019 -0600 buildperl.pl: Don't try to install man pages (cherry picked from commit 0a183db5b6138fcded66ba407a3d8216734d7e70) Signed-off-by: Nicolas R <[email protected]> commit be2ee45c8e99060b0b500bcbc7fc3ac0643bcf7f Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:32:29 2019 -0600 buildperl.pl: Don't die if make install returns >0 Sometimes 'make install' returns non-success even if it actually installed enough for our purposes. (cherry picked from commit c3f61c3653ab3e67676930f49fd5e16f45e3df4f) Signed-off-by: Nicolas R <[email protected]> commit 58a3bd5356bf5ad70d6d2980efa5dcd284339c5d Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:30:11 2019 -0600 buildperl.pl: Add ability to build in parallel This allows you to manually call this with a -j parameter to give the number of parallel jobs to run, default 1. (cherry picked from commit baffbaef885a245b50c5c20dc60b4dc180615433) Signed-off-by: Nicolas R <[email protected]> commit 673c041a5c4c22a5d7c340867c0e26444b90cb7a Author: Karl Williamson <[email protected]> Date: Mon Jul 8 14:36:19 2019 -0600 devtools.pl: Re-prompt if user typed wrong Previously it just waited for the user to type the right thing without prompting that it was doing so. It also prints a BEL character to notify that attention is needed. (cherry picked from commit 4b79a8599508f7ad03e4f6e8b62062f5ba989969) Signed-off-by: Nicolas R <[email protected]> commit d8db9e48b9c08e4ad4c15028b006dce229425de9 Author: Karl Williamson <[email protected]> Date: Wed Aug 14 16:42:46 2019 -0600 Handle "literal string" args Some of the macros in perl require an argument to be a literal C string, that is, one enclosed in quotation marks. This change causes trim_arg() to recognize these and return them properly, and apicheck.pl to use the passed string directly as the argument. (cherry picked from commit bc85e4126fa938abcaecadef4cbd8678da215250) Signed-off-by: Nicolas R <[email protected]> commit 73f5bd352426c03989591ea15ad0dacd0a90d253 Author: Karl Williamson <[email protected]> Date: Tue Aug 13 21:34:00 2019 -0600 parts/apicheck.pl: Special case things like _aTHX A few macros have a leading underscore to indicate a comma. This adds code to handle them. I made separate variabled for threaded and maybe non-threaded, but I don't know if the latter actually happens. (cherry picked from commit 1187530614591229d1a4f1d7b2989439b1038861) Signed-off-by: Nicolas R <[email protected]> commit b485c9d98dfa6b6298f959b98947cb226f441ac1 Author: Karl Williamson <[email protected]> Date: Tue Aug 13 21:17:58 2019 -0600 parts/apicheck.pl: Add declarations for MY_CXT testing (cherry picked from commit aed2f395177f375003a5eecdc9535ac1e22c7f93) Signed-off-by: Nicolas R <[email protected]> commit 2b007d03696379aa1a220a6b559a3121d8482f1a Author: Karl Williamson <[email protected]> Date: Tue Aug 6 15:50:56 2019 -0600 parts/apicheck.pl: Handle macros with trailing '_' The underscore represents a comma when expanded. This commit makes this program handle it. (cherry picked from commit 12c850af3cce16d98a6a316b41a6992cfe6c6bda) Signed-off-by: Nicolas R <[email protected]> commit bf10f3cf5c7a86fc32d1bd4cc1e1522b604cdbba Author: Karl Williamson <[email protected]> Date: Tue Aug 6 15:49:54 2019 -0600 parts/apicheck.pl: A couple better diagnosics (cherry picked from commit efe0e70e31d29bb9fdafee482bc4652151973f31) Signed-off-by: Nicolas R <[email protected]> commit 157650349209f91d7c1d4910a25c8c662572033a Author: Karl Williamson <[email protected]> Date: Tue Aug 6 15:47:10 2019 -0600 parts/apicheck.pl: Add special parameter name 'block' A new macro has been added to blead that has a parameter that can be a C block. This can easily be accommodated by the code in this file, if we know about how to handle it. (cherry picked from commit 2095204694d4f9df74463fc45d58b441759de865) Signed-off-by: Nicolas R <[email protected]> commit 6085326e93fce0558f6e2fddb3577660b1f7272d Author: Karl Williamson <[email protected]> Date: Wed Aug 14 13:04:14 2019 -0600 parts/apicheck.pl: Add white-space to m//x for readability And some comments to regex (cherry picked from commit a76243946786233602fab339e55b29851c3785e9) Signed-off-by: Nicolas R <[email protected]> commit 54b3baf4c6fedd231e2f4eddfb34b8d6ba1c3d2d Author: Karl Williamson <[email protected]> Date: Sun Jul 14 10:01:59 2019 -0600 parts/apicheck.pl: Silence warnings on old perls A hash element wasn't always automatically quoted: {foo} warned, {'foo'} doesn't. (cherry picked from commit 2a1fab422eb86442cc09296f3fe03d027e9c7254) Signed-off-by: Nicolas R <[email protected]> commit e27fc48958c16125f6be3ece47e00861b75e5f39 Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:52:45 2019 -0600 parts/apicheck.pl: Add a few comments; white-space (cherry picked from commit fc50937fba868cf630ba6ccedd83d88a307ea81f) Signed-off-by: Nicolas R <[email protected]> commit d02cf1d1576817dd67debda05f26ed3d0d606bcb Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:49:25 2019 -0600 parts/apicheck.pl: Ignore some hard-to-handle functions These are hard to get to work, so punt. (cherry picked from commit 5e34d4c395ed0f10bae66d83e8ac0ab5264197bd) Signed-off-by: Nicolas R <[email protected]> commit eae22b18637930b8774d6576a1577d721b02f18d Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:48:39 2019 -0600 parts/apicheck.pl: BOOTCHECK needs some declarations to compile (cherry picked from commit 5490382d8d66af8e7a06103b6fc74baa90c6c7d0) Signed-off-by: Nicolas R <[email protected]> commit cfc3b033779b70f1386ede265d8200e03b52506c Author: Karl Williamson <[email protected]> Date: Tue Jul 2 10:46:18 2019 -0600 parts/apicheck.pl: MULTICALL needs declarations to compile ... 21888 lines suppressed ... -- Perl5 Master Repository
