Commit Graph

345 Commits

Author SHA1 Message Date
PartialVolume
9caceaa75d Update CHANGELOG.md 2020-03-13 18:06:20 +00:00
PartialVolume
75fce57ab4 Merge pull request #219 from PartialVolume/reduce_unneccesary_lines_in_log_while_retaining_info
Reduce unnecessary lines in log while retaining info
2020-03-13 17:51:32 +00:00
PartialVolume
e955725fc5 Style formatting 2020-03-13 17:48:20 +00:00
PartialVolume
1c1b25e1ae Keep nwipe_log notices succinct
1. Keep nwipe_log notices succinct and below 80 chars in length including
timestamp. This is especially relevant for 80x30 terminal use such
as ALT-F2 etc or Shredos without losing any information.

2. Add [SUCCESS] to blanked & verified messages to make them stand out for quicker checking.
2020-03-13 17:24:08 +00:00
PartialVolume
d4963092dd Update README.md 2020-03-13 08:42:39 +00:00
PartialVolume
1083207d49 Update README.md with automation script
This script will install all the necessary libraries and software to compiling nwipe, download the latest master version of nwipe and run it, all with a single command ./buildnwipe
2020-03-13 01:22:01 +00:00
PartialVolume
458a3d780f Update CHANGELOG.md, adding verbose option to 0.29
Add verbose option -v, --verbose
Only display thread cancellation info messages, excluding error
messages, only when verbose option is selected.

This helps to keep the log a bit cleaner especially when wiping many
drives simultaneously.
2020-03-12 13:03:09 +00:00
PartialVolume
08c9cbe9f1 Merge pull request #217 from PartialVolume/add_verbose_option
Add verbose option
2020-03-12 12:59:13 +00:00
PartialVolume
e9caad3bef Add verbose option
Add verbose option -v, --verbose
Only display thread cancellation info messages, excluding error
messages, only when verbose option is selected.

This helps to keep the log a bit cleaner especially when wiping many
drives simultaneously.
2020-03-12 12:55:10 +00:00
PartialVolume
50e7cfaa7b Merge pull request #216 from PartialVolume/master
Update CHANGELOG.md
2020-03-12 00:45:15 +00:00
PartialVolume
ea39f57afb Update CHANGELOG.md 2020-03-12 00:38:25 +00:00
PartialVolume
880823cc9b Merge pull request #215 from PartialVolume/add_auto_poweroff
Add auto poweroff, fix non working nowait option.
2020-03-12 00:05:20 +00:00
PartialVolume
7d3a3c5f1e format code style 2020-03-12 00:00:06 +00:00
PartialVolume
e33c1bb06d Add --autopoweroff option
Fix non working --nowait option.
Update version info to 0.29-release candidate
2020-03-11 23:44:11 +00:00
PartialVolume
50079a15f9 Merge pull request #211 from PartialVolume/Release_0.28
Release 0.28
v0.28
2020-03-11 16:48:48 +00:00
PartialVolume
cc82687cf3 Release 0.28 2020-03-11 16:44:13 +00:00
PartialVolume
82a867b569 Merge pull request #210 from martijnvanbrummelen/PartialVolume-fix_individual_throughput
Update CHANGELOG.md
2020-03-11 14:06:21 +00:00
PartialVolume
fee849b35e Update CHANGELOG.md 2020-03-11 14:03:16 +00:00
PartialVolume
09d9fc88fb Merge pull request #209 from PartialVolume/fix_individual_device_throughput
Fix individual device throughput.
2020-03-11 13:58:24 +00:00
PartialVolume
6570197de0 Fix individual device throughput.
On completion of a device wipe, the throughput was continuing
to be calculated for a completed wipe which resulted in the
throughput for that particular device to gradually drop over time
to zero if other drives were still

This has now been corrected. Throughput calculation for a given
device is stopped when the particular device has completed its wipe.
2020-03-11 13:55:44 +00:00
PartialVolume
4eef3e6ab0 Merge pull request #208 from martijnvanbrummelen/PartialVolume-update-CHANGELOG.md
Update CHANGELOG.md
2020-03-11 10:05:27 +00:00
PartialVolume
c4969e36f1 Update CHANGELOG.md
Add hyperlinks to 0.28 changes.
2020-03-11 10:04:01 +00:00
PartialVolume
c75c393e49 Merge pull request #207 from martijnvanbrummelen/PartialVolume-update-CHANGELOG.md
Update CHANGELOG.md
2020-03-10 21:16:33 +00:00
PartialVolume
53e5f4ca3a Update CHANGELOG.md 2020-03-10 21:15:30 +00:00
PartialVolume
72505f00cc Merge pull request #206 from martijnvanbrummelen/PartialVolume-Screen-responsivness-during-wipe
Update CHANGELOG.md
2020-03-10 20:36:22 +00:00
PartialVolume
f4947eb317 Update CHANGELOG.md 2020-03-10 20:34:48 +00:00
PartialVolume
5775498803 Merge pull request #205 from PartialVolume/slow_main_window_refresh_during_wipe_after_terminal_resize
Slow main window refresh during wipe after terminal resize
2020-03-10 20:29:28 +00:00
PartialVolume
85059c73c4 Format code 2020-03-10 20:25:52 +00:00
PartialVolume
cd420a079d Fix 1 second delay on screen update when terminal is resized.
During a wipe there is a approximately 1 second delay between
resizing the window and the screen fully updating. This has been
corrected so screen updates and as a consequence key response is
faster. This makes the GUI interface feel smoother and more responsive.
2020-03-10 20:21:00 +00:00
PartialVolume
e2ec6a560f Merge pull request #204 from PartialVolume/fix_overflow_warning
Fix overflow warning
2020-03-10 15:30:24 +00:00
PartialVolume
87199a1940 Clang formatting. 2020-03-10 15:23:18 +00:00
PartialVolume
88cae05301 Fix overflow warning message.
Use sizeof to determine suitable string size for the dmidecode cmd buffer
2020-03-10 15:18:25 +00:00
Martijn van Brummelen
14d285fb63 Update nwipe.1
Section should be 1 not 4
2020-03-10 10:12:33 +01:00
PartialVolume
69e27abf2b Merge pull request #201 from martijnvanbrummelen/PartialVolume-update-CHANGELOG.md
Update CHANGELOG.md
2020-03-09 14:39:29 +00:00
PartialVolume
32862d6af7 Update CHANGELOG.md 2020-03-09 14:36:18 +00:00
PartialVolume
fb00aa0243 Merge pull request #200 from PartialVolume/fix_flicker
Fix flicker
2020-03-09 14:26:51 +00:00
PartialVolume
e779265b01 Update pre-release title banner -1, update format 2020-03-09 14:20:42 +00:00
PartialVolume
aad29f14c2 This fixes screen flicker seen in the following situations:
These apply in full screen mode ONLY: i.e ALT-F2, Shredos etc.
1. When selecting a drive using up/down arrow keys
2. During a wipe the screen flashes at one second intervals.

These apply in a terminal window such as konsole, tmux etc.
1. When resizing the terminal there was a flicker.

All these problems have been fixed.

Most of the causes of the flicker was an excessive use of wrefresh() which calls
the wnoutrefresh() and doupdate() functions. This can cause flickering when a
number of calls to wrefresh happen at the same time. It is more appropriate to
replace the wrefresh() with wnoutrefresh(), then at an appropriate time call
doupate() just once. The result is that before doupdate() would have been
called multiple times and now it's called once when required.

fixes #115
2020-03-09 14:16:21 +00:00
PartialVolume
fe06f88ae2 Update CHANGELOG.md 2020-03-08 02:25:33 +00:00
PartialVolume
b3adbb3a17 Update CHANGELOG.md 2020-03-08 01:58:26 +00:00
PartialVolume
ce61974eba Merge pull request #199 from PartialVolume/fix_exit_on_terminal_resize_after_wipe_complete
Fix window/panel resizing & display when terminal resized by user
2020-03-08 01:51:07 +00:00
PartialVolume
95ab80cc68 Fix window/panel resizing & display when terminal resized by user
Also fixes an issue where program exits when terminal resized but
only after all the wipes have finished. You can now resize the
terminal, before, during and after the wipes have completed and
the windows are now all correctly updated and sized.

Updated version to 0.28-pre-release

Removed unnecessary zero of gui thread pointer.

Created six new functions in gui.c in order to fix the above problem
and reduce existing duplicated code.
2020-03-08 01:42:47 +00:00
PartialVolume
0077fcbc12 Update CHANGELOG.md 2020-03-07 01:31:18 +00:00
PartialVolume
98f4466d89 Update CHANGELOG.md 2020-03-06 14:41:21 +00:00
PartialVolume
203f6a06f5 Update CHANGELOG.md
Proposed changes in code for release in 0.28 due Summer 2020
2020-03-06 14:14:00 +00:00
PartialVolume
0eeab11af6 Merge pull request #198 from PartialVolume/master
Release 0.27
v0.27
2020-03-03 20:54:49 +00:00
PartialVolume
97e5591fd5 Release 0.27 2020-03-03 20:38:47 +00:00
PartialVolume
5f1aafed2f Merge pull request #194 from louib/using_git_exit_code
Using git-diff --exit-code for diff details.
2020-02-08 17:22:33 +00:00
louib
6822c463eb Using git-diff --exit-code for diff details. 2020-02-08 12:07:19 -05:00
PartialVolume
6d797b742c Update CHANGELOG.md 2020-01-21 23:29:01 +00:00