-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCHANGELOG
636 lines (458 loc) · 26.6 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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
CHANGELOG (SaLoMon)
Version 1.16.0 (2019-12-07)
+ Added a command-line argument (and feature) to merge multiple input
files when using analyze mode (useful for files containing lines
starting with timestamps).
* Revised some code in general (negligible changes).
* Revised the code to handle cancel requests of the user.
* Revised the prompt output on exit (unified appearance).
# Fixed prompt on exit bug (did not work properly in some cases when
the information header and footer were not displayed).
Version 1.15.1 (2019-11-13)
+ Added an option to the global config file to automatically set the
width of lines (separators) based on the terminal size.
* Revised the config file validation code inside the common core
module (also included a bugfix).
* Revised the installation script significantly.
* Revised the output when using box-drawing characters (negligible
changes).
Version 1.15.0 (2019-11-03)
+ Added an option to the global config file to use box-drawing
characters for lines and separators.
+ Added some code to validate the values from the global config file.
* Revised the interactive mode (the main SaLoMon script does not exit
after error dialogs anymore and returns to the previous dialog).
* Revised the permission checks for given file paths (revised the
already existing ones and added some new).
# Fixed the line count bug when pausing the output (paused after the
processed lines instead of returned lines).
# Fixed the return empty files (blank lines) bug when analyzing
certain files.
Version 1.14.1 (2019-08-06)
+ Added debug feature for core modules (these scripts can be modified
without backup by copying them into a separate debug directory).
* Revised the color table output (adjusted color information for pure
text-based interfaces).
* Revised the installation script (negligible changes).
* Revised the output core module (negligible changes).
Version 1.14.0 (2019-05-04)
+ Added some alternative file extensions for the global config file.
+ Added the shebang adjustment script (required in case the shebang
inside the script files causes a "bad interpreter" error).
* Revised the command check function inside the common core module.
# Fixed the possible shebang error in the compatibility script when
performing the function test (replaced static string with an
environment variable).
Version 1.13.1 (2019-04-19)
* Revised the usage information output (negligible changes).
* Revised various command-line arguments (added short variants).
Version 1.13.0 (2019-01-14)
+ Added a dialog to print the command-line arguments in interactive
mode (can be copied and used for e.g. aliases, desktop shortcuts or
scripts).
+ Added an option to force dark or light font colors (depending on
the background color of the terminal emulator).
+ Added the support for the HTML specification color names (only for
the 16 pre-defined colors).
* Revised some code inside the main SaLoMon script as well as in the
dialog core module (negligible changes).
* Revised the usage information output of the main SaLoMon script
(divided the optional arguments into optional and general ones).
Version 1.12.1 (2018-12-13)
* Revised the feature for bold and underlined text formatting options
for colorized lines (works with color codes now).
# Fixed the bug which caused that highlight matches did not work with
bold and/or underlined text format.
# Fixed the syntax error inside the warning method.
Version 1.12.0 (2018-11-25)
+ Added the feature for bold and underlined text formatting options
for colorized lines.
* Revised an option inside the global config file (new option values).
* Revised the compatibility script (cleaned up color related code).
* Revised the foreground color related code inside the output core
module.
# Fixed the output format of colorized lines (removed default bold
font style when using light colors).
Version 1.11.1 (2018-11-16)
+ Added an option to the global config file to manually set the
foreground color of highlighted matches.
# Fixed the highlight match bug (the '--highlight-matches' argument
did not have any effect when using color codes).
- Removed a deprecated and unnecessary shell pre-check function.
- Removed some unnecessary global variables.
Version 1.11.0 (2018-10-24)
+ Added a command-line argument (and feature) to pause the output (by
prompt) after a user-defined amount of lines.
+ Added a version check for the Bash shell (some code requires at
least version 4).
+ Added some warnings (if non-existent color names, invalid color
codes or color terms containing invalid characters were given).
* Revised most of the color related code inside the core modules (for
parsing the config files and colorizing lines) for more efficient
output.
* Revised the compatibility script (added specific exit codes).
* Revised the output header (added additional information).
* Revised the prompt on exit argument (can also be used with analyze
mode now).
* Revised the usage information from the main SaLoMon script.
Version 1.10.0 (2018-10-16)
+ Added a command-line argument (and feature) to return a certain
amount of first lines (head) of the input file.
+ Added another command-line argument (and feature) to return a
certain amount of last lines (tail) of the input file.
+ Added the alternative command-line arguments '--analyze' and
'--monitor' which can be used instead of '-a' followed by the
action.
* Revised the color config files (added additional terms).
* Revised the installation script (requires an explicit argument and
does not implicitly install SaLoMon anymore).
* Revised the main SaLoMon script (negligible changes).
# Fixed the symlink bug inside the installation script (symlinks to
main SaLoMon script did not work when '/usr/local/bin' was missing
inside the global path variable '$PATH').
# Fixed the update check bug inside the main SaLoMon script.
Version 1.9.7 (2018-10-02)
+ Added additional color config files for various log files.
+ Added an interactive dialog for the feature to simultaneously export
the SaLoMon output into a file.
* Revised the global config file (added an additional option for the
export dialog when using interactive mode).
* Revised the input file path validation (added additional path
check).
* Revised the method of parsing color config files inside the output
core module.
* Revised the output core module (negligible changes).
Version 1.9.6 (2018-06-11)
+ Added a command-line argument (and feature) to check if SaLoMon is
up-to-date.
+ Added an optional command-line argument (and feature) to
simultaneously export the SaLoMon output into a file including
color and highlighting codes.
* Revised the global config file (negligible changes).
* Revised the shell compatibility script (negligible changes).
Version 1.9.5 (2018-05-17)
+ Added the support for the 'whiptail' dialog program when using
interactive dialogs.
* Revised the common core module (negligible changes).
* Revised the installation script (negligible changes).
* Revised the shell compatibility script (replaced inconvenient check
commands with some consistent ones).
# Fixed the interactive mode config bug (option to display the dialog
for the information header inside the config file was ignored before
and the dialog has always been shown).
# Fixed the interactive mode error bug (in case no supported dialog
program is installed, error messages will be printed on the shell
instead of trying to display them via dialog program).
Version 1.9.4 (2018-01-10)
+ Added a dialog (when using interactive mode) for displaying the
information header and footer.
+ Added a function to the common core module to print a notice in case
deprecated command-line arguments have been given.
+ Added some code to check if the main scripts are being executed
using the Bash shell (instead of just checking if the Bash shell is
installed).
* Revised the dialog core module (negligible changes).
* Revised the highlighting related command-line arguments (added short
variants of the arguments).
Version 1.9.3 (2017-12-11)
+ Added a global config file ('salomon.cfg') for certain options that
cannot be set using command-line arguments.
* Revised the command-line arguments for more clarity as well as usage
information (negligible changes).
* Revised the dialog core module (added cancel buttons to input
dialogs and also some negligible changes).
* Revised the output header inside the output core module (negligible
changes).
* Revised the output of the 256-color table (added further information
and optimized the output for a 80x25 text-based user interface).
# Fixed the multiple highlight arguments bug when using interactive
mode.
# Fixed the irrelevant error message bug when the '--color-table'
argument was not given.
Version 1.9.2 (2017-11-23)
+ Added an optional command-line argument (and feature) to print the
256-color table to see which colors are supported by the terminal
emulator currently used.
* Revised (and reduced) the 'dialog' related code.
* Revised the code to parse pattern command-line arguments (negligible
changes).
# Fixed the default-button bug on the interactive dialogs.
# Fixed the freeze bug (increased CPU usage) when hitting Ctrl+C at
the prompt after canceling the monitoring process.
Version 1.9.1 (2017-11-16)
# Fixed the command-line argument issue with older versions of the
'dialog' tool.
# Fixed the missing interactive check inside the main SaLoMon script
when checking for prompt on exit.
Version 1.9.0 (2017-11-15)
+ Added an optional command-line argument (and feature) to use
interactive dialogs instead of or in combination with command-line
arguments.
* Revised the code to process input file paths that contain spaces.
Version 1.8.3 (2017-10-14)
* Revised the code to process the input files inside the main SaLoMon
as well as the analyzing and monitoring core module.
* Revised the output header inside the output core module (negligible
changes related to multiple input files).
* Revised the separator when processing multiple input files (replaced
the previous one with a line of hyphens).
# Fixed the bug that input file paths cannot contain any spaces.
Version 1.8.2 (2017-09-13)
* Revised the code in various SaLoMon components to allow multiple
input files at once.
* Revised the output header inside the output core module (removed
information duplicates).
* Revised the shell compatibility check script (added check for the
'paste' tool, removed duplicate of 'trap').
* Revised various SaLoMon components (negligible changes).
- Removed the optional command-line argument to analyze the given
input files inside a temporary copy instead of the files themselves
(the temporary copy will be created by default now).
Version 1.8.1 (2017-08-17)
+ Added an optional command-line argument (and feature) to remove the
trailing whitespaces of a whole highlighted line.
* Revised some code inside the output core module for higher
performance and less code.
* Revised the output header when using analyze mode.
* Revised the shell compatibility check script (added check for the
'dialog' tool in advance).
* Revised various SaLoMon components (negligible changes).
Version 1.8.0 (2017-06-08)
+ Added an optional command-line argument (and feature) to highlight
the whole line (instead of only the filter terms).
+ Added the support for 256-color highlighting.
* Revised the command-line argument parser in the main SaLoMon script.
* Revised the output header inside the output core module (added all
relevant keystrokes).
# Fixed the ignore-case information bug inside the output header (not
displayed correctly before).
Version 1.7.4 (2017-04-01)
* Revised the exit codes of the scripts in general (including exit
code 1 in case the Bash shell is missing).
* Revised the output header inside the output core module (negligible
changes).
Version 1.7.3 (2017-02-08)
* Revised all components (adjusted various comparison operators and
removed unnecessary quotes around variables).
# Fixed the left-over temporary file bug when the process has been
canceled.
# Fixed the version number bug inside the main SaLoMon script (the
command-line argument to show the version information returned an
empty string).
- Removed an unnecessary global variable containing a comparison
operator.
Version 1.7.2 (2017-02-01)
+ Added a variable into the global variable core module containing the
version number (instead of such a variable in each non-core module).
* Revised the main and the install script (abbreviated the notice
about the missing Bash shell and referred to the shell compatibility
script for details).
* Revised the notice inside the shell compatibility script about the
missing Bash shell.
* Revised the syntax to check for zero-length strings in various
components.
- Removed the variables containing the version number inside the non-
core modules (now a global variable).
Version 1.7.1 (2017-01-03)
+ Added a permission check on the input file (exit in case the file
cannot be read).
* Revised the highlight feature (highlight all filter terms in an
output line if multiple occur).
* Revised the usage information inside the SaLoMon common core module
(negligible changes).
# Fixed the exclude information bug inside the output header (missing
exclude pattern).
# Fixed the exclude filter pattern bug (now, the exclude list must not
contain a filter term).
# Fixed the remove filter pattern bug (now, the remove list must not
contain a filter term).
Version 1.7.0 (2016-12-14)
+ Added an optional command-line argument (and feature) to highlight
the filter terms additionally with uppercase letters (was implicit
before, now is explicit).
* Revised all components which contained "useless use of" syntax
constructions and mostly replaced them with more sensible code.
Version 1.6.2 (2015-04-30)
* Revised some of the output lines (changed their format, removed
unnecessary whitespaces and further negligible changes).
# Fixed the filter information bug inside the output header (missing
filter pattern).
Version 1.6.1 (2015-04-27)
* Revised all of the SaLoMon components to check if the required shell
is being installed.
* Revised the SaLoMon global variable core module.
Version 1.6.0 (2015-04-24)
+ Added some additional checks to the compatibility check script.
* Revised all of the SaLoMon components to provide enhanced shell
compatibility.
* Revised (reorganized) the compatibility check script.
Version 1.5.9 (2015-04-17)
* Revised (changed) the string comparison operators in all components
(for shell compatibility reasons).
* Revised the main SaLoMon script (added a pre-check to check if the
currently used shell is suitable for running SaLoMon).
* Revised the compatibility check script (also added a pre-check with
additional information).
Version 1.5.8 (2015-03-27)
* Revised (reduced) some code inside the install script.
# Fixed the shebang bug in all components which caused syntax errors
on some systems (now, the Bash shell is explicitly set to execute
the scripts).
Version 1.5.7 (2015-03-14)
+ Added the action command-line argument to the main SaLoMon script
(replaces the previous analyze argument, which however still works
for backwards compatibility purposes).
* Revised the description of some already existing command-line
arguments of the main SaLoMon script (negligible changes).
Version 1.5.6 (2015-02-07)
+ Added an optional command-line argument (and feature) to process
temporary copy of the input file instead of the input file itself.
* Revised the usage information text (added line breaks for better
readability).
Version 1.5.5 (2015-01-13)
* Revised some code inside the monitoring core module (negligible
changes).
# Fixed the freeze bug inside the SaLoMon monitoring core module (in
case the input file has been temporarily moved e.g. by a log
rotation process).
Version 1.5.4 (2014-12-17)
* Revised (reorganized) the core functionality of the main SaLoMon
script as well as the structure of the project itself.
* Revised the code for formatting the shell output inside the main
SaLoMon script.
* Revised the compatibility check script (negligible changes).
Version 1.5.3 (2014-12-08)
* Revised (reorganized) the filter code inside the main SaLoMon
script.
* Revised the output header inside the main SaLoMon script (added some
information and changed some decriptions for more clarity).
# Fixed the color bug inside the main SaLoMon script (lines have not
been colorized properly when no filter was given).
Version 1.5.2 (2014-12-06)
+ Added an optional command-line argument (and feature) to the main
SaLoMon script that allows excluding lines containing certain terms.
* Revised the install script (added additional command-line
arguments).
* Revised the compatibility check script (negligible changes).
# Fixed the filter whitespace bug inside the main SaLoMon script
(filters containing spaces have not been processed properly).
Version 1.5.1 (2014-11-21)
* Revised the information header inside the main SaLoMon script (added
new and revised information details).
# Fixed the highlight bug inside the main SaLoMon script (terms have
not been highlighted if multiple filter terms were given).
# Fixed the wait on match bug inside the main SaLoMon script (did not
work properly).
Version 1.5.0 (2014-11-19)
+ Added an optional command-line argument (and feature) to the main
SaLoMon script that additionally highlights the filter term.
* Revised (reorganized) the main SaLoMon script (for the new feature
as well as for more clarity).
* Revised the compatibility check script (improved the code to check
for additional commands).
- Removed backwards compatibility command-line arguments from the main
SaLoMon script (they still exist, but are no longer listed inside
the usage information).
- Removed start-up delay from the main SaLoMon script when displaying
the detail header.
Version 1.4.0 (2014-10-02)
+ Added some details to the information header of the main SaLoMon
script.
+ Added the optional command-line argument (and feature) to the main
SaLoMon script to wait after printing a colorized line.
* Revised the function to suppress the information header and footer
in the main SaLoMon script.
* Revised the monitoring function inside the main SaLoMon script
(also allows slowing down the shell output now).
# Fixed the prompt bug when the monitoring process gets canceled on
user request inside the main SaLoMon script (prompted even though
the corresponding argument was missing).
# Fixed the (negligible) default delay value bug inside the main
SaLoMon script (the value was different from the one shown in the
usage information).
Version 1.3.1 (2014-09-23)
+ Added some details to the information header of the main SaLoMon
script.
+ Added some details to the main SaLoMon script when analyzing a file
(information footer).
+ Added the optional command-line argument to the main SaLoMon script
to disable the information header.
* Revised the description of some command-line arguments of the main
SaLoMon script for more clarity.
* Revised the main script in general (added a new function for SaLoMon
related shell output and reduced some code).
Version 1.3.0 (2014-09-19)
+ Added an optional command-line argument to the main SaLoMon script
to prompt before exit in case the process gets canceled on user
request.
+ Added an optional command-line argument to the main SaLoMon script
to set the delay for the slow down feature.
* Revised the main SaLoMon script in general (several changes).
* Revised the compatibility check script (disabled unnecessary
checks).
Version 1.2.4 (2014-09-06)
+ Added an optional command-line argument (and feature) to the main
SaLoMon script to slow down the file analyzing process (decreases
CPU usage).
* Revised the command-line arguments inside main SaLoMon script in
general.
* Revised the compatibility check script (improved the code to check
for certain commands).
# Fixed the error message bug inside the main SaLoMon script (messages
were not displayed correctly).
Version 1.2.3 (2014-08-04)
+ Added a compatibility check script (which checks if SaLoMon runs on
the used shell).
* Revised the main SaLoMon script (removed deprecated code).
Version 1.2.2 (2014-07-30)
* Revised the install script (added alternate path where to create
the symbolic link to the main script).
# Fixed the copy bug inside the install script (data has not been
copied to the target directory properly).
Version 1.2.1 (2014-07-29)
+ Added an install/uninstall script for SaLoMon.
* Revised the code for processing command-line arguments of the main
SaLoMon script.
* Revised the variables used in the main SaLoMon script (set more
suggestive names, removed unnecessary ones).
Version 1.2.0 (2014-07-28)
* Revised the code inside the main SaLoMon script for coloring the
lines (works way faster now and requires less resources).
* Revised the code inside the main SaLoMon script for processing color
files significantly.
Version 1.1.1 (2014-05-08)
+ Added some code to the main SaLoMon script that allows omitting the
config file path if the file is located in the corresponding config
sub-directory.
* Revised (reorganized) the code of the main SaLoMon script (added
some additional functions for increased readability).
* Revised the command-line arguments of the main SaLoMon script (and
added an additional argument for backwards compatibility).
Version 1.1.0 (2014-04-19)
+ Added additional options for applying a filter using a config file
to the main SaLoMon script.
* Revised some output text messages to the main SaLoMon script (for
more clarity).
* Revised the command-line argument parser inside the main SaLoMon
script (less code, more flexible).
* Revised the command-line argument for the filter pattern of the main
SaLoMon script (added support for patterns that contain spaces).
Version 1.0.3 (2014-04-16)
+ Added a handler for unrecognized command-line arguments to the main
SaLoMon script.
# Fixed the negligible command-line argument validation bug inside the
main SaLoMon script (of those arguments that require a file path).
Version 1.0.2 (2014-04-15)
* Revised the filter pattern command-line argument inside the main
SaLoMon script (added support for multiple patterns).
* Revised the output header text of the main SaLoMon script (added the
absolute path to the given file names, if missing).
Version 1.0.1 (2014-04-14)
+ Added an optional command-line argument to the the main SaLoMon
script to print the version number of the script and exit.
* Revised the code to handle the given command-line arguments inside
the main SaLoMon script.
* Revised the output header text inside the main SaLoMon script (added
some process details).
Version 1.0.0 (2014-04-10)
* First official release of this major version.