summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/cwebboot.cin
AgeCommit message (Collapse)Author
2022-03-10[CWEB] Another 'fall thru' comment.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@62586 c570f23f-e606-0410-a88d-b1316a301751
2022-02-18[CWEB] Avoid preprocessor calamities.Andreas Scherer
Trying to fix all loopholes in weird stuff like https://github.com/ascherer/cweb/blob/cweb-4.8-dev/if.w by repeating '#line' directives after all '#elif', '#else', and '#endif' preprocessor statements. In almost all cases this information is redundant, but in the past years people have come up with the idea to jump to '@<code sections@>' in '#if' blocks. git-svn-id: svn://tug.org/texlive/trunk@62066 c570f23f-e606-0410-a88d-b1316a301751
2022-02-15[CWEB] Rebuild the CWEB boot sources.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@62035 c570f23f-e606-0410-a88d-b1316a301751
2021-12-26[CWEB] New release 4.6.Andreas Scherer
Major changes since CWEB 4.5: * Restore '\T' macro backward compatibility. CWEB 4.3 introduced a major change in the '\T' macro to allow C++ 'hex exponent' notation (e.g., 0x1FFFFp10). This made CWEAVE/CTWILL mutually incompatible with non-matching versions of their set of macros and v.v. This release tries to reestablish the standard behavior at least for numeric constants. Of course, 'old' CWEAVE/CTWILL won't deliver on 'hex exponents' in the CWEB input, but those should be rare anyway. * Restore 'classic' PDF page dimensions. Heiko's PDF files of 2014 used 'Executive' page dimensions, i.e., 7.5in times 10in. C/WEB's internal inch values suggest to use those plus a 0.5in border on each side. * Revert meaning of option 'c'. Option 'c' is OFF by default to avoid spurious entries in build.log. * 'squash'/'reduce' have been straightened out for k=1,..,4. * Code beautifications for 'make fullmanual'. * Code cleanup for internal reasons. * Cleanup in 'prod.w' (indentation et al.). * New 'prod-cweave.w' (along 'prod-twill.w') for material from CWEBbin. * Fixes for option '-o' (didn't work as advertised in border cases). * New signature for the 'make_ministring' function in CTWILL. git-svn-id: svn://tug.org/texlive/trunk@61411 c570f23f-e606-0410-a88d-b1316a301751
2021-11-14[CWEB] More generic point of interest.Andreas Scherer
Instead of to the tex-k mail address, we direct the CWEB user to the package home page on CTAN, where more detailed information is listed. git-svn-id: svn://tug.org/texlive/trunk@61053 c570f23f-e606-0410-a88d-b1316a301751
2021-10-11[CWEB] Pre-release candidate 2 for CWEB 4.6.Andreas Scherer
When the CWEB programs are called with option '-c' (the default), no intermediate output files are created at all. After thoroughly testing these programs, I'll prepare the final release of CWEB 4.6 in the coming weeks (months). git-svn-id: svn://tug.org/texlive/trunk@60728 c570f23f-e606-0410-a88d-b1316a301751
2021-09-16[CWEB] Pre-release of version 4.6.Andreas Scherer
This is a service update due to general demand: * Option 'c' is OFF by default to avoid spurious entries in build.log. * 'squash'/'reduce' have been straightened out for k=1,..,4. * Code beautifications for 'make fullmanual'. * Code cleanup for internal reasons. * Cleanup in 'prod.w' (indentation et al.). * New 'prod-cweave.w' (along 'prod-twill.w') for material from CWEBbin. * Fixes for option '-o' (didn't work as advertised in border cases). * New signature for the 'make_ministring' function in CTWILL. git-svn-id: svn://tug.org/texlive/trunk@60519 c570f23f-e606-0410-a88d-b1316a301751
2021-07-14[CWEB] New release 4.5.Andreas Scherer
This is a service release for CWEB 4.0. * Upstream CWEB 4.5 was reviewed with the 'splint' utility. This resulted in lots of cast changes and a few code improvements. * All 'length' variables are retyped to 'size_t'. * <stdbool.h> is replaced by <kpathsea/simpletypes.h> to keep CWEB compatible with antique systems that still support TeX Live. git-svn-id: svn://tug.org/texlive/trunk@59926 c570f23f-e606-0410-a88d-b1316a301751
2021-06-06[CWEB] New release 4.4.Andreas Scherer
This is yet another service release for CWEB 4.0. * Upstream CWEB 4.4 has been reset to the original buffer sizes of CWEB 3.64c. These are now also used in stand-alone CWEBbin. CWEB for TeX Live uses extended/maxed-out buffer settings. * A few minor typographical bugs were fixed. * Tons of minutiae were addressed in the 'fullmanual' documents. git-svn-id: svn://tug.org/texlive/trunk@59486 c570f23f-e606-0410-a88d-b1316a301751
2021-05-03[CWEB] New release 4.3.1.Andreas Scherer
This release is almost the same as CWEB 4.3 of 2021-04-16, but * it fixes the indexing bug in CWEAVE/CTWILL that got retracted * it extracts and collects all additions made in CTWILL, so that the section numbers of CWEAVE are retained up to §272 and new material is described in the (first) appendix, including the CTWILL user manual * it provides fully revised and (hopefully) corrected mini-indexes for CTWILL, if it is processed by itself (to be published in package 'knuth-pdf' on CTAN) git-svn-id: svn://tug.org/texlive/trunk@59061 c570f23f-e606-0410-a88d-b1316a301751
2021-05-02Revert "[CWEB] New release 4.3."Andreas Scherer
This reverts commit 3ccac2a7d0f4a19dde861c6f4c178e853d90f0cc. CWEB 4.3 is seriously broken. git-svn-id: svn://tug.org/texlive/trunk@59048 c570f23f-e606-0410-a88d-b1316a301751
2021-04-16[CWEB] New release 4.3.Andreas Scherer
This release introduces new features to CWEB 4: * Former option '-t' is now called '-c'. - New option '-t' for CWEAVE when dealing with 'typename' in C++ templates. - New option '-k' for CTANGLE to keep '-separators in numeric literals. * Support for "variadic macros" along "variadic functions". * @d is printed similar to #define (and vice versa): - '#' is no longer printed in boldface. - Spacing is similar in most cases. * Support for extended C99/C++ numeric literals: - hexadecimal, octal, and -- new! -- binary numbers. - NOTE: 'cwebmac.tex 4.3' is NOT compatible with CWEAVE 4.2 and older and vice versa. * Long parameter lists in ANSI function definitions are indented similar to old-style function parameters. - Option '-i' works similar for old-style and modern function headers. * Additional C99/C++ keywords -- from 'alignas' to 'thread_local' -- are supported internally. * '@i'nclude file 'iso_types.w' for numeric types (in addition to 'c++lib.w'). * Countless code modifications, including some corrections amd improvements. Thanks and cudos to Github user "@texdraft" for numerous contributions to this feature release! git-svn-id: svn://tug.org/texlive/trunk@58884 c570f23f-e606-0410-a88d-b1316a301751
2021-02-25restore Build,TODO from r57911Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@57915 c570f23f-e606-0410-a88d-b1316a301751
2021-02-25French translation for tlmgr updatedDenis Bitouzé
git-svn-id: svn://tug.org/texlive/trunk@57912 c570f23f-e606-0410-a88d-b1316a301751
2021-02-24[CWEB] Code review.Andreas Scherer
Compactify single function declarations. git-svn-id: svn://tug.org/texlive/trunk@57874 c570f23f-e606-0410-a88d-b1316a301751
2021-02-24[CWEB] Fine print for single '@' characters in TeX text.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@57870 c570f23f-e606-0410-a88d-b1316a301751
2021-02-22[CWEB] Code review.Andreas Scherer
* Decouple CTANGLE and CWEAVE from COMMON by using 'static' variables. * Reshuffle variable declarations in 'common.h' to match the definitions in 'common.w'. * Eliminate some unused stuff in CTWILL. git-svn-id: svn://tug.org/texlive/trunk@57841 c570f23f-e606-0410-a88d-b1316a301751
2021-02-20[CWEB] New release 4.1.Andreas Scherer
Enough changes have accumulated since the major release of CWEB 4.0 to warrant a new revision number. git-svn-id: svn://tug.org/texlive/trunk@57806 c570f23f-e606-0410-a88d-b1316a301751
2021-02-19[CWEB] Replace 'boolean' values in 'fullmanual'.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@57796 c570f23f-e606-0410-a88d-b1316a301751
2021-02-19[CWEB] Replace 'boolean' values upstream.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@57795 c570f23f-e606-0410-a88d-b1316a301751
2021-02-16[CWEB] Reshuffle byte_mem pointer.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@57763 c570f23f-e606-0410-a88d-b1316a301751
2021-02-08[CWEB] Don't repeat yourself.Andreas Scherer
Purge repeated lines in *.w by uncommenting line in common.h. Unfortunately, this shifts all #line numbers. ;o) git-svn-id: svn://tug.org/texlive/trunk@57676 c570f23f-e606-0410-a88d-b1316a301751
2021-02-07CWEB development has moved to another level.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@57661 c570f23f-e606-0410-a88d-b1316a301751
2021-02-07CWEB – release 4.0, 2021-02-07.Andreas Scherer
In the course of the "2021 TeX tuneup", Don Knuth kindly transferred the responsibility for CWEB to me; see the original CWEB home page (https://www-cs-faculty.stanford.edu/~knuth/cweb.html), section "CWEB 4.0" and the updated CWEB development project (https://github.com/ascherer/cweb). This first new release draws heavily on the multi-decade work collected in my "CWEBbin" project (https://github.com/ascherer/cwebbin). I moved (almost) all stuff from the "*-patch.*" changefiles into the new CWEB sources and applied all of the "*-ansi.*" changes as well. Moreover, I made "common.h" the full interface of "common.w" in order to avoid code redundancy. And I tried to fix as many of the bugs reported by email to DEK and/or tex-k@tug.org. In total, "make; make cautiously; make fullmanual" runs flawlessly with GCC on Linux and with LLVM on MacOS. After the release of "CWEB 4.0", also "CWEBbin 2021" has also been fully revised. Thousands of lines of changefiles could be purged. What's left are the clearcut extensions for CWEB and the additional stuff for integration in "TeX Live 2021". git-svn-id: svn://tug.org/texlive/trunk@57658 c570f23f-e606-0410-a88d-b1316a301751
2020-07-30[CWEB] Fix typographic inconsistency.Andreas Scherer
'Extensions' was the only major section with the 'header' separated from the first text paragraph. git-svn-id: svn://tug.org/texlive/trunk@55993 c570f23f-e606-0410-a88d-b1316a301751
2020-07-15[CWEB] Clearer exposition re external type definitions.Andreas Scherer
A few underlined index entries added and one index entry removed. git-svn-id: svn://tug.org/texlive/trunk@55841 c570f23f-e606-0410-a88d-b1316a301751
2020-07-08[CWEB] Add '-dN' to 'help' message and in 'cwebman.pdf'.Andreas Scherer
See section 92 of 'common-changes.pdf' created with 'comm-w2c.ch'. git-svn-id: svn://tug.org/texlive/trunk@55782 c570f23f-e606-0410-a88d-b1316a301751
2020-06-20[CWEB] Clarify triple responsibility of COMMON.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@55603 c570f23f-e606-0410-a88d-b1316a301751
2020-06-07[CWEB] Add date to table-of-contents page.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@55465 c570f23f-e606-0410-a88d-b1316a301751
2020-06-07[CWEB] Check accessibility to designated output files.Andreas Scherer
Increase 'stack_size' along 'max_scraps'. git-svn-id: svn://tug.org/texlive/trunk@55463 c570f23f-e606-0410-a88d-b1316a301751
2020-06-06[CWEB] Add index entries for the CWEBINPUTS envvar.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@55433 c570f23f-e606-0410-a88d-b1316a301751
2020-06-05[CWEB] Fix newline blunder in case of error.Andreas Scherer
A post on the tex-k list (see https://tug.org/pipermail/tex-k/2020-Jun/003198.html) revealed a bug in the 'common' code: Trying to avoid an empty line in a normal run with option '-p' ("show no progress messages") suppressed a necessary newline in an faulty run. git-svn-id: svn://tug.org/texlive/trunk@55422 c570f23f-e606-0410-a88d-b1316a301751
2020-04-29[CWEB] Purge irrelevant mention of .web extension.Andreas Scherer
CWEB in TeX Live appends only '.w' to source files on the command-line, not the Pascal-oriented '.web'. git-svn-id: svn://tug.org/texlive/trunk@54934 c570f23f-e606-0410-a88d-b1316a301751
2020-04-28[CWEB] Purge standard interface of common.w.Andreas Scherer
<kpathsea/kpathsea.h> #include's a large set of standard C header files. With some CWEB magic, redundant inclusion is greatly reduced---just for fun and education. Note that neither ctangle.w nor cweave.w can be treated in a similar fashion, because they do not include the KPathSea interface, not even through comm-w2c.h. git-svn-id: svn://tug.org/texlive/trunk@54920 c570f23f-e606-0410-a88d-b1316a301751
2020-04-27[CWEB] Purge duplicate typedef.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@54906 c570f23f-e606-0410-a88d-b1316a301751
2020-04-27[CWEB] Reshuffle typedef's in COMMON.Andreas Scherer
'eight_bits' is already used in §7 of COMMON. Moving this typedef (and sixteen_bits) up-front fixes the formatting of that section. Also, this makes §2 of COMMON similar to $5 of CTANGLE and CWEAVE. git-svn-id: svn://tug.org/texlive/trunk@54905 c570f23f-e606-0410-a88d-b1316a301751
2020-04-27[CWEB] Use enum'erated program identifiers.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@54904 c570f23f-e606-0410-a88d-b1316a301751
2020-04-11Externalize common variables.Andreas Scherer
Four variables from 'common.h' are made 'extern' by moving them to 'common.w' (via 'comm-w2c.ch' and 'comm-w2c.h'). git-svn-id: svn://tug.org/texlive/trunk@54649 c570f23f-e606-0410-a88d-b1316a301751
2020-04-10[CWEB] Add new command-line option '-t'.Andreas Scherer
If disabled with '-t', the temporary output is ignored unconditionally and the final output is (re-)created irrespective of changes between runs. (Default is '+t' for CWEB={ctangle,cweave,ctwill}.) git-svn-id: svn://tug.org/texlive/trunk@54639 c570f23f-e606-0410-a88d-b1316a301751
2019-11-27Prepare CWEB for 2020 release.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@52938 c570f23f-e606-0410-a88d-b1316a301751
2019-05-29Rebuild boot modules after recent changes.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@51259 c570f23f-e606-0410-a88d-b1316a301751
2019-01-21Don't set locale without t10n.Andreas Scherer
MinGW32 in particular and MS Windows in general do not have the LC_MESSAGES facet for i18n. We could squash the facets to LC_ALL, but that is just too much for our purposes. Windows maintainers will have to come up with a more specific solution if they want to activate the gettext stuff. git-svn-id: svn://tug.org/texlive/trunk@49779 c570f23f-e606-0410-a88d-b1316a301751
2019-01-20Use brace notation for variable expansion.Andreas Scherer
After clarification of the differences between "$VAR" and "${VAR}" as arguments for 'kpse_var_expand', we can eliminate the macro variable that was used to avoid any misspelling. DRY is even better. Maybe the two extra lines will come handy later. This way the 'cweb-tl' catalog doesn't have to be touched for re-referencing. git-svn-id: svn://tug.org/texlive/trunk@49768 c570f23f-e606-0410-a88d-b1316a301751
2019-01-19Adapt the 'common' module to the new TL setting.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@49758 c570f23f-e606-0410-a88d-b1316a301751
2019-01-19Extended description for NLS activation.Andreas Scherer
Note to maintainers about how to compile the CWEB sources and configure NLS catalogs in the TDS along personal experiments. git-svn-id: svn://tug.org/texlive/trunk@49756 c570f23f-e606-0410-a88d-b1316a301751
2019-01-17TeX Live banner lines come from cweb-tl.pot.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@49737 c570f23f-e606-0410-a88d-b1316a301751
2019-01-16Corrections in comm-w2c.ch.Andreas Scherer
Initial experiments with 'HAVE_GETTEXT' show that 'kpse_var_expand' returns the expansion of '$SELFAUTOLOC' correctly, but returns the yet to be defined '$TEXMFLOCALEFILES' AS IS (and not, as advertised in 'texk/kpathsea/variable.h', the empty string, nor the originally assumed NULL pointer). 'strcmp'aring the string returned from 'kpse_var_expand' to the configuration variable works as expected. Secondly, the numeric part after flag '-d/+d' is skipped and not interpreted as flags, i.e., we do not set numeric flags '2' and '3' from command line option '+d32'. git-svn-id: svn://tug.org/texlive/trunk@49726 c570f23f-e606-0410-a88d-b1316a301751
2019-01-15Try to locate NLS catalogs in the TDS.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@49711 c570f23f-e606-0410-a88d-b1316a301751
2019-01-09cweb help msg update from andreasKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@49655 c570f23f-e606-0410-a88d-b1316a301751
2019-01-06cwebbin for cweb, from Andreas Scherer https://github.com/ascherer/cwebbin)Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@49626 c570f23f-e606-0410-a88d-b1316a301751