David Given
7781c8179f
Typo fix.
2023-05-25 20:20:02 +02:00
David Given
69ece3ffa0
Polish documentation.
2023-05-25 20:07:33 +02:00
David Given
53adcd92ed
Spell (and capitalise) Greaseweazle correctly.
2023-05-25 19:50:05 +02:00
David Given
2bef6ca646
Merge pull request #678 from davidgiven/requirements
...
Overhaul config system and lots of other stuff
2023-05-16 01:29:58 +02:00
dg
bab350d771
Update Ubuntu build version.
2023-05-15 23:09:52 +00:00
dg
048dac223f
Enable workflow cancelling when a new one is pushed.
2023-05-15 22:59:59 +00:00
dg
b7634da310
Work around Apple dev kit stupidity (definiting BYTE_SIZE in a standard
...
header...)
2023-05-15 22:51:16 +00:00
dg
882c92c64a
Merge.
2023-05-15 22:49:52 +00:00
dg
4592dbe28b
Add drive types for the Micropolis drives.
2023-05-15 22:49:15 +00:00
dg
edc0f21ae7
Remove all the requires TPI constraints --- I'm not sure this is a good idea.
2023-05-15 22:48:33 +00:00
dg
8715b7f6c1
Don't crash if no format is selected.
2023-05-15 22:14:06 +00:00
dg
99511910dd
If an incoming FL2 file has no TPI, use the default rather than 0 (the default
...
will probably be zero, but anyway).
2023-05-15 22:00:03 +00:00
dg
a03478b011
Don't store the actual DriveProto in FL2 files, because it makes the proto tags
...
significant.
2023-05-15 21:59:24 +00:00
dg
5c428e1f07
Don't require the user to specify the drive TPI if they don't want to.
2023-05-15 21:51:05 +00:00
dg
ee57615735
Deal with invalid options in the GUI.
2023-05-15 20:55:33 +00:00
dg
67300e5769
Add the ability to validate the configuration, at least in the CLI; this may
...
require some refactoring for the GUI to apply cleanly.
2023-05-14 23:18:48 +00:00
dg
873e05051c
Massive rework of the config system to be clearer, more robust, and more
...
flexible. (But it doesn't check options any more.)
2023-05-14 22:04:51 +00:00
dg
4daaec46a7
Greying out of the option buttons now works; but the whole way configs are
...
handled is pretty unsatisfactory and needs work.
2023-05-13 23:29:34 +00:00
dg
dd8cc7bfd4
Attempt to move the configuration setup logic into Config, so it's centralised.
2023-05-13 12:42:31 +00:00
dg
5568ac382f
Eliminate Environment --- we don't use it and Config contains this
...
functionality.
2023-05-13 00:04:42 +00:00
dg
dcdb3e4455
Encoders and decoders are routed through Config.
2023-05-12 23:58:44 +00:00
dg
17b29b1626
Flux sinks and image writers are routed through Config.
2023-05-12 23:47:09 +00:00
dg
dcfcc6271c
Sort out a whole bunch of other things, including cleaning up the way the
...
verification source is handled.
2023-05-12 23:28:25 +00:00
dg
1d77ba6429
ImageReaders can now contribute config.
2023-05-12 22:20:13 +00:00
dg
ff5f019ac1
Fetching the image reader is now done through Config.
2023-05-12 21:52:53 +00:00
dg
e61eeb8c6f
Fetching the flux source is now done through Config.
2023-05-12 21:25:54 +00:00
dg
68d22e7f54
Fix build error.
2023-05-11 23:31:38 +00:00
dg
790f0a42e3
Move setting the image writer into Config.
2023-05-11 23:06:24 +00:00
dg
08e9e508cc
Move setting the image reader into Config.
2023-05-11 23:02:05 +00:00
dg
ad1a8d608f
Migrate setting the flux sink to Config.
2023-05-11 22:54:32 +00:00
dg
d74ed71023
Move setting the flux source into Config.
2023-05-11 22:47:00 +00:00
dg
0c7f9e0888
Enforce option requirements --- but the config stuff is still kinda broken and
...
will need rethinking, especially if flux files can carry configs with them.
2023-05-11 21:58:10 +00:00
dg
ba5f6528a8
Move option handling into Config.
2023-05-11 20:37:54 +00:00
dg
65cf552ec2
Some cleanup.
2023-05-11 20:03:25 +00:00
dg
715c0a0c42
Move config file loading into config.cc.
2023-05-11 19:58:16 +00:00
dg
9e383575d1
Any drive settings in the global config will override loaded settings from an
...
fl2 file.
2023-05-11 19:21:59 +00:00
dg
d84c366480
You can now fetch config fields by path.
2023-05-11 19:03:36 +00:00
dg
42e6c11081
Migrate to a new global config object.
2023-05-10 23:13:33 +00:00
dg
9ba3f90f1e
Change the global config variable to a globalConfig() function.
2023-05-10 22:07:17 +00:00
dg
24ff51274b
Fix formatting.
2023-05-10 21:14:30 +00:00
dg
4c4c752827
Add missing file.
2023-05-10 21:11:10 +00:00
dg
5022b67e4a
Drive information is stored in FL2 files.
2023-05-10 20:47:55 +00:00
dg
6b990a9f51
Overhaul the TPI stuff; now both the drive and the layout have a TPI setting,
...
which must be set.
2023-05-10 19:58:44 +00:00
dg
e69ce3b8df
Merge.
2023-05-10 18:31:42 +00:00
dg
cf537b6222
Add the proto part of option requirements.
2023-05-10 18:29:46 +00:00
David Given
9d1160faff
Merge pull request #677 from davidgiven/errors
...
Clean up error handling.
2023-05-10 01:13:49 +02:00
noreply@github.com
ed4067f194
Merge pull request #677 from davidgiven/errors
...
Clean up error handling.
2023-05-09 23:13:49 +00:00
dg
d4b55cd8f5
Switch from Logger() to log().
2023-05-09 22:47:36 +00:00
dg
baaeb0bca7
Fix mangled formatting caused by clang-format.
2023-05-09 21:39:35 +00:00
dg
466c3c34e5
Replace the Error() object with an error() function which takes fmt
...
formatspecs, making for much cleaner code. Reformatted everything.
This actually happened in multiple steps but then I corrupted my local
repository and I had to recover from the working tree.
2023-05-09 20:59:44 +00:00