Commit graph

159 commits

Author SHA1 Message Date
fa819503e1 Merge pull request 'Minor fixes to testing whether a demo exists.' (#14) from iss13 into trunk
Reviewed-on: #14
2026-01-19 18:09:32 +00:00
116c21456f Minor fixes to testing whether a demo exists.
Add a unit test to validate functionality of this tricky corner of code.
2026-01-19 13:05:29 -05:00
2809f00191 Minor tweak to license specification. 2026-01-19 13:03:52 -05:00
54887efd02 Minor fix for loading map names from config. 2026-01-19 13:02:30 -05:00
f3db413a3f Merge pull request 'Rename dcc to doomcc' (#12) from iss1 into trunk
Reviewed-on: #12
2025-12-25 06:23:09 +00:00
6c17ae717b Rename references to dcc to doomcc. 2025-12-24 23:01:25 -05:00
5b2528831d Rename the dcc directory to doomcc.
Don't try and edit the files in the same change; that introduces a lot
of headaches.
2025-12-24 22:55:42 -05:00
07d079f204 Blacken the code base. 2025-12-24 18:35:43 -05:00
d585c1529d Merge pull request 'Use os.execv instead of subprocess.run when no further action is taken.' (#11) from iss10 into trunk
Reviewed-on: #11
2025-12-24 23:20:33 +00:00
edbf4f2a0e Use os.execv instead of subprocess.run when no further action is taken.
This prevents the underlying file from being marked busy while a
long-running action is happening (e.g. eureka is open).
2025-12-24 18:09:49 -05:00
21bdcf3e17 More clearly delineate the different cases for the text label.
The preferences in order are: value passed by flag, value read from
config, and value read from stdin.
2025-12-24 12:02:09 -05:00
a3a970a22f Check to see any WADs were returned before trying to fetch them. 2025-12-24 11:59:26 -05:00
081b7e2dee Fix typo. 2025-12-24 11:58:51 -05:00
47133bdff7 Add a test for the play command. 2025-12-01 02:42:10 -05:00
57fa261f90 Use input builtin to ask for the map name. 2025-12-01 02:35:49 -05:00
1632ef7bbc Add an option to skip the wad overlay for thumbs. 2025-11-28 15:22:49 -05:00
d93923c6f7 Use more of the screen by default for thumbnail text. 2025-11-28 15:21:48 -05:00
cd9265d053 Merge pull request 'Read COMPLVL lump on initial configuration' (#9) from iss6 into trunk
Reviewed-on: #9
2025-11-28 20:18:40 +00:00
2d2a5c3ea4 Use the common configured load order where applicable. 2025-11-28 15:16:43 -05:00
c4e360378f Read complevel from the lump in the wad, if it exists. 2025-11-22 13:39:07 -05:00
fcc6b22785 Allow configuration of the thumbnail icon overlay.
Previously this was hardcoded to be M_DOOM_scaled.png.
2025-11-19 04:35:47 -05:00
c1e4156f3c Fix case where DSDA not being set in the config caused a crash. 2025-10-09 18:59:18 -04:00
fa176ae6ed Add pytest-mockito to the list of deps. 2025-10-09 18:56:18 -04:00
cf6ac16e27 Add pillow to the project's dependencies.
Also fix the relevant error message's formatting.
2025-09-19 18:33:08 -04:00
c47ee376bd Merge pull request 'Break out separate ls subcommands to avoid passing --wad.' (#5) from iss4 into trunk
Reviewed-on: #5
2025-09-06 18:07:18 +00:00
6b7d4a5eba Break out separate ls subcommands to avoid passing --wad. 2025-09-06 14:04:46 -04:00
8dcbb67cae Merge pull request 'Have pyinstaller always load the whole cliff module' (#3) from iss2 into trunk
Reviewed-on: #3
2025-09-06 05:37:38 +00:00
694f9f3d1f Tell pyinstaller to always include all of cliff.
This works around problems trying to load the lister plugins, which
cliff tries to find dynamically at runtime.
2025-09-06 01:30:38 -04:00
9d1eec78fb Handle really long map names by wrapping them.
This is set to 75% of the image width by default and is (not yet)
configurable.
2025-09-02 02:12:12 -04:00
7317674e4c Make the implementation of add_common_args clearer.
Probably can't do better than this without messing around with the
method resolution order and other things I'd rather not touch.
2025-09-01 23:18:01 -04:00
4cae5987db PEP 8 compliance. 2025-09-01 19:03:57 -04:00
98d09db5e8 PEP 8 compliance. 2025-09-01 17:32:19 -04:00
5e188573a0 Have the ls command to inherit from lister.
This requires multiple inheritance and other shenanigans to actually
work.  I think I'm supposed to do this with hooks.  Work for the future.
2025-09-01 17:30:34 -04:00
16eb67c797 PEP 8 compliance. 2025-08-30 02:14:52 -04:00
789064aa0d List commands in main.py; stop depending on entry points.
Entry points are a major hassle to deal with during distribution and
this really isn't any worse than that.  Could probably be automated
further but I'd rather have something that works consistently.
2025-08-29 19:20:53 -04:00
8e48915a27 Fix import. 2025-08-29 19:20:28 -04:00
fb61d3d935 Be more particular about the ordering of videos.
This just hardcodes the default Doom 2 ordering of videos; this will
likely need further expansion in the future.
2025-08-29 19:19:36 -04:00
6815545da4 Update stub makefile. 2025-08-26 01:58:15 -04:00
026128473c Add a --stdin-only flag for text.py.
Typically this is for when we have configured map names but are making a
concatenated video and aren't using them.
2025-08-26 01:49:52 -04:00
a3da884eee Remove the long-unused dcc.sh. 2025-08-21 01:39:43 -04:00
545030c0a7 Delete setup.py; pyproject.toml has replaced it. 2025-08-21 01:34:49 -04:00
5938c2e306 Add a pyproject.toml with poetry and pyinstaller support. 2025-08-21 01:29:31 -04:00
e247c954e1 Add a rudimentary README. 2025-08-21 01:27:22 -04:00
cf6fb5cb99 Fix syntax for doomed index thumbnail generation. 2025-08-21 01:17:26 -04:00
c0015583ff Add MIT license. 2025-08-20 22:39:07 -04:00
09381b4756 Update gitignore to handle poetry-produced files. 2025-08-20 22:38:24 -04:00
bf37d48f12 List version in __init__.py. 2025-08-12 22:23:33 -04:00
738f6f7964 Set type=int on secs_before.
This lets us skip a type conversion below.
2025-08-09 11:26:01 -04:00
92e830b664 Add an demo attempt selector to run-it-back mode.
Also fix a type conversion issue for when secs_before is set to a
nondefault value.
2025-08-09 11:23:59 -04:00
e4c5c8b475 Skip the warp flag when generating the dsda text file.
This causes negative tics to work, for whatever reason.
2025-08-01 02:09:15 -04:00