Commit Graph

310 Commits

Author SHA1 Message Date
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
PartialVolume
5c60dce0c5 Update CHANGELOG.md 2020-01-21 23:25:33 +00:00
PartialVolume
49b35aef8a Merge pull request #192 from louib/normalize_workflow_names
Normalizing workflow names.
2020-01-13 09:49:05 +00:00
louib
a3a056ce75 Normalizing workflow names. 2020-01-13 01:22:36 -05:00
PartialVolume
ead9a78453 Merge pull request #189 from louib/format_doc
code formatting developer doc.
2020-01-12 21:37:12 +00:00
PartialVolume
bebae43b3b Merge pull request #190 from louib/fix_device_label_printing
Prefixing device fields with `_device`.
2020-01-12 21:36:56 +00:00
louib
49aa14a490 Prefixing device fields with _device.
Also added a `device_label` field to centralize
the creation of the device label. This fixes the
labels for devices without a serial number, and
makes sure we have the same label format everywhere.
2020-01-12 14:24:32 -05:00
louib
3aca56eded code formatting developer doc. 2020-01-12 13:02:36 -05:00
PartialVolume
b26bb839ef Merge pull request #188 from PartialVolume/fix_is5_percentage
Fix percentage calculation for IS5 only
2020-01-12 10:25:32 +00:00
PartialVolume
0a53ec9c42 Fix percentage calculation for IS5 only 2020-01-12 10:20:17 +00:00
PartialVolume
df07393f9d Merge pull request #187 from louib/project_layout
Creating subdirs for third-party modules.
2020-01-11 00:40:17 +00:00
louib
af0fdadc88 Creating subdirs for third-party modules.
Since these modules are considered third-party (at
least for now) and we also don't want to apply
formatting to them.

Also removed the `AUTOMAKE_OPTIONS` from `Makefile.am` since
it would appear the `AM_INIT_AUTOMAKE` is actually defining
the automake options.
2020-01-10 18:08:07 -05:00
PartialVolume
8384142f58 Merge pull request #186 from louib/formatting_pass_9
Formatting gui module.
2020-01-09 23:28:59 +00:00
louib
4071e5f66a Formatting gui module. 2020-01-07 20:05:16 -05:00
PartialVolume
3089a78f72 Merge pull request #185 from louib/formatting_pass_8
Formatting pass 8
2020-01-07 09:25:36 +00:00
louib
6b7186f7ed Formatting logging module. 2020-01-06 20:40:26 -05:00
louib
6ca41a899f Enabling formatting. 2020-01-06 20:25:36 -05:00
PartialVolume
35bcc518b5 Merge pull request #184 from louib/formatting_pass_7
Formatting prng module.
2020-01-06 11:01:07 +00:00
louib
7af9c90e3a Formatting prng module. 2020-01-05 20:45:26 -05:00
PartialVolume
b53a4b58db Merge pull request #183 from louib/formatting_pass_6
Formatting pass module.
2020-01-06 00:53:42 +00:00
louib
851735c1f0 Formatting pass module. 2020-01-05 19:11:24 -05:00
PartialVolume
79dee9cb79 Merge pull request #180 from louib/formatting_pass_5
Formatting device module.
2020-01-05 23:40:51 +00:00
PartialVolume
756db3e0e1 Merge pull request #182 from PartialVolume/fix_zero_fill
Fix zero fill so it works with rounds and is consistent with other methods in terms of pattern creation.
2020-01-05 23:20:33 +00:00
PartialVolume
0037c46860 Check & correct style
clang-format -i -style=file src/method.c
2020-01-05 23:12:41 +00:00
PartialVolume
7d416911d2 Fix zero fill so it works with rounds
Also so that verify and blanking are consistant with other methods.
Fixes percentage calculation for rounds greater than one for the zero fill method.
2020-01-05 23:08:36 +00:00
louib
a5a3f3b9a3 Formatting device module. 2020-01-05 16:29:27 -05:00
PartialVolume
1be4e99a29 Merge pull request #179 from PartialVolume/fix_percentage_calculation_for_rounds_greater_than_one
Fix percentage calculation for rounds greater than one
2020-01-05 21:24:12 +00:00
PartialVolume
d39427ae86 clang-format -i -style=file src/method.c
Check & correct style.
2020-01-05 21:21:05 +00:00
PartialVolume
0b6ce3182d Fix percentage calculation when rounds > 1
Update comment.
2020-01-05 21:10:50 +00:00
PartialVolume
5f01b660bd Merge pull request #177 from louib/formatting_pass_4
Formatting context.h
2020-01-05 19:26:32 +00:00
PartialVolume
10f2678c10 Merge branch 'master' into formatting_pass_4 2020-01-05 19:23:50 +00:00
PartialVolume
3c4a536eeb Merge pull request #171 from louib/formatting_pass_3
formatting method and version module.
2020-01-05 19:17:53 +00:00
louib
bc8cfeb478 formatting method and version module. 2020-01-05 13:10:26 -05:00
PartialVolume
cb4d411b05 Merge pull request #178 from PartialVolume/fix_percentage_for_zero_fill
Fix percentage complete calculation for all methods
2020-01-05 03:33:33 +00:00
PartialVolume
3bcc544610 Fix percentage complete calculation.
Also fixes OPSII method.
Place round_size calculation in the function calculate_round_size()
2020-01-05 03:28:28 +00:00
louib
92c7d99714 Formatting context.h 2020-01-04 12:38:41 -05:00