1
0
mirror of https://github.com/odrling/Aegisub synced 2025-04-11 22:56:02 +02:00

8702 Commits

Author SHA1 Message Date
arch1t3cht
d8c5416bf7 Merge branch 'misc' into feature 2024-10-29 15:41:00 +01:00
arch1t3cht
b78088dc31 Wrap long status messages in progress dialog
I'm still fighting wxWidgets so I don't know if this is the best
solution, but at least it works in all cases now.
2024-10-29 15:40:46 +01:00
arch1t3cht
de0de6ae5a Revert "Wrap long status messages in progress dialog"
This reverts commit 88cc98df9c3f12705f52a4046836366e9972dcce.
2024-10-29 15:40:46 +01:00
arch1t3cht
e62f40fa00 Merge branch 'bestsource' into feature 2024-10-29 14:46:52 +01:00
Alex James
490fcd9294 meson: Support system-provided bestsource
Meson unconditionally uses the wrapped bestsource dependency when the
bestsource option is enabled. Update meson.build to support using a
system-provided version of bestsource when it is present.
2024-10-29 14:45:52 +01:00
arch1t3cht
dc68cae1be Merge branch 'vapoursynth' into feature 2024-10-25 18:01:39 +02:00
arch1t3cht
f67a8d77d1 Merge branch 'bestsource' into feature 2024-10-25 17:59:43 +02:00
arch1t3cht
46e15df453 Merge branch 'fixes' into feature 2024-10-25 17:59:17 +02:00
arch1t3cht
0f8a7c0973 Merge branch 'misc' into feature 2024-10-25 17:58:53 +02:00
arch1t3cht
2e5226421e vapoursynth: Use scoped_holder everywhere for RAII 2024-10-25 17:57:04 +02:00
arch1t3cht
2b855a327d vapoursynth: Respect YCbCr Matrix header
This probably leaks some memory in some of the error cases, but the next
commit will replace everything with proper RAII wrappers.
2024-10-25 17:55:33 +02:00
arch1t3cht
be2e6cb2d8 vapoursynth: Simplify resize argument logic
The previous logic was actually redundant (except in weird edge cases
where it may cause equally weird behavior) since frame props always take
precedence over explicit arguments in VapourSynth's resize.
2024-10-25 17:49:42 +02:00
arch1t3cht
9adeeb1f8e Fix, simplify, and outsource ffms2 color space override logic
Actually support all YCbCr Matrix values instead of only a 601 matrix.
Simplify the override logic and move most of it outside of the ffms2
provider so it can be shared with other providers.
Also stop erroring out on unknown video color spaces.

This is not yet perfect (the guessing logic could be improved, invalid
matrices should probably default to TV.601, and the added functions feel
a bit out of place in video_provider_manager.cpp and are partially
redundant with ycbcr_conv.cpp) but it's a lot better and more
maintainable than before.
2024-10-25 17:48:54 +02:00
arch1t3cht
1060e0591e bestsource: Respect YCbCr Matrix header 2024-10-25 17:48:24 +02:00
arch1t3cht
dec761de1f Fix, simplify, and outsource ffms2 color space override logic
Actually support all YCbCr Matrix values instead of only a 601 matrix.
Simplify the override logic and move most of it outside of the ffms2
provider so it can be shared with other providers.
Also stop erroring out on unknown video color spaces.

This is not yet perfect (the guessing logic could be improved, invalid
matrices should probably default to TV.601, and the added functions feel
a bit out of place in video_provider_manager.cpp and are partially
redundant with ycbcr_conv.cpp) but it's a lot better and more
maintainable than before.
2024-10-25 17:48:17 +02:00
arch1t3cht
8563a6c06e Fix, simplify, and outsource ffms2 color space override logic
Actually support all YCbCr Matrix values instead of only a 601 matrix.
Simplify the override logic and move most of it outside of the ffms2
provider so it can be shared with other providers.
Also stop erroring out on unknown video color spaces.

This is not yet perfect (the guessing logic could be improved, invalid
matrices should probably default to TV.601, and the added functions feel
a bit out of place in video_provider_manager.cpp and are partially
redundant with ycbcr_conv.cpp) but it's a lot better and more
maintainable than before.
2024-10-25 17:47:14 +02:00
arch1t3cht
88cc98df9c Wrap long status messages in progress dialog 2024-10-25 17:46:08 +02:00
arch1t3cht
6d3d5a7552 vapoursynth: Switch order of directories added to path
Give ?user priority over ?data. This matches the Lua API's behavior
and allows overriding modules in ?data with modules in ?user.
2024-10-24 18:44:16 +02:00
Mia Herkt
14480cc720 agi: Replace Boost flat_map with std::map in Thesaurus class
I do not see a reason to prefer the flat_map implementation,
and it’s causing crashes when compiled with GCC >= 13 and
Boost 1.85.0 at optimization level 2 or higher.

Whether or not this is a bug in GCC, or Boost hitting a case of
undefined behavior, avoiding it altogether doesn’t seem to hurt.

Fixes #137
2024-10-24 18:20:52 +02:00
arch1t3cht
74ed5a6917 Merge branches 'bugfixes', 'workarounds' and 'bestsource' into feature 2024-10-23 21:09:33 +02:00
arch1t3cht
2969ba4df8 Revert "ci: Pin meson version to 1.4.2 for now"
Things work again now.

This reverts commit 1e20306d489cf6b8975c9707dddc5312ce096b29.
2024-10-23 20:59:27 +02:00
arch1t3cht
b1fadaf1ee bestsource: Bump to R8 2024-10-23 20:58:22 +02:00
arch1t3cht
546abe9385 Remove dav1d patch
This is no longer necessary due to an upstream update.
2024-10-23 20:56:48 +02:00
arch1t3cht
e8ebb103a5 README: Update troubleshooting section, add section about issues/prs 2024-09-17 20:25:29 +02:00
arch1t3cht
bf20c62e6b Merge branch 'vapoursynth' into feature 2024-07-17 21:12:38 +02:00
arch1t3cht
d3bdecebef vapoursynth: Fix bestsource packaging in portable installer 2024-07-17 21:12:27 +02:00
arch1t3cht
2a9bbc05ff Merge branches 'bugfixes' and 'vapoursynth' into feature 2024-07-16 16:24:44 +02:00
arch1t3cht
1e20306d48 ci: Pin meson version to 1.4.2 for now
The harfbuzz subproject doesn't build with 1.5 due to a meson
regression.
2024-07-16 16:24:08 +02:00
arch1t3cht
c49b604172 vapoursynth: Improve lsmas plugin version detection
Some lsmas versions (like HomeOfAviSynthPlusEvolution's, the currently
actively maintained one) support the "cachedir" argument but do not
have a "Version" function. Hence, it's better to just check for the
argument directly.
2024-07-16 16:22:33 +02:00
arch1t3cht
cb930ab6b2 Merge branch 'misc' into feature 2024-06-20 20:27:58 +02:00
arch1t3cht
ef78a66281 Add option to make Shift+Enter add \n instead of \N
\n is useful in combination with a WrapStyle of 2, which plays
nicer with style overrides.
2024-06-20 20:27:19 +02:00
arch1t3cht
80491bacbf Merge branch 'bugfixes' into feature 2024-05-31 00:08:05 +02:00
arch1t3cht
b7af9bd0d3 ci: Bump even more action versions 2024-05-31 00:07:49 +02:00
arch1t3cht
b4da179146 Merge branches 'bugfixes' and 'bestsource' into feature 2024-05-30 23:17:17 +02:00
arch1t3cht
eff71c27a4 Merge branch 'workarounds' into feature 2024-05-30 23:17:12 +02:00
arch1t3cht
b8f0906906 bestsource: Don't set any prefer_static argument
This should no longer be needed at all
2024-05-30 23:12:28 +02:00
0tkl
0a01ecf9ce bestsource: Bump to R4 2024-05-30 23:01:09 +02:00
arch1t3cht
0c53a99b71 Fix windows compilation with c++17 2024-05-30 22:40:20 +02:00
Ryan Lucia
3dd4e637f6 Bump boost to 1.83 2024-05-30 22:32:37 +02:00
arch1t3cht
7475425dcb osx: Remove bless -openfolder
This was deprecated for a while now and removed on aarch64.
The dmg build works without it now.
2024-05-30 22:31:30 +02:00
arch1t3cht
f7448a9920 Merge branches 'workarounds' and 'bestsource' into feature 2024-05-30 21:58:03 +02:00
arch1t3cht
e6da4e8e10 bestsource: Remove string_view defines
These are no longer necessary after switching to c++17.
2024-05-30 21:57:12 +02:00
arch1t3cht
0e44a3488e Merge branch 'bugfixes' into feature 2024-05-21 14:02:10 +02:00
arch1t3cht
d1916fc6f9 ci: Pin macos to macos-13 for now
macos-latest now runs on Apple Silicon, which fails one test
and probably still needs extra work for the packaging to work.
Until that's figured out, run on macos-13.
2024-05-21 14:01:17 +02:00
arch1t3cht
a067187537 Switch to C++17
I was originally planning to eventually rebase the various feature
branches on top of TypesettingTools/Aegisub's master, which switched
to C++20 and added various bigger refactors, but that turned out to
be even more involved than expected (due to the various
interdependencies between branches and the additional commits on feature
complicating rebases). ICU now requires C++17 and BestSource was already
pinned to an old version since newer versions need C++17, so let's just
bump the standard and put off the actual rebasing for later...
2024-05-20 16:55:34 +02:00
arch1t3cht
246dbd7670 ci: Update github actions versions yet again 2024-05-20 14:30:55 +02:00
arch1t3cht
a89158b5c2 ci: Try to work around yet another gh actions bug 2024-05-20 13:49:20 +02:00
arch1t3cht
628f1306ef ci: Make libdav1d a required dependency
This used to be enforced by patching the ffmpeg wrap,
but after upstream changes to the wrap this method is simpler.
2024-05-20 01:34:31 +02:00
arch1t3cht
a6ba1720db Merge branch 'workarounds' into feature 2024-05-20 01:33:04 +02:00
arch1t3cht
b31c2c3267 Remove patches to ffmpeg wraps
Equivalent functionality (allowing dependencies to be meson subprojects
and fixing the zlib HAVE_UNISTD_H issue) was merged upstream now
(thanks kasper), so this is no longer necessary. dav1d is now
enabled using -Dffmpeg:libdav1d=enabled.
2024-05-20 01:31:47 +02:00