texlive[73618] Build/source/texk/web2c/texprofdir: TeXprof: updating
commits+mruckert at tug.org
commits+mruckert at tug.org
Tue Jan 28 18:02:40 CET 2025
Revision: 73618
https://tug.org/svn/texlive?view=revision&revision=73618
Author: mruckert
Date: 2025-01-28 18:02:40 +0100 (Tue, 28 Jan 2025)
Log Message:
-----------
TeXprof: updating version to 1.1, fixing declaration-after-statement error
Modified Paths:
--------------
trunk/Build/source/texk/web2c/texprofdir/ChangeLog
trunk/Build/source/texk/web2c/texprofdir/doc/texprof.hnt
trunk/Build/source/texk/web2c/texprofdir/doc/texprof.pdf
trunk/Build/source/texk/web2c/texprofdir/doc/texprofile.hnt
trunk/Build/source/texk/web2c/texprofdir/doc/texprofile.pdf
trunk/Build/source/texk/web2c/texprofdir/doc/texprofileman.hnt
trunk/Build/source/texk/web2c/texprofdir/doc/texprofileman.pdf
trunk/Build/source/texk/web2c/texprofdir/man/texprofile.man
trunk/Build/source/texk/web2c/texprofdir/texprof.w
trunk/Build/source/texk/web2c/texprofdir/texprofile.w
trunk/Build/source/texk/web2c/texprofdir/texprofileman.tex
Modified: trunk/Build/source/texk/web2c/texprofdir/ChangeLog
===================================================================
--- trunk/Build/source/texk/web2c/texprofdir/ChangeLog 2025-01-28 00:41:58 UTC (rev 73617)
+++ trunk/Build/source/texk/web2c/texprofdir/ChangeLog 2025-01-28 17:02:40 UTC (rev 73618)
@@ -1,3 +1,8 @@
+2025-01-28 Martin Ruckert <martin.ruckert at hm.edu>
+
+ Updating the display of banners and versions
+ Fixing an declaration-after-statement error
+
2024-10-23 Martin Ruckert <martin.ruckert at hm.edu>
Adding a simple hello world test.
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprof.hnt
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprof.pdf
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprofile.hnt
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprofile.pdf
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprofileman.hnt
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/doc/texprofileman.pdf
===================================================================
(Binary files differ)
Modified: trunk/Build/source/texk/web2c/texprofdir/man/texprofile.man
===================================================================
--- trunk/Build/source/texk/web2c/texprofdir/man/texprofile.man 2025-01-28 00:41:58 UTC (rev 73617)
+++ trunk/Build/source/texk/web2c/texprofdir/man/texprofile.man 2025-01-28 17:02:40 UTC (rev 73618)
@@ -1,5 +1,5 @@
'\" t
-.\" Manual page created with latex2man on Mon Jan 20 11:11:40 2025
+.\" Manual page created with latex2man on Tue Jan 28 17:56:46 2025
.\" NOTE: This file is generated, DO NOT EDIT.
.de Vb
.ft CW
@@ -10,7 +10,7 @@
.fi
..
-.TH "TEXPROFILE" "1" "6\-9\-2024" "Displaying TeX profiles " "Displaying TeX profiles "
+.TH "TEXPROFILE" "1" "28\-1\-2025" "Displaying TeX profiles " "Displaying TeX profiles "
.SH NAME
.PP
@@ -565,7 +565,7 @@
.PP
.SH VERSION
-Version: 1.0 of 6-9-2024
+Version: 1.1 of 28-1-2025
.TP
Copyright
(C)2024, Martin Ruckert,
Modified: trunk/Build/source/texk/web2c/texprofdir/texprof.w
===================================================================
--- trunk/Build/source/texk/web2c/texprofdir/texprof.w 2025-01-28 00:41:58 UTC (rev 73617)
+++ trunk/Build/source/texk/web2c/texprofdir/texprof.w 2025-01-28 17:02:40 UTC (rev 73618)
@@ -373,9 +373,10 @@
@d eTeX_version 2 /* \.{\\eTeXversion} */
@d eTeX_revision ".6" /* \.{\\eTeXrevision} */
- at d eTeX_version_string "-2.6" /*current \eTeX\ version*/
+ at d eTeX_version_string "2.6" /*current \eTeX\ version*/
@#
- at d TeX_banner "This is TeX, Version 3.141592653" /*printed when \TeX\ starts*/
+ at d TeX_version_string "3.141592653"
+ at d TeX_banner "This is TeX, Version " TeX_version_string /*printed when \TeX\ starts*/
@#
@#
@d TEX ETEX /*change program name into |ETEX|*/
@@ -382,7 +383,7 @@
@#
@d eTeX_states 1 /*number of \eTeX\ state variables in |eqtb|*/
@#
- at d Prote_version_string "3.141592653-2.6-1.1.0" /*current \Prote\ version*/
+ at d Prote_version_string "1.1.0" /*current \Prote\ version*/
@d Prote_version 1 /* \.{\\Proteversion} */
@d Prote_revision ".1.0" /* \.{\\Proterevision} */
@#
@@ -389,8 +390,13 @@
@d Prote_banner "This is Prote, Version " Prote_version_string
/*printed when \Prote\ starts*/
@#
- at d banner Prote_banner
+ at d TeXprof_version "1.1"
+ at d TeXprof_banner "This is texprof, Version " TeXprof_version
+ ", using TeX, Version " TeX_version_string
+
+ at d banner TeXprof_banner
+
@ Different \PASCAL s have slightly different conventions, and the present
@!@:PASCAL H}{\ph@>
program expresses \TeX\ in terms of the \PASCAL\ that was
@@ -30047,8 +30053,10 @@
@<handle the options@>=
if (ARGUMENT_IS("help")) usage_help();
else if (ARGUMENT_IS("version")){@+
- printf(TeX_banner@, "\n"@/
- "Prote version "@, Prote_version_string@, "\n");
+ printf("TeXprof Version "@, TeXprof_version@; "\n"@/
+ "\tis based on TeX Version "@, TeX_version_string@, "\n"@/
+ "\tusing eTeX Version "@, eTeX_version_string@, "\n"@/
+ "\tusing Prote Version "@, Prote_version_string@, "\n");
exit(0);@+
}
Modified: trunk/Build/source/texk/web2c/texprofdir/texprofile.w
===================================================================
--- trunk/Build/source/texk/web2c/texprofdir/texprofile.w 2025-01-28 00:41:58 UTC (rev 73617)
+++ trunk/Build/source/texk/web2c/texprofdir/texprofile.w 2025-01-28 17:02:40 UTC (rev 73618)
@@ -630,14 +630,16 @@
ALLOCATE(file_line,file_num+1);
ALLOCATE(cmd_freq,cmd_num);
-
cur_depth=-1;
total_time=0;
total_num=0;
macro_defs[0].a=1;
i=0;
-{ fget1(); /* the initial call */
+
+{ uint8_t c = fget1(); /* the initial call */
@<read a macro call@>@;
+ if (c!=system_macro_push)
+ error("Timing data must start with an initial push command");
@<time a push command@>@;
}
while (i<stamp_num)
@@ -1723,11 +1725,11 @@
The only other long option currently supported is the {\tt --version} option.
- at d VERSION_STR "texprofile version 1.0"
+ at d VERSION_STR "1.1"
@<process long options@>=
if (strcmp(option,"version")==0)
- { printf(VERSION_STR "\n");
+ { printf("texprofile version " VERSION_STR "\n");
exit(0);
}
@
Modified: trunk/Build/source/texk/web2c/texprofdir/texprofileman.tex
===================================================================
--- trunk/Build/source/texk/web2c/texprofdir/texprofileman.tex 2025-01-28 00:41:58 UTC (rev 73617)
+++ trunk/Build/source/texk/web2c/texprofdir/texprofileman.tex 2025-01-28 17:02:40 UTC (rev 73618)
@@ -26,8 +26,8 @@
\usepackage{a4wide}
\usepackage{latex2man}
-\setVersion{1.0}
-\setDate{6-9-2024}
+\setVersion{1.1}
+\setDate{28-1-2025}
\begin{document}
\begin{Name}{1}{texprofile}{Martin Ruckert}{Displaying TeX profiles}{TeXprofile: Displaying TeX profiles}
More information about the tex-live-commits
mailing list.