Wykres commitów

844 Commity (868a4e033688b0bd7251a4f818baacbf3af56223)

Autor SHA1 Wiadomość Data
nyanpasu64 868a4e0336 Fix longstanding crash when prefs.yaml is corrupted
Instead, warn the user with a popup dialog, and reset settings to
default.

Every few months, a user would report corrscope failing to open
due to a corrupted prefs.yaml.
This commit should stop all occurrences of that from now on.
The next commit will help ensure that we never save corrupted files
in the first place.
2021-06-14 10:55:55 -07:00
nyanpasu64 cb4f231fa3 Construct new YAML serializer object on every load/save operation
Not sure if this is a good idea worth keeping.
It may or may not fix a bug I've seen months ago.
In return, it introduces complexity and brittleness into my code,
and could stop working in a future ruamel.yaml update.
Also `pip install` doesn't pin the exact ruamel.yaml version
(accepting higher versions that could break my code),
only `poetry install` pins an exact version.
2021-06-14 10:55:55 -07:00
nyanpasu64 fa42d3644d Update dependencies, fix unit tests on Python 3.9 2021-06-14 10:55:55 -07:00
nyanpasu64 cc3541bec3 Switch to new Black version (21.6b0), reformat project
I also fixed pre-commit hooks on machines without Python 3.6 installed.

I don't like how Black now removes leading and trailing spaces in
doc comments, but it is what it is.
2021-06-14 10:55:55 -07:00
nyanpasu64 a3b32cf663 Update pinned numpy, fix `poetry install` on Python 3.8+
The previously pinned NumPy 1.16.4 was very old
and didn't come with a prebuilt binary wheel for Python 3.8+.
As a result, trying to install corrscope on Python 3.8+ with the pinned
dependency versions (through `poetry install`, not through
`pip install corrscope`) tries (and fails) to build NumPy from scratch.

This updates the pinned NumPy (but not other dependencies) to 1.19.5,
which has prebuilt wheels up to Python 3.9 (the current latest release).

I'm not sure why Poetry wouldn't upgrade to NumPy 1.20.
2021-06-13 16:27:02 -07:00
nyanpasu64 9d7da86019 0.7.0 2020-11-17 16:25:08 -08:00
nyanpasu64 ad9206fc7e
Add GitHub issue templates (#361) 2020-11-10 20:30:47 -08:00
nyanpasu64 f78bb5d28a
Merge pull request #360 from corrscope/fix-short-channel
Use longest channel for video duration, not first channel
2020-11-09 21:37:12 -08:00
nyanpasu64 9a1cabd617 Use longest channel for video duration, not first channel 2020-11-09 21:30:46 -08:00
nyanpasu64 36aacb204e Update changelog to mention #358 2020-11-09 21:23:58 -08:00
nyanpasu64 3dde0fb77f
Merge pull request #358 from corrscope/fix-ffmpeg-url
Improve "missing FFmpeg" dialog and fix broken link
2020-11-09 21:12:58 -08:00
nyanpasu64 131ca91381 Improve "missing FFmpeg" dialog 2020-11-09 20:51:42 -08:00
nyanpasu64 80f770bf95 Switch FFmpeg download URL to a working website
ffmpeg.zeranoe.com closed on Sep 18, 2020.
2020-11-09 19:24:49 -08:00
nyanpasu64 2a80d1accb
Merge pull request #357 from corrscope/poetry-lock
Update poetry.lock and codecov
2020-11-09 19:22:36 -08:00
nyanpasu64 8cca258e17 Update codecov library to fix CI uploading to codecov.io 2020-11-09 19:16:19 -08:00
nyanpasu64 4df77cd007 Update poetry.lock to version 1.1 (Poetry 1.1.4) 2020-11-09 19:08:16 -08:00
nyanpasu64 9b78c281cf Update README.md 2020-08-04 01:00:19 -07:00
nyanpasu64 900c5bcad8 GUI: Disable "stereo orientation" when downmixing enabled (#345) 2020-05-08 11:11:08 -07:00
nyanpasu64 ca164201fd Fix type hints for stereo downmixing 2020-05-04 06:39:34 -07:00
nyanpasu64 36324d3386 Cleanup code 2020-05-04 06:39:34 -07:00
nyanpasu64 1d370e6501 Switch to static ffmpeg 4.2.2 for reliability (#332)
Previously we linked to shared-dll ffmpeg builds.
When downloading the shared builds, some users fail to extract the DLLs,
causing ffmpeg to not work.
Static has a larger filesize, but is less likely to confuse users.

Previously, we linked to the latest ffmpeg dev build.
I'm unsure if ffmpeg dev builds are unstable
or may have bugs varying from version to version.
And there is no URL on zeranoe's website to get the latest release build.
So instead hard-code/pin the current latest release,
and update it from time to time.
2020-05-03 06:44:14 -07:00
nyanpasu64 16560ce132 Add menu items linking to config folder and Github repository (#343) 2020-05-03 06:29:38 -07:00
nyanpasu64 79f70e284e Refactor GUI menus 2020-05-03 06:29:38 -07:00
nyanpasu64 80710f3469 Create pull_request_template.md (#342) 2020-05-03 06:08:17 -07:00
nyanpasu64 548b23311e Update changelog, bump version to 0.7.0-pre 2020-04-25 20:26:27 -07:00
nyanpasu64 dab13d6139 Move profiling code to separate file (#320) 2020-04-25 20:12:18 -07:00
nyanpasu64 d66e2b6df1 Switch MatplotlibAggRenderer to a faster pixel format (#335)
This is only compatible with matplotlib 3.1 and above.
This increases rendering FPS by around 40%,
and overall FPS by around 10%.
2020-04-25 19:54:00 -07:00
nyanpasu64 d3ec17f9d7 Change minimum matplotlib version to 3.1 (#340) 2020-04-25 03:19:19 -07:00
nyanpasu64 900785e277 Update PyInstaller to official build rather than my fork (#339) 2020-04-24 22:51:17 -07:00
nyanpasu64 04a75f2dda Enable chroma subsampling by default (#331) 2020-04-20 07:57:33 -07:00
nyanpasu64 12f1a239d8 0.6.2-pre 2020-04-19 22:20:11 -07:00
nyanpasu64 25ee912bcb 0.6.1 2020-03-21 01:07:49 -07:00
nyanpasu64 f3621a0702 Fix formatting (#323) 2020-03-20 09:00:03 -07:00
nyanpasu64 48d1adf474 On Windows, use locale-specific font, not hard-coded Segoe UI (#322)
This picks the right font in non-English locales.
2020-03-20 08:06:39 -07:00
nyanpasu64 ac4ce91ef7 Update changelog 2020-03-20 07:51:20 -07:00
nyanpasu64 734afb2658 new username uwu 2020-03-20 07:44:07 -07:00
nyanpasu64 790610461c Update README.md 2020-03-08 03:12:32 -07:00
nyanpasu64 cbefccda6c Fix Linux installation, don't pin PyQt5-sip to 4.x 2020-02-09 03:05:04 -08:00
nyanpasu64 a6df198b0b Update pyproject.toml for poetry 1.0.0 2020-02-09 03:05:04 -08:00
nyanpasu64 57202f169f Update CHANGELOG.md for #313 2019-09-11 01:32:54 -07:00
nyanpasu64 5c3500764d Fix bug where matplotlib would crash on unrecognized fonts
I used to delete matplotlib bundled fonts. If matplotlib can't find dejavu sans, it overflows the stack and raises an exception (on my machine) or crashes (on others' machines).

This PR re-bundles the fonts. Increases uncompressed size by ~8MB and compressed size by 2.5MB, but worth it.
2019-09-11 01:30:23 -07:00
nyanpasu64 bc4f75a806 Add tutorial to help site (#309) 2019-09-11 01:25:44 -07:00
nyanpasu64 df54a6e986 Update CHANGELOG.md 2019-08-29 02:30:50 -07:00
nyanpasu64 f94b1c3b98 Switch from 0.7.0-pre to 0.6.1-pre 2019-08-29 02:30:50 -07:00
nyanpasu64 dfb0ee3702 Fix Windows-only crash when opening a non-ASCII path and restarting corrscope (#311) 2019-08-29 02:30:50 -07:00
nyanpasu64 dacdde0961 update ruamel.yaml to 0.16.5 2019-08-29 02:30:50 -07:00
nyanpasu64 6b953572ce Add high-level code organization docs (#297) 2019-08-22 19:19:27 -07:00
nyanpasu64 2a6aafb02f Downgrade dependencies to fix Windows exe builds (#307)
Updating libraries caused pyinstaller to produce nonfunctional Windows
binaries, so revert the library updates.
2019-08-10 22:40:34 -07:00
nyanpasu64 2ac4709f9c Use peak amplitude, not average amplitude, to detect silence (#306)
Fixes bug where narrow pulse waves were erroneously detected as silence.
2019-08-10 16:29:13 -07:00
nyanpasu64 678a3d48ba Install black as dev-dependency, run black --check in CI (#305)
This will result in 2 copies of black, 1 in pre-commit and 1 in dev.
I think that's acceptable though, as I install black locally anyway.
2019-08-10 15:10:21 -07:00