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
PartialVolume
c952939dff
Merge pull request #175 from PartialVolume/show_percentage_on_completion
...
Show percentage completed, on completion of wipe.
2019-12-30 18:21:34 +00:00
PartialVolume
e5a0f85d56
Show percentage completed, on completion of wipe.
...
Rather than delete percentage complete, show it. Because we were hiding
percentage complete we were not aware of inaccuracies in the percentage
calculation that are introduced when you toggle blanking and
verification on various methods.
2019-12-30 18:18:15 +00:00
PartialVolume
f69aff33a4
Merge pull request #169 from louib/formatting_fixes
...
Small formatting fix.
2019-12-29 21:30:04 +00:00
louib
d19dc05793
Small formatting fix.
2019-12-29 16:19:17 -05:00
PartialVolume
7a87bafc0f
Merge pull request #168 from infrastation/master
...
add HMG IS5 enhanced and make minor fixups
2019-12-29 20:55:57 +00:00
PartialVolume
615c2ee035
Merge branch 'master' into master
2019-12-29 20:47:14 +00:00
PartialVolume
559bc3db56
Merge pull request #167 from louib/formatting_pass_2
...
Formatting pass 2
2019-12-29 20:17:20 +00:00
Denis Ovsienko
04fe9f217e
add an initial implementation of HMG IS5 enhanced
...
I could not find the original specification of this standard, although
many proprietary implementations exist (or claim to exist). Also there
are many 3rd-party descriptions of the method, which often differ in one
or another detail, but after some reading I could conclude that the most
likely definition should be as follows:
1. Fill the device with zeroes, do not verify.
2. Fill the device with ones, do not verify.
3. Fill the device with a PRNG stream, do verify.
In other words, this is a simplified version of nwipe's "dodshort".
2019-12-28 22:41:32 +00:00
Denis Ovsienko
ead64479f4
remove duplicate "h" from nwipe_options_short[]
2019-12-28 22:09:50 +00:00
Denis Ovsienko
e2c9d030de
fixup list formatting for --verify in the man page
2019-12-28 22:09:50 +00:00
Denis Ovsienko
f866d84e3d
fixup descriptions of --noblank
...
Both display_help() and nwipe_options_parse() are consistent about the
--noblank option, in that it exists and has no short form. Make the man
page and nwipe_gui_noblank() indicate that correctly. Mention that "ops2"
never blanks the device regardless of the option.
2019-12-28 22:09:50 +00:00
Denis Ovsienko
97c736e630
fixup a comment in method.c
2019-12-28 22:09:50 +00:00
Denis Ovsienko
c3679f9d3b
fixup PRNG names in README.md
2019-12-28 22:09:50 +00:00
louib
e180154320
Update else styling.
2019-12-28 13:21:42 -05:00
louib
ff357298bd
Activate CI on pull requests.
2019-12-28 13:18:41 -05:00
louib
cd0d9e028b
Activate temp code format checks.
2019-12-28 13:15:02 -05:00