summaryrefslogtreecommitdiff
path: root/Build/source/texk/web2c/ChangeLog
AgeCommit message (Collapse)Author
2024-04-28avoid off64_t error with zziplib in luazipKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71105 c570f23f-e606-0410-a88d-b1316a301751
2024-04-21AC_USE_SYSTEM_EXTENSIONS unconditionallyKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@71024 c570f23f-e606-0410-a88d-b1316a301751
2024-04-18AC_USE_SYSTEM_EXTENSIONS if compiling luatex, required for socket supportKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@70985 c570f23f-e606-0410-a88d-b1316a301751
2024-04-14eptex: Remove web2c/eptexdirTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@70943 c570f23f-e606-0410-a88d-b1316a301751
2024-03-24\aftergroup \output routine fix from DRFKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@70752 c570f23f-e606-0410-a88d-b1316a301751
2024-03-10tl24 release date 2024-03-10Karl Berry
git-svn-id: svn://tug.org/texlive/trunk@70573 c570f23f-e606-0410-a88d-b1316a301751
2024-03-10[CWEB] Add option '-F' for CWEAVE/CTWILL.Andreas Scherer
This alternative layout places the first line of a 'compound statement', a.k.a. 'block', next to the opening curly brace. Control statements like 'if', 'for', 'while', or 'switch' still appear on a new line, in order to preserve visual control flow. git-svn-id: svn://tug.org/texlive/trunk@70550 c570f23f-e606-0410-a88d-b1316a301751
2024-02-28apply unbalanced-braces.ch for [eu]ptexAkira Kakuto
git-svn-id: svn://tug.org/texlive/trunk@70222 c570f23f-e606-0410-a88d-b1316a301751
2024-02-26avoid crashing on devious uses of \output and write braces, from DRF (pdftex ↵Karl Berry
and xetex only) git-svn-id: svn://tug.org/texlive/trunk@70173 c570f23f-e606-0410-a88d-b1316a301751
2024-02-25tiny inner-loop optimization from DRFKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@70150 c570f23f-e606-0410-a88d-b1316a301751
2024-02-202024 man page, news, manual updatesKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@70015 c570f23f-e606-0410-a88d-b1316a301751
2024-02-11install twill-refsortKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@69811 c570f23f-e606-0410-a88d-b1316a301751
2024-02-01mpfi integration into mpost from luigiKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@69664 c570f23f-e606-0410-a88d-b1316a301751
2024-02-01ptexenc: Add a new simple encoding conversion utility "ptekf"Takuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@69656 c570f23f-e606-0410-a88d-b1316a301751
2023-12-24{pdf,xe,ep,eup}tex: Avoid errors on parallel test processingTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@69208 c570f23f-e606-0410-a88d-b1316a301751
2023-12-23eptex: do not build by default, use alias of euptexTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@69202 c570f23f-e606-0410-a88d-b1316a301751
2023-12-02[CWEB] New release 4.11.Andreas Scherer
This commit rounds up the line of changes for CWEB 4.11. Major changes since CWEB 4.10: * Factor out 'cwebacromac.tex' with hypertext macros * Support for LuaTeX as backend engine * Consistent formatting of terminal output in error situations * Suppress reference to 'l. 0' in error messages * Updates in 'cwebman.tex' git-svn-id: svn://tug.org/texlive/trunk@69017 c570f23f-e606-0410-a88d-b1316a301751
2023-11-24pdftex, {,e}uptex: Add test for file names with over-BMPTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@68953 c570f23f-e606-0410-a88d-b1316a301751
2023-11-20relax zlib check to just major version, following debianKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@68922 c570f23f-e606-0410-a88d-b1316a301751
2023-11-19improve fmt/base corruption checks, from DRFKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@68900 c570f23f-e606-0410-a88d-b1316a301751
2023-11-18[CWEB] Use zero-initialisation.Andreas Scherer
This trick works, because 'ignore' and 'NULL' are in fact '0'. git-svn-id: svn://tug.org/texlive/trunk@68894 c570f23f-e606-0410-a88d-b1316a301751
2023-11-15check for more corruption in fmt/baseKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@68865 c570f23f-e606-0410-a88d-b1316a301751
2023-10-27Revert "[WEB] Make TWILL handle 'sixteen_bits'."Andreas Scherer
This reverts commit ff4772477dd6ae9589dcfe78e0011c9210d01b4b. Now the parameter conversion in 'out_const' from 'n:sixteen_bits' to 'a:integer' (and later 'if a>=65536') breaks 'last_sign:-1..+1' in any '\mini' index (in TANGLE.TEX). Most likely, TANGLE.WEB never was formatted with TWILL. Better to replace '\none' in TANGLE.TEX with '$0\to65535$' than to possibly break other codes. git-svn-id: svn://tug.org/texlive/trunk@68673 c570f23f-e606-0410-a88d-b1316a301751
2023-10-27[WEB] Make TWILL handle 'sixteen_bits'.Andreas Scherer
For whatever reason, TWILL 2.9/4.5 could not handle the 'sixteen_bits' type used all over the place. (Well, apart from WEB itself, only in dvicopy.web and in mft.web!) git-svn-id: svn://tug.org/texlive/trunk@68670 c570f23f-e606-0410-a88d-b1316a301751
2023-10-25[WEB] Fine print for command-line options.Andreas Scherer
WEAVE.CH seems to be the only place where cli options are mentioned in any TeX part. git-svn-id: svn://tug.org/texlive/trunk@68644 c570f23f-e606-0410-a88d-b1316a301751
2023-10-21[WEB] 'current_option' runs from '0..n_options'.Andreas Scherer
See almost any other WEB change file. git-svn-id: svn://tug.org/texlive/trunk@68606 c570f23f-e606-0410-a88d-b1316a301751
2023-10-13[WEB] Add option '-p' to '\input pwebmac'.Andreas Scherer
Invoke 'weave -p' and the first line in the TeX output file will be '\input pwebmac'. These alternative macros are more suited for the creation of PDF output with 'tex "\let\pdf+ \input cob.tex' followed by 'dvipdfm cob' or with modern TeX engines like pdfTeX, LuaTeX, or XeTeX. git-svn-id: svn://tug.org/texlive/trunk@68528 c570f23f-e606-0410-a88d-b1316a301751
2023-10-10support new envvar TEXMF_OUTPUT_DIRECTORYKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@68508 c570f23f-e606-0410-a88d-b1316a301751
2023-10-09typoKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@68490 c570f23f-e606-0410-a88d-b1316a301751
2023-09-24[CWEB] Avoid shadow variables.Andreas Scherer
There are far too many single-character variables around. Sigh! (See also https://github.com/ascherer/mmix/commit/ed0c894d09df3b35479fdd18c8f5564f0b8bf691 for a similar situation in MMIX, where such global (sic!) variables weren't even put in the index across module borders.) git-svn-id: svn://tug.org/texlive/trunk@68358 c570f23f-e606-0410-a88d-b1316a301751
2023-09-17web2c: Make easier to test on WindowsTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@68304 c570f23f-e606-0410-a88d-b1316a301751
2023-09-04[WEB] Fix typo in TANGLE as in WEAVE.Andreas Scherer
Bug report https://tug.org/pipermail/tex-k/2021-June/003571.html git-svn-id: svn://tug.org/texlive/trunk@68168 c570f23f-e606-0410-a88d-b1316a301751
2023-09-03web2c: Make easier to test on WindowsTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@68157 c570f23f-e606-0410-a88d-b1316a301751
2023-08-20bibtex: Make easier to test on WindowsTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@67993 c570f23f-e606-0410-a88d-b1316a301751
2023-08-20{,e}{,u}ptex: Make easier to test on WindowsTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@67990 c570f23f-e606-0410-a88d-b1316a301751
2023-08-19triptest.test: Filter Web2C year in bannerTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@67980 c570f23f-e606-0410-a88d-b1316a301751
2023-08-19[CWEB] New release 4.10.Andreas Scherer
This is a major update for CWEB 4.9 from May 2023. The base package received fixes, internal changes, and significant revisions: Fixes: * Fix issue #43: 'out_buf' overflow on malign user input - Handle border case from bug report - Discard rest of input lines exceeding 'buf_size' characters - Purge 'ungetc' from the TeX part as well * Fix typo in 'examples/wordtest.w' (reported by DEK) * 'Ilk' is of type 'eight_bits' * Avoid over-/underflow of section depth with malicious user input Internal changes: * Unroll 'init_p' helper function in COMMON - it is used for CWEAVE only (and CTWILL downstream) * Match 'common.w' and 'common.h' - Reshuffle declarations and some code sections - Add starred section titles * Demote all starred sections in 'common.w' (single star) * Code cleanup - Make 'pop_level' a simple macro in CWEAVE - Use structure assignment (as in CTANGLE) - More compact 'stack' handling - Make use of type 'mode' - Purge a few 'goto' statements (and add some others) - Replace some 'sprintf' with 'snprintf' - Syntactic sugar for functional macros - Straighten 'byte_start' arithmetic - Desolve former section 19 of CWEAVE with internal array sizes - Hide 'print_text' analytics function from C compiler with DEBUG - Streamline 'phase_two' of CTANGLE - Refurbish 'phase_three' of CWEAVE * Insert blank line after '\ch' in TeX output (cf. CWEB 3.0) Macro changes * Cleanup some '\acro' macros in 'cwebmac.tex' Also the CWEBbin package received updates and amendments: Preparation: * Fix a bug in 'twinxmac.tex' (3rd patch file applied in 'cwebbin.spec') * Apply a 5th patch file to adapt CTWILL macros to CWEB 4.9/4.10 Special formatting: * Format 'common.w' with CTWILL using 'comm-mini.ch' * Format 'ctwill.w' with HiTeX using 'proofmac.tex' and 'ctwill-hint.ch' * New 'pdfproofmac.tex' for use with HiTeX and pdfTeX and XeTeX - pdfctwimac.tex will no longer work with HiTeX * Add 'proofsort' script in addition to 'refsort' program * Minor improvements in all pdf macros TeX Live: * CTWILL in TeX Live uses 'kpse_find_file' to look up 'bux' files * Slightly extend arrays in 'ctwill' and 'refsort' for TeX Live * Max out 'max_refs' for CWEAVE/CTWILL * Add 'ctwill.test' for TeX Live Revise formatted sources: * e.g., 'twinx' * 'ctwill' in all its incarnations git-svn-id: svn://tug.org/texlive/trunk@67978 c570f23f-e606-0410-a88d-b1316a301751
2023-07-28[CWEB] Format 'common' with 'ctwill'.Andreas Scherer
$ ctie -m common-twill.w common.w comm-{w2c,mini}.ch $ mv common-twill.w common.w $ ctwill -f -lpdf common (twice) $ pdftex common $ ctwill-refsort < common.ref > common.sref $ pdftex common TODO: Study the application of 'ctwill-twinx' and create a general index for COMMON and CTWILL. git-svn-id: svn://tug.org/texlive/trunk@67749 c570f23f-e606-0410-a88d-b1316a301751
2023-07-26[CWEB] Purge 'init_p'.Andreas Scherer
This helper function had a non-trivial implementation in CWEAVE only. The extra stuff for CTWILL is moved to 'init_node' with special provisions for the 'name_dir' pointer. git-svn-id: svn://tug.org/texlive/trunk@67734 c570f23f-e606-0410-a88d-b1316a301751
2023-07-21[CWEB] Match common.w with common.h.Andreas Scherer
git-svn-id: svn://tug.org/texlive/trunk@67688 c570f23f-e606-0410-a88d-b1316a301751
2023-07-18[CWEB] Discard rest of overfull input lines.Andreas Scherer
In the context of the recent bug fix, I noticed that CWEAVE produced significantly different output than WEAVE from my test case for overfull lines, which -- in part -- had to be broken. Although I am aware that Silvio Levy changed CWEAVE's behaviour already in CWEB 0.5 (1987), I apply this new change in order to revert to DEK's idea in WEAVE. Now the resulting TeX output has correctly placed comment markers at the beginning of the broken lines. (To date, CWEAVE issued material beyond 'buf_size' in overfull lines without such '%' markers.) Of course, the resulting TeX output might not be processed as expected because of the discarded material beyond 'buf_size', but the user has been warned accordingly. :o). git-svn-id: svn://tug.org/texlive/trunk@67662 c570f23f-e606-0410-a88d-b1316a301751
2023-07-17[C/WEB] Deal with malign user input.Andreas Scherer
'break_out' and 'flush_buffer' were tricked into putting an extremely long TeX macro (longer than 'line_length', i.e., 80 chars) into 'out_buf', which overflowed. This, of course, would wreak havoc, both in the TeX output and in the runtime system. See https://tug.org/pipermail/tex-live/2023-July/049306.htm for the initial bug report. git-svn-id: svn://tug.org/texlive/trunk@67656 c570f23f-e606-0410-a88d-b1316a301751
2023-07-09[CWEB] Don't create index/section file names.Andreas Scherer
Make section 79 more symmetric with respect to 'dot_pos==NULL'. In any case no index/section file names are created if option '-x' is used. git-svn-id: svn://tug.org/texlive/trunk@67589 c570f23f-e606-0410-a88d-b1316a301751
2023-06-20[CWEB] Use 'kpse_find_file' for '*.bux' files.Andreas Scherer
In addition to '*.aux' files that CTWILL creates dynamically on the first run ("Prime the pump"), it uses several '*.bux' files to resolve external definitions, e.g., in other CWEB modules or in system headers. The '*.aux' file(s) are always created in the "current" directory, but the auxiliary '*.bux' file(s) can reside elsewhere in the file system. Just like other '@i'nclude files, these '*.bux' files can be addressed through the CWEBINPUTS environment variable. git-svn-id: svn://tug.org/texlive/trunk@67416 c570f23f-e606-0410-a88d-b1316a301751
2023-06-18install ctwill-proofsort; script tweaks; exit ctwill.test without running TeXKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@67398 c570f23f-e606-0410-a88d-b1316a301751
2023-06-17[CWEB] Run ctwill.test.Andreas Scherer
Recreate Makefile.in by running reautoconf. Adjust ctwill.tex until all tests succeed. Adjust ctwill.tex to plain TeX; it complains about the \ifx construct. git-svn-id: svn://tug.org/texlive/trunk@67390 c570f23f-e606-0410-a88d-b1316a301751
2023-03-29(e)(u)ptex: skip tests for Shift_JIS/EUC-JP if conversion failedTakuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@66702 c570f23f-e606-0410-a88d-b1316a301751
2023-02-14pdftex,xetex,(e)(u)ptex: Avoid errors on parallel tests (H.Kitagawa)Takuji Tanaka
git-svn-id: svn://tug.org/texlive/trunk@65831 c570f23f-e606-0410-a88d-b1316a301751
2023-02-13move "\special shipout" change to enctex-pdftex.ch, so it is not applied to texKarl Berry
git-svn-id: svn://tug.org/texlive/trunk@65813 c570f23f-e606-0410-a88d-b1316a301751
2023-02-12propagate enctex \special changes to the new \special shipout, thus avoiding ↵Karl Berry
a (valid) compiler warning about assigning |write_stream(tail):=null| git-svn-id: svn://tug.org/texlive/trunk@65806 c570f23f-e606-0410-a88d-b1316a301751