Browse Source

Update version and help text

Carsten Sonne Larsen 9 months ago
parent
commit
3ab6729951

+ 3
- 1
amath.1 View File

@@ -20,7 +20,7 @@
20 20
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 21
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 22
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
-.TH amath 1 "Version 1.8.3" "July 21 2017"
23
+.TH amath 1 "Version 1.8.4" "August 05 2018"
24 24
 .SH NAME
25 25
 amath \- Simple command line calculator
26 26
 .SH SYNOPSIS
@@ -128,6 +128,7 @@ archcc      Inverse hacoversed cosine function
128 128
 .fi
129 129
 .SH STATEMENTS
130 130
 .nf
131
+about       Show about text
131 132
 clear       Clear console window
132 133
 def         Define function
133 134
 delete      Delete variable or function
@@ -144,6 +145,7 @@ load        Load variable and functions from file
144 145
 save        Save variable and functions to file
145 146
 variables   Show list of variables
146 147
 version     Show version string
148
+license     Show copyright and license texts
147 149
 memory      Show internal memory usage
148 150
 exit        Exit program
149 151
 .fi

+ 1
- 1
amath.doxygen View File

@@ -1,7 +1,7 @@
1 1
 
2 2
 DOXYFILE_ENCODING      = UTF-8
3 3
 PROJECT_NAME           = "amath"
4
-PROJECT_NUMBER         = "1.8.3"
4
+PROJECT_NUMBER         = "1.8.4"
5 5
 PROJECT_BRIEF          = "Simple command line calculator"
6 6
 PROJECT_LOGO           =
7 7
 OUTPUT_DIRECTORY       = ../amath-doc

+ 2
- 2
builddeb View File

@@ -30,7 +30,7 @@
30 30
 
31 31
 set -e
32 32
 
33
-version="1.8.3"
33
+version="1.8.4"
34 34
 
35 35
 build_package () {
36 36
 
@@ -87,7 +87,7 @@ echo "Depends: libc6"
87 87
 echo "Section: math"
88 88
 echo "Priority: optional"
89 89
 echo "Homepage: https://amath.innolan.net"
90
-echo "Built-Using: gcc-5.4"
90
+echo "Built-Using: gcc-7.3"
91 91
 echo "Description: Simple command line calculator"
92 92
 echo " Features a case sensitive command line interface, internal IEEE 754"
93 93
 echo " calculations with 15 significant digits, calculations with real and"

+ 1
- 1
builddebdev View File

@@ -32,7 +32,7 @@
32 32
 
33 33
 set -e
34 34
 
35
-version="1.8.3"
35
+version="1.8.4"
36 36
 
37 37
 build_package () {
38 38
 

+ 0
- 4
builddist View File

@@ -67,7 +67,3 @@ date -Ru >dist/build_date
67 67
 
68 68
 mv dist amath
69 69
 #lha-ac a amath.lha amath
70
-
71
-# GCC 6.x
72
-#./configure --enable-test --cross-compile="/opt/m68k-amigaos6/bin/m68k-amigaos" CFLAGS="-m68000 -noixemul" LDFLAGS="-Xlinker --allow-multiple-definition"
73
-#make static

+ 2
- 2
buildsrc View File

@@ -8,8 +8,8 @@
8 8
 
9 9
 # DO NOT USE THIS SCRIPT UNLESS YOU KNOW WHAT YOU ARE DOING !
10 10
 
11
-version='1.8.3'
12
-stamp="201707210000"
11
+version='1.8.4'
12
+stamp="201808050000"
13 13
 srcdir="amath-rc"
14 14
 distdir="amath-${version}"
15 15
 cd ..

+ 1
- 1
buildwin View File

@@ -8,7 +8,7 @@
8 8
 
9 9
 set -e
10 10
 
11
-version="1.8.3"
11
+version="1.8.4"
12 12
 
13 13
 echo "Building amath ${version} for Windows ..."
14 14
 

+ 5
- 1
catalog/english/amath-text.ct View File

@@ -1,4 +1,4 @@
1
-## version $VER: amath-text.catalog 1.70 (28.02.2017) English
1
+## version $VER: amath-text.catalog 1.84 (05.08.2018) English
2 2
 ## language english
3 3
 ## codeset 0
4 4
 ; #############################################################################
@@ -33,6 +33,8 @@ INTROMSG
33 33
 #NORMALTEXT##BOLD##STARTMSG##NEWLINE##NORMALTEXT##COLOR02#Type help to show info.#NEWLINE#
34 34
 STATEMENTLINE
35 35
 ---------------------------------------------------------#NEWLINE#
36
+STATEMENTABOUT
37
+about      Show about text#NEWLINE#
36 38
 STATEMENTCLEAR
37 39
 clear      Clear console window.#NEWLINE#
38 40
 STATEMENTDEF
@@ -65,6 +67,8 @@ STATEMENTVARS
65 67
 variables  Show list of variables.#NEWLINE#
66 68
 STATEMENTVERSION
67 69
 version    Show version string.#NEWLINE#
70
+STATEMENTLICENSE
71
+license    Show copyright and license texts#NEWLINE#
68 72
 STATEMENTMEMORY
69 73
 memory     Show internal memory usage.#NEWLINE#
70 74
 STATEMENTEXIT

+ 1
- 1
configure View File

@@ -27,7 +27,7 @@
27 27
 
28 28
 set -e
29 29
 
30
-version="1.8.3"
30
+version="1.8.4"
31 31
 
32 32
 clang=false
33 33
 debugsym=false

+ 1
- 1
src/clib/amathc.3 View File

@@ -20,7 +20,7 @@
20 20
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 21
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 22
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
-.TH "amathc.h" 3 "Version 1.8.3" "July 21 2017"
23
+.TH "amathc.h" 3 "Version 1.8.4" "August 05 2018"
24 24
 .SH NAME
25 25
 amathc.h \- C functions for manipulating strings and memory
26 26
 .SH SYNOPSIS

+ 1
- 1
src/clib/amathc.dox View File

@@ -1,7 +1,7 @@
1 1
 
2 2
 DOXYFILE_ENCODING      = UTF-8
3 3
 PROJECT_NAME           = "amathc"
4
-PROJECT_NUMBER         = "1.8.3"
4
+PROJECT_NUMBER         = "1.8.4"
5 5
 PROJECT_BRIEF          = "C functions for manipulating strings and memory"
6 6
 PROJECT_LOGO           =
7 7
 OUTPUT_DIRECTORY       = 

+ 1
- 1
src/clib/amathc.pc View File

@@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib
5 5
 
6 6
 Name: amath C library
7 7
 Description: C functions for manipulating strings and memory
8
-Version: 1.8.3
8
+Version: 1.8.4
9 9
 Cflags: -I${includedir}
10 10
 Libs: -L${libdir} -lamathc

+ 1
- 1
src/cplex/amathi.3 View File

@@ -20,7 +20,7 @@
20 20
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 21
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 22
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
-.TH "mathi.h" 3 "Version 1.8.3" "July 21 2017"
23
+.TH "mathi.h" 3 "Version 1.8.4" "August 05 2018"
24 24
 .SH NAME
25 25
 mathi.h \- Complex numbers math library
26 26
 .SH SYNOPSIS

+ 1
- 1
src/cplex/amathi.dox View File

@@ -1,7 +1,7 @@
1 1
 
2 2
 DOXYFILE_ENCODING      = UTF-8
3 3
 PROJECT_NAME           = "amathi"
4
-PROJECT_NUMBER         = "1.8.3"
4
+PROJECT_NUMBER         = "1.8.4"
5 5
 PROJECT_BRIEF          = "Complex numbers math library"
6 6
 PROJECT_LOGO           =
7 7
 OUTPUT_DIRECTORY       = 

+ 1
- 1
src/cplex/amathi.pc View File

@@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib
5 5
 
6 6
 Name: amath complex library
7 7
 Description: Complex numbers math library
8
-Version: 1.8.3
8
+Version: 1.8.4
9 9
 Cflags: -I${includedir}
10 10
 Libs: -L${libdir} -lamathi

+ 1
- 1
src/lib/amatha.pc View File

@@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib
5 5
 
6 6
 Name: amath application library
7 7
 Description: C++ library for handling numbers
8
-Version: 1.8.3
8
+Version: 1.8.4
9 9
 Cflags: -I${includedir}
10 10
 Libs: -L${libdir} -lamathapp -lamathr -lamathi -lamathc

+ 108
- 104
src/loc/text.h View File

@@ -46,114 +46,118 @@
46 46
 
47 47
 #define INTROMSG (Program->Language->GetText(0))
48 48
 #define STATEMENTLINE (Program->Language->GetText(1))
49
-#define STATEMENTCLEAR (Program->Language->GetText(2))
50
-#define STATEMENTDEF (Program->Language->GetText(3))
51
-#define STATEMENTDELETE (Program->Language->GetText(4))
52
-#define STATEMENTDIGITS (Program->Language->GetText(5))
53
-#define STATEMENTEVAL (Program->Language->GetText(6))
54
-#define STATEMENTEXECUTE (Program->Language->GetText(7))
55
-#define STATEMENTFUNCS (Program->Language->GetText(8))
56
-#define STATEMENTINPUT (Program->Language->GetText(9))
57
-#define STATEMENTHELP (Program->Language->GetText(10))
58
-#define STATEMENTOUTPUT (Program->Language->GetText(11))
59
-#define STATEMENTLIST (Program->Language->GetText(12))
60
-#define STATEMENTSHOW (Program->Language->GetText(13))
61
-#define STATEMENTLOAD (Program->Language->GetText(14))
62
-#define STATEMENTSAVE (Program->Language->GetText(15))
63
-#define STATEMENTVARS (Program->Language->GetText(16))
64
-#define STATEMENTVERSION (Program->Language->GetText(17))
65
-#define STATEMENTMEMORY (Program->Language->GetText(18))
66
-#define STATEMENTEXIT (Program->Language->GetText(19))
67
-#define STATEMENTFOOTER (Program->Language->GetText(20))
68
-#define TXTLISTDIRHEADER (Program->Language->GetText(21))
69
-#define TXTLISTDIRTFILE (Program->Language->GetText(22))
70
-#define TXTLISTDIRTDIR (Program->Language->GetText(23))
71
-#define TXTLISTDIRTUNKNOWN (Program->Language->GetText(24))
72
-#define TXTMEMBLOCKS (Program->Language->GetText(25))
73
-#define TXTMEMSIZE (Program->Language->GetText(26))
74
-#define TXTMEMMAXSIZE (Program->Language->GetText(27))
75
-#define HELPNOHELP (Program->Language->GetText(28))
76
-#define HELPSYNTAX (Program->Language->GetText(29))
77
-#define HELPUERROR (Program->Language->GetText(30))
78
-#define HELPVARNDEF (Program->Language->GetText(31))
79
-#define HELPFUNNDEF (Program->Language->GetText(32))
80
-#define HELPFUNRDEF (Program->Language->GetText(33))
81
-#define HELPPNUMERA (Program->Language->GetText(34))
82
-#define HELPPDIGITS (Program->Language->GetText(35))
83
-#define HELPINPUSHOW (Program->Language->GetText(36))
84
-#define HELPOUTPSHOW (Program->Language->GetText(37))
85
-#define HELPINPUSETT (Program->Language->GetText(38))
86
-#define HELPOUTPSETT (Program->Language->GetText(39))
87
-#define HELPDIGISETT (Program->Language->GetText(40))
88
-#define HELPDIGISHOW (Program->Language->GetText(41))
89
-#define HELPVARSNDEF (Program->Language->GetText(42))
90
-#define HELPFUNCNDEF (Program->Language->GetText(43))
91
-#define HELPLOADSUCC (Program->Language->GetText(44))
92
-#define HELPSAVESUCC (Program->Language->GetText(45))
93
-#define HELPSAVEFAIL (Program->Language->GetText(46))
94
-#define HELPSAVENOTH (Program->Language->GetText(47))
95
-#define HELPPREFLOAD (Program->Language->GetText(48))
96
-#define HELPPREFNOLO (Program->Language->GetText(49))
97
-#define HELPPREFSAVE (Program->Language->GetText(50))
98
-#define HELPPREFNOSA (Program->Language->GetText(51))
99
-#define MSGNODIR (Program->Language->GetText(52))
100
-#define MSGNOFILE (Program->Language->GetText(53))
49
+#define STATEMENTABOUT (Program->Language->GetText(2))
50
+#define STATEMENTCLEAR (Program->Language->GetText(3))
51
+#define STATEMENTDEF (Program->Language->GetText(4))
52
+#define STATEMENTDELETE (Program->Language->GetText(5))
53
+#define STATEMENTDIGITS (Program->Language->GetText(6))
54
+#define STATEMENTEVAL (Program->Language->GetText(7))
55
+#define STATEMENTEXECUTE (Program->Language->GetText(8))
56
+#define STATEMENTFUNCS (Program->Language->GetText(9))
57
+#define STATEMENTINPUT (Program->Language->GetText(10))
58
+#define STATEMENTHELP (Program->Language->GetText(11))
59
+#define STATEMENTOUTPUT (Program->Language->GetText(12))
60
+#define STATEMENTLIST (Program->Language->GetText(13))
61
+#define STATEMENTSHOW (Program->Language->GetText(14))
62
+#define STATEMENTLOAD (Program->Language->GetText(15))
63
+#define STATEMENTSAVE (Program->Language->GetText(16))
64
+#define STATEMENTVARS (Program->Language->GetText(17))
65
+#define STATEMENTVERSION (Program->Language->GetText(18))
66
+#define STATEMENTLICENSE (Program->Language->GetText(19))
67
+#define STATEMENTMEMORY (Program->Language->GetText(20))
68
+#define STATEMENTEXIT (Program->Language->GetText(21))
69
+#define STATEMENTFOOTER (Program->Language->GetText(22))
70
+#define TXTLISTDIRHEADER (Program->Language->GetText(23))
71
+#define TXTLISTDIRTFILE (Program->Language->GetText(24))
72
+#define TXTLISTDIRTDIR (Program->Language->GetText(25))
73
+#define TXTLISTDIRTUNKNOWN (Program->Language->GetText(26))
74
+#define TXTMEMBLOCKS (Program->Language->GetText(27))
75
+#define TXTMEMSIZE (Program->Language->GetText(28))
76
+#define TXTMEMMAXSIZE (Program->Language->GetText(29))
77
+#define HELPNOHELP (Program->Language->GetText(30))
78
+#define HELPSYNTAX (Program->Language->GetText(31))
79
+#define HELPUERROR (Program->Language->GetText(32))
80
+#define HELPVARNDEF (Program->Language->GetText(33))
81
+#define HELPFUNNDEF (Program->Language->GetText(34))
82
+#define HELPFUNRDEF (Program->Language->GetText(35))
83
+#define HELPPNUMERA (Program->Language->GetText(36))
84
+#define HELPPDIGITS (Program->Language->GetText(37))
85
+#define HELPINPUSHOW (Program->Language->GetText(38))
86
+#define HELPOUTPSHOW (Program->Language->GetText(39))
87
+#define HELPINPUSETT (Program->Language->GetText(40))
88
+#define HELPOUTPSETT (Program->Language->GetText(41))
89
+#define HELPDIGISETT (Program->Language->GetText(42))
90
+#define HELPDIGISHOW (Program->Language->GetText(43))
91
+#define HELPVARSNDEF (Program->Language->GetText(44))
92
+#define HELPFUNCNDEF (Program->Language->GetText(45))
93
+#define HELPLOADSUCC (Program->Language->GetText(46))
94
+#define HELPSAVESUCC (Program->Language->GetText(47))
95
+#define HELPSAVEFAIL (Program->Language->GetText(48))
96
+#define HELPSAVENOTH (Program->Language->GetText(49))
97
+#define HELPPREFLOAD (Program->Language->GetText(50))
98
+#define HELPPREFNOLO (Program->Language->GetText(51))
99
+#define HELPPREFSAVE (Program->Language->GetText(52))
100
+#define HELPPREFNOSA (Program->Language->GetText(53))
101
+#define MSGNODIR (Program->Language->GetText(54))
102
+#define MSGNOFILE (Program->Language->GetText(55))
101 103
 
102 104
 static const textdef textdefs[] = {
103 105
     { 0, "#NORMALTEXT##BOLD##STARTMSG##NEWLINE##NORMALTEXT##COLOR02#Type help to show info.#NEWLINE#" }, /* INTROMSG */
104 106
     { 1, "------------------------------------------------------------#NEWLINE#" }, /* STATEMENTLINE */
105
-    { 2, "clear      Clear console window#NEWLINE#" }, /* STATEMENTCLEAR */
106
-    { 3, "def        Define function#NEWLINE#" }, /* STATEMENTDEF */
107
-    { 4, "delete     Delete variable or function#NEWLINE#" }, /* STATEMENTDELETE */
108
-    { 5, "digits     Set number of significant digits#NEWLINE#" }, /* STATEMENTDIGITS */
109
-    { 6, "eval       Evaluate arithmetic expression#NEWLINE#" }, /* STATEMENTEVAL */
110
-    { 7, "execute    Execute statements in a file#NEWLINE#" }, /* STATEMENTEXECUTE */
111
-    { 8, "functions  Show list of user defined functions#NEWLINE#" }, /* STATEMENTFUNCS */
112
-    { 9, "input      Change numeral input system#NEWLINE#" }, /* STATEMENTINPUT */
113
-    { 10, "help       Show basic help text#NEWLINE#" }, /* STATEMENTHELP */
114
-    { 11, "output     Change numeral output system#NEWLINE#" }, /* STATEMENTOUTPUT */
115
-    { 12, "list       Show content of a directory#NEWLINE#" }, /* STATEMENTLIST */
116
-    { 13, "show       Show content of a file#NEWLINE#" }, /* STATEMENTSHOW */
117
-    { 14, "load       Load variable and functions from file#NEWLINE#" }, /* STATEMENTLOAD */
118
-    { 15, "save       Save variable and functions to file#NEWLINE#" }, /* STATEMENTSAVE */
119
-    { 16, "variables  Show list of variables#NEWLINE#" }, /* STATEMENTVARS */
120
-    { 17, "version    Show version string#NEWLINE#" }, /* STATEMENTVERSION */
121
-    { 18, "memory     Show internal memory usage#NEWLINE#" }, /* STATEMENTMEMORY */
122
-    { 19, "exit       Exit program#NEWLINE#" }, /* STATEMENTEXIT */
123
-    { 20, "The def and eval statements are optional. Functions and#NEWLINE#variables statements can be shorten to funcs and vars.#NEWLINE#" }, /* STATEMENTFOOTER */
124
-    { 21, "Type        Name#NEWLINE#--------------------------------------------------#NEWLINE#" }, /* TXTLISTDIRHEADER */
125
-    { 22, "[file]" }, /* TXTLISTDIRTFILE */
126
-    { 23, "[dir]" }, /* TXTLISTDIRTDIR */
127
-    { 24, "[unknown]" }, /* TXTLISTDIRTUNKNOWN */
128
-    { 25, "Allocated blocks:#SPACE#" }, /* TXTMEMBLOCKS */
129
-    { 26, "Memory usage:    #SPACE#" }, /* TXTMEMSIZE */
130
-    { 27, "Maximum usage:   #SPACE#" }, /* TXTMEMMAXSIZE */
131
-    { 28, "No help is available for this topic.#NEWLINE#" }, /* HELPNOHELP */
132
-    { 29, "Syntax error:#SPACE#" }, /* HELPSYNTAX */
133
-    { 30, "Unexpected error:#SPACE#" }, /* HELPUERROR */
134
-    { 31, "Variable is not defined:#SPACE#" }, /* HELPVARNDEF */
135
-    { 32, "Function is not defined:#SPACE#" }, /* HELPFUNNDEF */
136
-    { 33, "Function cannot be redefined:#SPACE#" }, /* HELPFUNRDEF */
137
-    { 34, "Base value must be between 2 and 32:#SPACE#" }, /* HELPPNUMERA */
138
-    { 35, "Number of digist must be between 0 and 15:#SPACE#" }, /* HELPPDIGITS */
139
-    { 36, "Numeral input system is#SPACE#" }, /* HELPINPUSHOW */
140
-    { 37, "Numeral output system is#SPACE#" }, /* HELPOUTPSHOW */
141
-    { 38, "Input changed to#SPACE#" }, /* HELPINPUSETT */
142
-    { 39, "Output changed to#SPACE#" }, /* HELPOUTPSETT */
143
-    { 40, "Number of digits changed to#SPACE#" }, /* HELPDIGISETT */
144
-    { 41, "Number of digits shown are#SPACE#" }, /* HELPDIGISHOW */
145
-    { 42, "No variables are defined.#NEWLINE#" }, /* HELPVARSNDEF */
146
-    { 43, "No functions are defined.#NEWLINE#" }, /* HELPFUNCNDEF */
147
-    { 44, "Variable and functions loaded from file.#NEWLINE#" }, /* HELPLOADSUCC */
148
-    { 45, "Variable and functions saved to file.#NEWLINE#" }, /* HELPSAVESUCC */
149
-    { 46, "Cannot save to file.#NEWLINE#" }, /* HELPSAVEFAIL */
150
-    { 47, "Nothing to save.#NEWLINE#" }, /* HELPSAVENOTH */
151
-    { 48, "Preferences loaded.#NEWLINE#" }, /* HELPPREFLOAD */
152
-    { 49, "Preferences could not be loaded.#NEWLINE#" }, /* HELPPREFNOLO */
153
-    { 50, "Preferences saved to disk.#NEWLINE#" }, /* HELPPREFSAVE */
154
-    { 51, "Preferences could not be saved.#NEWLINE#" }, /* HELPPREFNOSA */
155
-    { 52, "Could not open directory:#SPACE#" }, /* MSGNODIR */
156
-    { 53, "Cannot open file.#NEWLINE#" }, /* MSGNOFILE */
107
+    { 2, "about      Show about text#NEWLINE#" }, /* STATEMENTABOUT */
108
+    { 3, "clear      Clear console window#NEWLINE#" }, /* STATEMENTCLEAR */
109
+    { 4, "def        Define function#NEWLINE#" }, /* STATEMENTDEF */
110
+    { 5, "delete     Delete variable or function#NEWLINE#" }, /* STATEMENTDELETE */
111
+    { 6, "digits     Set number of significant digits#NEWLINE#" }, /* STATEMENTDIGITS */
112
+    { 7, "eval       Evaluate arithmetic expression#NEWLINE#" }, /* STATEMENTEVAL */
113
+    { 8, "execute    Execute statements in a file#NEWLINE#" }, /* STATEMENTEXECUTE */
114
+    { 9, "functions  Show list of user defined functions#NEWLINE#" }, /* STATEMENTFUNCS */
115
+    { 10, "input      Change numeral input system#NEWLINE#" }, /* STATEMENTINPUT */
116
+    { 11, "help       Show basic help text#NEWLINE#" }, /* STATEMENTHELP */
117
+    { 12, "output     Change numeral output system#NEWLINE#" }, /* STATEMENTOUTPUT */
118
+    { 13, "list       Show content of a directory#NEWLINE#" }, /* STATEMENTLIST */
119
+    { 14, "show       Show content of a file#NEWLINE#" }, /* STATEMENTSHOW */
120
+    { 15, "load       Load variable and functions from file#NEWLINE#" }, /* STATEMENTLOAD */
121
+    { 16, "save       Save variable and functions to file#NEWLINE#" }, /* STATEMENTSAVE */
122
+    { 17, "variables  Show list of variables#NEWLINE#" }, /* STATEMENTVARS */
123
+    { 18, "version    Show version string#NEWLINE#" }, /* STATEMENTVERSION */
124
+    { 19, "license    Show copyright and license texts#NEWLINE#" }, /* STATEMENTLICENSE */
125
+    { 20, "memory     Show internal memory usage#NEWLINE#" }, /* STATEMENTMEMORY */
126
+    { 21, "exit       Exit program#NEWLINE#" }, /* STATEMENTEXIT */
127
+    { 22, "The def and eval statements are optional. Functions and#NEWLINE#variables statements can be shorten to funcs and vars.#NEWLINE#" }, /* STATEMENTFOOTER */
128
+    { 23, "Type        Name#NEWLINE#--------------------------------------------------#NEWLINE#" }, /* TXTLISTDIRHEADER */
129
+    { 24, "[file]" }, /* TXTLISTDIRTFILE */
130
+    { 25, "[dir]" }, /* TXTLISTDIRTDIR */
131
+    { 26, "[unknown]" }, /* TXTLISTDIRTUNKNOWN */
132
+    { 27, "Allocated blocks:#SPACE#" }, /* TXTMEMBLOCKS */
133
+    { 28, "Memory usage:    #SPACE#" }, /* TXTMEMSIZE */
134
+    { 29, "Maximum usage:   #SPACE#" }, /* TXTMEMMAXSIZE */
135
+    { 30, "No help is available for this topic.#NEWLINE#" }, /* HELPNOHELP */
136
+    { 31, "Syntax error:#SPACE#" }, /* HELPSYNTAX */
137
+    { 32, "Unexpected error:#SPACE#" }, /* HELPUERROR */
138
+    { 33, "Variable is not defined:#SPACE#" }, /* HELPVARNDEF */
139
+    { 34, "Function is not defined:#SPACE#" }, /* HELPFUNNDEF */
140
+    { 35, "Function cannot be redefined:#SPACE#" }, /* HELPFUNRDEF */
141
+    { 36, "Base value must be between 2 and 32:#SPACE#" }, /* HELPPNUMERA */
142
+    { 37, "Number of digist must be between 0 and 15:#SPACE#" }, /* HELPPDIGITS */
143
+    { 38, "Numeral input system is#SPACE#" }, /* HELPINPUSHOW */
144
+    { 39, "Numeral output system is#SPACE#" }, /* HELPOUTPSHOW */
145
+    { 40, "Input changed to#SPACE#" }, /* HELPINPUSETT */
146
+    { 41, "Output changed to#SPACE#" }, /* HELPOUTPSETT */
147
+    { 42, "Number of digits changed to#SPACE#" }, /* HELPDIGISETT */
148
+    { 43, "Number of digits shown are#SPACE#" }, /* HELPDIGISHOW */
149
+    { 44, "No variables are defined.#NEWLINE#" }, /* HELPVARSNDEF */
150
+    { 45, "No functions are defined.#NEWLINE#" }, /* HELPFUNCNDEF */
151
+    { 46, "Variable and functions loaded from file.#NEWLINE#" }, /* HELPLOADSUCC */
152
+    { 47, "Variable and functions saved to file.#NEWLINE#" }, /* HELPSAVESUCC */
153
+    { 48, "Cannot save to file.#NEWLINE#" }, /* HELPSAVEFAIL */
154
+    { 49, "Nothing to save.#NEWLINE#" }, /* HELPSAVENOTH */
155
+    { 50, "Preferences loaded.#NEWLINE#" }, /* HELPPREFLOAD */
156
+    { 51, "Preferences could not be loaded.#NEWLINE#" }, /* HELPPREFNOLO */
157
+    { 52, "Preferences saved to disk.#NEWLINE#" }, /* HELPPREFSAVE */
158
+    { 53, "Preferences could not be saved.#NEWLINE#" }, /* HELPPREFNOSA */
159
+    { 54, "Could not open directory:#SPACE#" }, /* MSGNODIR */
160
+    { 55, "Cannot open file.#NEWLINE#" }, /* MSGNOFILE */
157 161
     { -1, EMPTYSTRING }
158 162
 };
159 163
 

+ 10
- 11
src/main.h View File

@@ -79,17 +79,13 @@
79 79
   https://github.com/rainlance/amath
80 80
 
81 81
   \subsection download Download
82
-  Windows: https://amath.innolan.net/amath-1.8.0.zip <BR>
83
-  <BR>
84
-  FreeBSD: https://www.freshports.org/math/amath/ <BR>
85
-  <BR>
86
-  NetBSD: http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/math/amath/README.html <BR>
87
-  <BR>
88
-  Haiku: https://github.com/haikuports <BR>
89
-  <BR>
90
-  Included in the Icaros Desktop environment: http://vmwaros.blogspot.com/ <BR>
91
-  <BR>
92
-  Other packages: https://ranger.innolan.net/rainlance/amath/releases
82
+  FreeBSD: <a href="https://www.freshports.org/math/amath/">freshports.org</a><BR>
83
+  Haiku OS: <a href="https://depot.haiku-os.org/#!/pkg/amath/haikuports/1/8/3/-/1/x86_gcc2">depot.haiku-os.org</a><BR>
84
+  Mac OS X and Linux: <a href="https://pkgsrc.joyent.com">pkgsrc.joyent.com</a><<BR>
85
+  NetBSD:  <a href="http://ftp.netbsd.org/pub/pkgsrc/current/pkgsrc/math/amath/README.html">netbsd.org</a> and
86
+           <a href="http://pkgsrc.se/math/amath">pkgsrc.se</a><BR>
87
+  Windows: <a href="http://amath.innolan.net/amath-1.8.3-win.zip">amath.innolan.net</a><BR>
88
+  Other packages: <a href="http://ftp.innolan.net/pub/amath/">ftp.innolan.net</a>
93 89
   \subsection history History
94 90
   A full \ref release_page is available for amath.
95 91
 
@@ -98,6 +94,8 @@
98 94
 
99 95
   \subsection command_stat Statements
100 96
   \verbatim
97
+
98
+  about       Show about text
101 99
   clear       Clear console window
102 100
   def         Define function
103 101
   delete      Delete variable or function
@@ -114,6 +112,7 @@
114 112
   save        Save variable and functions to file
115 113
   variables   Show list of variables
116 114
   version     Show version string
115
+  license     Show copyright and license texts
117 116
   memory      Show internal memory usage
118 117
   exit        Exit program
119 118
   \endverbatim

+ 2
- 3
src/main/statement/help.cpp View File

@@ -90,12 +90,10 @@ char* HelpStatement::StatementHelp() const
90 90
     output->ClearBuffer();
91 91
 
92 92
     APPENDHELP(STATEMENTLINE)
93
+    APPENDHELP(STATEMENTABOUT)
93 94
 #if defined(AMIGA) || defined(TERMIOS) || defined(WINDOWS)
94 95
     APPENDHELP(STATEMENTCLEAR)
95 96
 #endif
96
-    APPENDHELP(STATEMENTDEF)
97
-    APPENDHELP(STATEMENTDELETE)
98
-    APPENDHELP(STATEMENTDIGITS)
99 97
     APPENDHELP(STATEMENTDEF)
100 98
     APPENDHELP(STATEMENTDELETE)
101 99
     APPENDHELP(STATEMENTDIGITS)
@@ -113,6 +111,7 @@ char* HelpStatement::StatementHelp() const
113 111
     APPENDHELP(STATEMENTSAVE)
114 112
     APPENDHELP(STATEMENTVARS)
115 113
     APPENDHELP(STATEMENTVERSION)
114
+    APPENDHELP(STATEMENTLICENSE)
116 115
     APPENDHELP(STATEMENTMEMORY)
117 116
     APPENDHELP(STATEMENTEXIT)
118 117
     APPENDHELP(STATEMENTLINE)

+ 1
- 1
src/real/amathr.3 View File

@@ -20,7 +20,7 @@
20 20
 .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
21 21
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 22
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23
-.TH "mathr.h" 3 "Version 1.8.3" "July 21 2017"
23
+.TH "mathr.h" 3 "Version 1.8.4" "August 05 2018"
24 24
 .SH NAME
25 25
 mathr.h \- Real numbers math library 
26 26
 .SH SYNOPSIS

+ 1
- 1
src/real/amathr.dox View File

@@ -1,7 +1,7 @@
1 1
 
2 2
 DOXYFILE_ENCODING      = UTF-8
3 3
 PROJECT_NAME           = "amathr"
4
-PROJECT_NUMBER         = "1.8.3"
4
+PROJECT_NUMBER         = "1.8.4"
5 5
 PROJECT_BRIEF          = "Real numbers math library"
6 6
 PROJECT_LOGO           =
7 7
 OUTPUT_DIRECTORY       = 

+ 1
- 1
src/real/amathr.pc View File

@@ -5,6 +5,6 @@ libdir=${exec_prefix}/lib
5 5
 
6 6
 Name: amath real library
7 7
 Description: Real numbers math library
8
-Version: 1.8.3
8
+Version: 1.8.4
9 9
 Cflags: -I${includedir}
10 10
 Libs: -L${libdir} -lamathr

+ 4
- 0
text/text.cd View File

@@ -36,6 +36,8 @@ INTROMSG (/8/)
36 36
 #NORMALTEXT##BOLD##STARTMSG##NEWLINE##NORMALTEXT##COLOR02#Type help to show info.#NEWLINE#
37 37
 STATEMENTLINE (/10/)
38 38
 ------------------------------------------------------------#NEWLINE#
39
+STATEMENTABOUT (/10/)
40
+about      Show about text#NEWLINE#
39 41
 STATEMENTCLEAR (/10/)
40 42
 clear      Clear console window#NEWLINE#
41 43
 STATEMENTDEF (/10/)
@@ -68,6 +70,8 @@ STATEMENTVARS (/10/)
68 70
 variables  Show list of variables#NEWLINE#
69 71
 STATEMENTVERSION (/10/)
70 72
 version    Show version string#NEWLINE#
73
+STATEMENTLICENSE (/10/)
74
+license    Show copyright and license texts#NEWLINE#
71 75
 STATEMENTMEMORY (/10/)
72 76
 memory     Show internal memory usage#NEWLINE#
73 77
 STATEMENTEXIT (/10/)

Loading…
Cancel
Save