dg
1330d56cdd
Fix a bunch of errors caused by changes to libfmt.
2023-07-07 21:32:21 +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
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
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
dg
db004bc787
Preparse ConfigProto objects.
2023-05-07 19:28:29 +00:00
dg
87a1b2e6f8
Don't hang when calling findAllProtoFields on recursive protos.
2022-11-27 10:24:40 +00:00
David Given
415aa82a6f
The top-level tracks and heads fields are now inferred automatically from the
...
layout if not set, so we don't have to set them everywhere.
2022-09-10 22:29:27 +02:00
David Given
ba3f806616
Move a lot of drive parameters into a toplevel drive{} config rather than
...
leaving them in the source/sink configs (which means they have to be set
twice).
2022-03-13 21:13:56 +01:00
Michael D
aa3b0a117a
Fix a small typo in proto.cc
...
Also add long-forms "yes" and "no" as valid options
2021-12-07 18:10:53 +01:00
David Given
07c7b22669
Allow setting enum proto values from the command line.
2021-09-19 22:59:47 +02:00
David Given
740eacc7ac
real_*_oneof() is too new for GI's proto library.
2021-08-01 15:29:34 +02:00
David Given
a2911a9585
Allow setting oneof message fields to the default value.
2021-07-31 14:24:49 +02:00
David Given
065cd113c1
Rework to support combined format definitions, although with only the Amiga
...
format enabled.
2021-07-16 22:39:38 +02:00
David Given
9d2a5fee86
Range ends default to range start.
2021-05-18 21:09:31 +02:00
David Given
b926f5a692
Setting boolean config fields works.
2021-05-16 23:00:34 +02:00
David Given
471ccf281c
Allow setting cylinder and head ranges.
2021-05-16 18:11:40 +02:00
David Given
05df0a37b1
Add (pretty basic) config dumping and documentation help.
2021-05-14 23:29:16 +02:00
David Given
c3aa12db78
Add support for filename flags to the flags parser. Allow setting config values
...
from the command line.
2021-05-13 23:16:52 +02:00
David Given
5a186b6960
Rename all protos to end with 'Proto' to avoid name conflicts.
2021-05-13 18:05:08 +02:00
David Given
9d0804eff4
Convert the IBM decoder to use the new config system.
2021-05-12 23:42:38 +02:00
David Given
df0a9bac96
More config machinery: the reader now reads (but can't put the resulting image
...
anywhere).
2021-05-12 00:26:42 +02:00
David Given
cf9cef6f87
Added the machinery for including literal protobufs in the code.
2021-05-11 22:13:10 +02:00
David Given
74cb332706
The dotted path setter should now work properly.
2021-05-08 23:56:45 +02:00
David Given
a54e3d33a6
Add a first draft of the dotted config file setter.
2021-05-08 22:58:29 +02:00