[latex3-commits] [git/LaTeX3-latex3-latex2e] gh479: Step file versions and add \changes entries (600cfb90)

PhelypeOleinik phelype.oleinik at latex-project.org
Fri Mar 19 02:33:42 CET 2021


Repository : https://github.com/latex3/latex2e
On branch  : gh479
Link       : https://github.com/latex3/latex2e/commit/600cfb9006be049f06ab97fbba9ec5a2ea430325

>---------------------------------------------------------------

commit 600cfb9006be049f06ab97fbba9ec5a2ea430325
Author: PhelypeOleinik <phelype.oleinik at latex-project.org>
Date:   Thu Mar 18 22:33:42 2021 -0300

    Step file versions and add \changes entries


>---------------------------------------------------------------

600cfb9006be049f06ab97fbba9ec5a2ea430325
 base/ltcmd.dtx      | 10 ++++++----
 base/ltfilehook.dtx |  5 ++++-
 base/lthooks.dtx    | 14 ++++++++------
 base/ltvers.dtx     |  6 +++---
 4 files changed, 21 insertions(+), 14 deletions(-)

diff --git a/base/ltcmd.dtx b/base/ltcmd.dtx
index 34eadb36..970181d1 100644
--- a/base/ltcmd.dtx
+++ b/base/ltcmd.dtx
@@ -34,14 +34,15 @@
 %%% From File: ltcmd.dtx
 %
 %    \begin{macrocode}
-\def\ltcmdversion{v1.0a}
-\def\ltcmddate{2021/01/21}
+\def\ltcmdversion{v1.0b}
+\def\ltcmddate{2021-03-18}
 %    \end{macrocode}
 %
 %<*driver>
 % \fi
 \ProvidesFile{ltcmd.dtx}
-  [2020-11-20 v1.0 LaTeX Kernel (Document commands)]
+  [\ltcmddate\space \ltcmdversion\space
+   LaTeX Kernel (Document commands)]
 % \iffalse
 \documentclass{l3doc}
 \GetFileInfo{ltcmd.dtx}
@@ -57,7 +58,7 @@
 %
 % \section{Creating document commands}
 %
-% \changes{v1.0}{2020-11-20}{Initial version derived from \texttt{xparse.dtx}}
+% \changes{v1.0a}{2020/11/20}{Initial version derived from \texttt{xparse.dtx}}
 %
 % Document commands should be created using the tools provided by this module:
 % \cs{NewDocumentCommand}, etc.\@, in almost all cases. This allows clean
@@ -78,6 +79,7 @@
 %</2ekernel>
 %    \end{macrocode}
 %
+% \changes{v1.0b}{2021/03/18}{Use \cs{NewModuleRelease}.}
 % \pkg{ltcmd} code contains an |^^@| character, which usually has
 % catcode~15, so \cs{IncludeInRelease} will break when this code is
 % being skipped, so we'll save the catcode of |^^@| to restore later:
diff --git a/base/ltfilehook.dtx b/base/ltfilehook.dtx
index 2c2921d2..852a7ce4 100644
--- a/base/ltfilehook.dtx
+++ b/base/ltfilehook.dtx
@@ -32,7 +32,7 @@
 %
 %    \begin{macrocode}
 \providecommand\ltfilehookversion{v1.0h}
-\providecommand\ltfilehookdate{2021/03/10}
+\providecommand\ltfilehookdate{2021/03/18}
 %    \end{macrocode}
 %
 %<*driver>
@@ -585,6 +585,9 @@
 %   places don't use \cs{InputIfFileExists} directly (\cs{include}) or
 %   need \cs{CurrentFile} earlier (\cs{@onefilewithoptions}), so these
 %   are manually used elsewhere as well.
+%   \changes{v1.0h}{2021/03/18}
+%           {Define \cs{g_@@_input_file_seq} to avoid losing data when
+%            rolling back.}
 %    \begin{macrocode}
 \tl_new:N \l_@@_internal_tl
 \seq_if_exist:NF \g_@@_input_file_seq
diff --git a/base/lthooks.dtx b/base/lthooks.dtx
index 16614e0b..3514964d 100644
--- a/base/lthooks.dtx
+++ b/base/lthooks.dtx
@@ -31,8 +31,8 @@
 %%% From File: lthooks.dtx
 %
 %    \begin{macrocode}
-\def\lthooksversion{v1.0h}
-\def\lthooksdate{2021/01/15}
+\def\lthooksversion{v1.0i}
+\def\lthooksdate{2021/03/18}
 %    \end{macrocode}
 %
 %<*driver>
@@ -1712,10 +1712,8 @@
 %<@@=hook>
 %    \end{macrocode}
 %
-%
-%    At the moment the whole module rolls back in one go, but if we
-%    make any modifications in later releases this will then need
-%    splitting.
+% \changes{v1.0i}{2021/03/18}
+%         {Use \cs{NewModuleRelease}.}
 %    \begin{macrocode}
 %<*2ekernel|latexrelease>
 %<latexrelease>\NewModuleRelease{lthooks}{2020/10/01}
@@ -4216,6 +4214,8 @@
 %   the stack to support roll forward.  But in some rare cases,
 %   \pkg{latexrelease} may be loaded inside another package (notably
 %   \pkg{platexrelease}), so we'll first push the |top-level| entry:
+%   \changes{v1.0i}{2021/03/18}
+%           {Only add \texttt{top-level} if not already there.}
 %    \begin{macrocode}
 %<latexrelease>\seq_if_empty:NT \g_@@_name_stack_seq
 %<latexrelease>  { \seq_gput_right:Nn \g_@@_name_stack_seq { top-level } }
@@ -4235,6 +4235,8 @@
 %<latexrelease>  \q_recursion_tail \q_recursion_stop
 %    \end{macrocode}
 %   and finally set the default label to be the \cs{@currname}:
+%   \changes{v1.0i}{2021/03/18}
+%           {Remove the (empty) \enquote{top-level} from \cs{@currnamestack}.}
 %    \begin{macrocode}
 %<latexrelease>\tl_gset:Nx \g_@@_hook_curr_name_tl { \@currname }
 %<latexrelease>\seq_gpop_right:NN \g_@@_name_stack_seq \l_@@_tmpa_tl
diff --git a/base/ltvers.dtx b/base/ltvers.dtx
index 3feb6d1a..af726891 100644
--- a/base/ltvers.dtx
+++ b/base/ltvers.dtx
@@ -33,7 +33,7 @@
 %<*driver>
 % \fi
 \ProvidesFile{ltvers.dtx}
-             [2021/03/10 v1.1f LaTeX Kernel (Version Info)]
+             [2021/03/18 v1.1f LaTeX Kernel (Version Info)]
 % \iffalse
 \documentclass{ltxdoc}
 \GetFileInfo{ltvers.dtx}
@@ -229,7 +229,7 @@
 % \changes{v1.0m}{2015/01/17}{modified with \cs{@currname}}
 % \changes{v1.0o}{2015/01/19}{Optional argument}
 % \changes{v1.0q}{2015/02/19}{Swap argument order}
-% \changes{v1.1f}{2021/03/10}{Add support for usage in \cs{NewModuleRelease}}
+% \changes{v1.1f}{2021/03/18}{Add support for usage in \cs{NewModuleRelease}}
 %
 %    \begin{macrocode}
 %<*2ekernel|latexrelease>
@@ -351,7 +351,7 @@
 %   either, because the module might have changes we still want applied,
 %   so a more detailed cherry-picking of code chunks have to be done.
 %
-%   \changes{v1.1f}{2021/03/10}{Added \cs{NewModuleRelease}.}
+%   \changes{v1.1f}{2021/03/18}{Added \cs{NewModuleRelease}.}
 %    \begin{macrocode}
 \let\if at skipping@module\iffalse
 \def\@skipping at moduletrue{\let\if at skipping@module\iftrue}





More information about the latex3-commits mailing list.