-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathChangeLog
126 lines (84 loc) · 3.88 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
* 2014-08-29 Wolfram Schlich <[email protected]>
* bashinator.lib.0.sh: add a default value for a possibly missing __ScriptName
* bashinator.lib.0.sh, bashinator.cfg.sh: add new configuration variables
for prefixing messages with the script name + PID:
__PrintPrefixScriptNamePid
__LogPrefixScriptNamePid
__MailPrefixScriptNamePid
* 2014-03-17 Wolfram Schlich <[email protected]>
* all files: extend comments
* example.sh: add more inline documentation, make libraries + configs
user-overridable with environment variables by default
bashinator-0.6 (2014-04-14):
* 2014-03-14 Wolfram Schlich <[email protected]>
* library: add comment with a list of global variables used
* library: rename global variable Exit to __ScriptExitCode
while still supporting the old name for backwards compatibility
* __die(): add (optional) global variable __DieExitCode
for customizing the default exit code used by __die()
* __die(): remove the hardcoded "FATAL:" message prefix
* __msgPrint(): add comments about prefixes and colors
for the various severities
* __msgLog(): add comments about prefixes for the various severities
* __msgMail(): add comments about prefixes for the various severities
* bashinator.cfg.sh: add __ScriptGenerateStackTrace
global variable with default value of 0
* bashinator.cfg.sh: add more comments
* example.sh: fix default variant to system installation
instead of local installation
* all files: removed obsolete RCS headers
bashinator-0.5 (2010-05-13):
* 2010-05-13 Wolfram Schlich <[email protected]>
* library: allow the user to disable using a safe PATH
variable by defining __ScriptUseSafePathEnv=0
* library: allow the user to set a custom umask by
defining __ScriptUmask=<umask>
* library: message severities can now also be specified
numerically (see /usr/include/sys/syslog.h and bashinator.cfg.sh)
* library: message severity prefixes are now configurable
by the user (see bashinator.cfg.sh
* library: allow the user to define custom signal handling
functions named __trap<signal> (e.g. __trapSIGHUP).
this way, also builtin traps can be overridden.
to ignore SIGINTs instead of exiting (default), just
define a __trapSIGINT function that does nothing:
function __trapSIGINT() { :; }
...and you're done.
bashinator-0.4 (2009-10-08):
* 2009-10-08 Wolfram Schlich <[email protected]>
* library: added __requireCommand()
* messaging: added new message configuration options for
prefixing messages with their severity and source (file name,
line number, function name):
__PrintPrefixSeverity
__PrintPrefixSource
__LogPrefixSeverity
__LogPrefixSource
__MailPrefixSeverity
__MailPrefixSource
NOTE: manually printed/logged/mailed messages do not get
their source recorded.
* __msgPrint(): added rxvt as terminal supporting color
* __addPrefix(): improve reliability by escaping certain characters
* __addPrefix(): do NOT automatically add any characters to the prefix
* __dispatch(): on __init() and __main() failure (return value != 0),
__die() with their return value instead of 2
* __requireSource(), __includeSource(): check file argument
bashinator-0.3.1 (2009-10-05):
* 2009-10-05 Wolfram Schlich <[email protected]>
* __boot(): fix bash version number comparison bug which prevented
bashinator to work with bash-4.0.x
bashinator-0.3 (2009-05-28):
* 2009-05-28 Wolfram Schlich <[email protected]>
* __boot(): when bash version number check fails,
exit instead of return
* example.sh: change invocation of __boot() and __dispatch()
bashinator-0.2 (2009-05-28):
* 2009-05-28 Wolfram Schlich <[email protected]>
* library: added __includeSource() and __requireSource()
* example.sh: boot bashinator before handling application
component files (library, config), so we can use the new
__requireSource() for sourcing those files
bashinator-0.1 (2009-05-28):
* 2009-05-28 Wolfram Schlich <[email protected]>
* initial release