| Age | Commit message (Collapse) | Author |
|
|
|
This replaces setup.py by a modern pyproject.toml using uv_build
backend.
Dependencies are being also managed by uv, so to install dependencies
and run the project one can execute:
```
uv sync
uv run pytest # optional
python -m avp
```
To build the both source and binary (wheel) distribution package run:
```
uv build
```
Uv can be installed with `pip install uv`.
The directory structure has been changed to reflect best practices.
- src/* -> src/avp/
- src/tests -> ../tests
|
|
|
|
and yeah, I accidentally ran black on the codebase. I don't want to spend more free time fixing that. All of these changes are simple renames or removals, nothing too major.
|
|
|
|
instead of pre-computing the entire evolution during preFrameRender, it creates 60 ticks' worth of grid data at a time during the rendering process, deleting old data as it goes. This works with the current render process and should still work if the render process changes, as long as render threads don't become extremely de-synchronized (which would probably be an issue anyway)
|
|
|
|
|
|
added comments to preFrameRender and gridForTick methods
|
|
|
|
|
|
|
|
|
|
remove useless pytest fixtures
|
|
|
|
it's worth noting, but not important enough for 'error'
|
|
Looks less weird when window is maximized
|
|
Allows to decide how balanced the up/down smoothing is. The default (0) is the same as before; increasing sensitivity makes the up/down values closer to each other (less smooth, more sensitive)
|
|
|
|
|
|
Also remove unneeded instance variables `parser` and `args`, and quit if input/output can't be determined.
Also, --debug and --test are now mutually exclusive
|
|
|
|
other foreground elements
|
|
I chose this one because it repeats forever, so the user gets a useable default setting for any length of video they want to make
|
|
Unfortunately it's not an "undoable" ComponentAction object, it just triggers the raw PyQt Signal for now. This is a small patch until I fix it better by rewriting the Component base class, someday :P
|
|
|
|
|
|
|
|
"syntax is deprecated. Use '|' to separate the list items" from invalid arguments to aevalsrc
|
|
|
|
|
|
And the automatically added "greeting" components don't show in undo history
|
|
|
|
|
|
instead of a giant blank canvas, invite the user with some classic components and a smaller window more appropriate for this small utility :)
|
|
|
|
|
|
|
|
rename renderFrame to frameRender for consistency with components
|
|
|
|
|
|
|
|
|
|
|
|
This Qt settings object needs to be treated like dynamite, apparently :)
|
|
Allegedly the gui_scripts is only different from console_scripts on Windows, and it has the effect of hiding the console window. This seemed to make the `avp` entrypoint crash, possibly because the app already contains its own logic for hiding the console window(?). I've tested this on Windows 11 and it seems to work better using console_scripts.
|
|
Catching this exception prevents the app from crashing on Windows when cancelling an export in progress, or when finishing the export if components use FFmpeg pipes themselves.
|
|
|
|
the weird use of type() is to avoid restructuring the code at this time. I will refactor this in a different pull request
|
|
It was nice for consistency with the editing preview, but this slows down the main thread if we're doing the preview synchronously. And it's not really inaccurate to the final product, as far as I know.
|