• R/O
  • SSH

wp2latex: Commit

WP2LaTeX sources.


Commit MetaInfo

Revision612bcdd814d7a9d6d7e76d970a6b3e516bf2b080 (tree)
Zeit2024-02-07 06:08:15
AutorJaroslav Fojtik
CommiterJaroslav Fojtik

Log Message

Year step up to 2024.

Ändern Zusammenfassung

Diff

diff -r 7e1a81680959 -r 612bcdd814d7 trunk/doc/cs.po
--- a/trunk/doc/cs.po Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/doc/cs.po Tue Feb 06 22:08:15 2024 +0100
@@ -1628,11 +1628,11 @@
16281628 msgid ""
16291629 "\n"
16301630 ">>>WP2LaTeX<<< Conversion program: From Wordperfect to LaTeX Version %s \n"
1631-" (c) Made by J.Fojtik ---- Date : 1996-2023\n"
1631+" (c) Made by J.Fojtik ---- Date : 1996-2024\n"
16321632 msgstr ""
16331633 "\n"
16341634 ">>>WP2LaTeX<<< Konverzní program: Z Wordperfektu do LaTeXu verze %s \n"
1635-" (c) Vytvořil J.Fojtík ---- Datum : 1996-2023\n"
1635+" (c) Vytvořil J.Fojtík ---- Datum : 1996-2024\n"
16361636
16371637 #: ../sources.cc/wp2latex.cc:341
16381638 msgid ""
@@ -1777,7 +1777,7 @@
17771777 #: ../sources.cc/wp2latex.cc:419
17781778 msgid ""
17791779 "\n"
1780-"This program and related files are copyright (c) 1996-2023 Fojtik Jaroslav.\n"
1780+"This program and related files are copyright (c) 1996-2024 Fojtik Jaroslav.\n"
17811781 "This code can be redistributed and/or modified under the terms of the GNU\n"
17821782 "General Public License available from: http://www.gnu.org/copyleft/gpl."
17831783 "html.\n"
@@ -1796,7 +1796,7 @@
17961796 msgstr ""
17971797 "\n"
17981798 "Tento program a související soubory jsou chráněny autorským právem (c) 1996-"
1799-"2023 Fojtík Jaroslav.\n"
1799+"2024 Fojtík Jaroslav.\n"
18001800 "Tento kód může být redistribuován a/nebo upraven podle podmínek GNU\n"
18011801 "General Public License, která je dostupná na : http://www.gnu.org/copyleft/"
18021802 "gpl.html.\n"
@@ -2214,8 +2214,8 @@
22142214 #
22152215 #
22162216 #: dump.c:14
2217-msgid "(C) 1996-2023 Jaroslav Fojtik"
2218-msgstr "(C) 1996-2023 Jaroslav Fojtík"
2217+msgid "(C) 1996-2024 Jaroslav Fojtik"
2218+msgstr "(C) 1996-2024 Jaroslav Fojtík"
22192219
22202220 #: dump.c:15
22212221 msgid "&Splash"
@@ -2438,8 +2438,8 @@
24382438 #
24392439 #
24402440 #: dump.c:70
2441-msgid "Prague ---- Made by J.Fojtik ---- Date : 2001-2023"
2442-msgstr "Praha ---- Vytvořil J.Fojtík ---- Datum : 2001-2023"
2441+msgid "Prague ---- Made by J.Fojtik ---- Date : 2001-2024"
2442+msgstr "Praha ---- Vytvořil J.Fojtík ---- Datum : 2001-2024"
24432443
24442444 #: dump.c:71
24452445 msgid "Shareware version:"
diff -r 7e1a81680959 -r 612bcdd814d7 trunk/doc/de.po
--- a/trunk/doc/de.po Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/doc/de.po Tue Feb 06 22:08:15 2024 +0100
@@ -1609,11 +1609,11 @@
16091609 msgid ""
16101610 "\n"
16111611 ">>>WP2LaTeX<<< Conversion program: From Wordperfect to LaTeX Version %s \n"
1612-" (c) Made by J.Fojtik ---- Date : 1996-2023\n"
1612+" (c) Made by J.Fojtik ---- Date : 1996-2024\n"
16131613 msgstr ""
16141614 "\n"
16151615 ">>>WP2LaTeX<<< Umwandlungsprogramm von WordPerfect nach LaTeX, Version %s \n"
1616-" (C) Von J.Fojtik ---- das Datum : 1996-2023\n"
1616+" (C) Von J.Fojtik ---- das Datum : 1996-2024\n"
16171617
16181618 #: ../sources.cc/wp2latex.cc:341
16191619 msgid ""
@@ -1763,7 +1763,7 @@
17631763 #: ../sources.cc/wp2latex.cc:419
17641764 msgid ""
17651765 "\n"
1766-"This program and related files are copyright (c) 1996-2023 Fojtik Jaroslav.\n"
1766+"This program and related files are copyright (c) 1996-2024 Fojtik Jaroslav.\n"
17671767 "This code can be redistributed and/or modified under the terms of the GNU\n"
17681768 "General Public License available from: http://www.gnu.org/copyleft/gpl."
17691769 "html.\n"
@@ -1782,7 +1782,7 @@
17821782 msgstr ""
17831783 "\n"
17841784 "Dieses Programm und seine dazu gehörenden Dateien sind Copyright © \n"
1785-"1996-2023 Jaroslav Fojtik. Der Kode kann unter der GPL weiterverteilt und/\n"
1785+"1996-2024 Jaroslav Fojtik. Der Kode kann unter der GPL weiterverteilt und/\n"
17861786 "oder verändert werden. Die General Public License gibt es auf: \n"
17871787 "http://www.gnu.org/copyleft/gpl.html. (Mit Übersetzungen.)\n"
17881788 "Noch ein Zusatz:\n"
@@ -2180,8 +2180,8 @@
21802180 #
21812181 #
21822182 #: dump.c:14
2183-msgid "(C) 1996-2023 Jaroslav Fojtik"
2184-msgstr "(C) 1996-2023 Jaroslav Fojtik"
2183+msgid "(C) 1996-2024 Jaroslav Fojtik"
2184+msgstr "(C) 1996-2024 Jaroslav Fojtik"
21852185
21862186 #: dump.c:15
21872187 msgid "&Splash"
@@ -2402,8 +2402,8 @@
24022402 #
24032403 #
24042404 #: dump.c:70
2405-msgid "Prague ---- Made by J.Fojtik ---- Date : 2001-2023"
2406-msgstr "Prag ---- Von J.Fojtik ---- das Datum : 2001-2023"
2405+msgid "Prague ---- Made by J.Fojtik ---- Date : 2001-2024"
2406+msgstr "Prag ---- Von J.Fojtik ---- das Datum : 2001-2024"
24072407
24082408 #: dump.c:71
24092409 msgid "Shareware version:"
diff -r 7e1a81680959 -r 612bcdd814d7 trunk/sources.cc/images/image.h
--- a/trunk/sources.cc/images/image.h Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/sources.cc/images/image.h Tue Feb 06 22:08:15 2024 +0100
@@ -41,8 +41,9 @@
4141 class PropertyItem
4242 {
4343 public:
44- PropertyItem(void) {Data=NULL;DataSize=0;UsageCount=0;}
45- PropertyItem(const char *NewName): Name(NewName) {Data=NULL;DataSize=0;UsageCount=0;}
44+ PropertyItem(void);
45+ PropertyItem(const char *NewName);
46+ PropertyItem(const char *NewName, unsigned IniSize);
4647 virtual ~PropertyItem();
4748
4849 mutable short UsageCount;
diff -r 7e1a81680959 -r 612bcdd814d7 trunk/sources.cc/images/imgut.cc
--- a/trunk/sources.cc/images/imgut.cc Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/sources.cc/images/imgut.cc Tue Feb 06 22:08:15 2024 +0100
@@ -25,6 +25,38 @@
2525
2626 /* ------------ Properties ---------------*/
2727
28+PropertyItem::PropertyItem(void)
29+{
30+ Data=NULL;
31+ DataSize=0;
32+ UsageCount=0;
33+}
34+
35+
36+PropertyItem::PropertyItem(const char *NewName): Name(NewName)
37+{
38+ Data=NULL;
39+ DataSize=0;
40+ UsageCount=0;
41+}
42+
43+
44+PropertyItem::PropertyItem(const char *NewName, unsigned IniSize): Name(NewName)
45+{
46+ DataSize = 0;
47+ if(IniSize>0)
48+ {
49+ Data = malloc(IniSize);
50+ if(Data) DataSize=IniSize;
51+ }
52+ else
53+ {
54+ Data=NULL;
55+ }
56+ UsageCount=0;
57+}
58+
59+
2860 PropertyItem::~PropertyItem()
2961 {
3062 if(Data)
diff -r 7e1a81680959 -r 612bcdd814d7 trunk/sources.cc/wp2latex.cc
--- a/trunk/sources.cc/wp2latex.cc Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/sources.cc/wp2latex.cc Tue Feb 06 22:08:15 2024 +0100
@@ -220,9 +220,9 @@
220220 case 0x15: fprintf(err,_("Info: Please report this situation to enable further developping WP2LaTeX.\n%s"),chk(s));
221221 break;
222222 case 0x20: fprintf(err,_("Error: Output device is full.\n"));
223- break;
223+ break;
224224 case 0x8B: fprintf(err,_("Fatal: Program Error. Write full bug report.\n"));
225- break;
225+ break;
226226 case 0x200:fprintf(err,_("Error: No filename entered!\n"));
227227 break;
228228 case 0x201:fprintf(err,_("Error: File \"%s\" is not a WordPerfect document!\n"),wpd_filename());
@@ -321,7 +321,7 @@
321321
322322 if(Verbosing < 1) return;
323323 printf(_("\n>>>WP2LaTeX<<< Conversion program: From Wordperfect to LaTeX Version %s \n"
324- " (c) Made by J.Fojtik ---- Date : 1996-2023\n"),
324+ " (c) Made by J.Fojtik ---- Date : 1996-2024\n"),
325325 VersionWP2L);
326326 }
327327
@@ -404,7 +404,7 @@
404404 #endif
405405 ExtendedCheck==true?"*":"",
406406 Verbosing>0?"":"*",
407- StyleUsed(TexChars)
407+ StyleUsed(TexChars)
408408 );
409409 PrintPackageList();
410410 #ifndef Registered
@@ -416,7 +416,7 @@
416416
417417 void ShowCopyright(void)
418418 {
419- puts(_("\nThis program and related files are copyright (c) 1996-2023 Fojtik Jaroslav."
419+ puts(_("\nThis program and related files are copyright (c) 1996-2024 Fojtik Jaroslav."
420420 "\nThis code can be redistributed and/or modified under the terms of the GNU"
421421 "\nGeneral Public License available from: http://www.gnu.org/copyleft/gpl.html."
422422 "\nWith one additional requirement:"
diff -r 7e1a81680959 -r 612bcdd814d7 trunk/sources.cc/wp2latex.h
--- a/trunk/sources.cc/wp2latex.h Fri Dec 15 22:46:39 2023 +0100
+++ b/trunk/sources.cc/wp2latex.h Tue Feb 06 22:08:15 2024 +0100
@@ -18,7 +18,7 @@
1818 #define LineLength 80 /* Split lines after more than LineLength charcters */
1919
2020 #define VersionWP2L "4.pre5"
21-#define VersionDate "1 Dec 2023" /* day (space) month (space) full year */
21+#define VersionDate "6 Feb 2024" /* day (space) month (space) full year */
2222
2323
2424 /** Constants for a flag InputPS */
Show on old repository browser