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

8217 Commits

Author SHA1 Message Date
Ryan Lucia
a6489152af Update some URLs 2024-12-16 19:21:44 -08:00
EleonoreMizo
72382f43cb
Spectrum display improvement (#94)
– Selection of different frequency mappings for the spectrum display,
from linear (current default) to logarithmic.
– Field added in the preference page to select the frequency mapping
– New preference key to remember this setting:
Audio/Renderer/Spectrum/FreqCurve
– Consistent display with high sampling rates (> 48 kHz)
– Fixed time shift with high quality settings

Co-authored-by: EleonoreMizo <fuck@fuck.fuck>
2024-12-16 18:53:14 -08:00
Louis Royer
c541651638 Update french translation
- strip tags: "retirer les balises" instead of "bande de balises"
2024-12-16 18:44:14 -08:00
arch1t3cht
6b4a340e69 ci: Bump even more action versions 2024-07-15 00:29:07 +02:00
arch1t3cht
43363bcaf1 ci: Update github actions versions yet again 2024-07-15 00:28:49 +02:00
arch1t3cht
b7673db8fb osx: Remove bless -openfolder
This was deprecated for a while now and removed on aarch64.
The dmg build works without it now.
2024-07-15 00:26:32 +02:00
Ryan Lucia
7eb85a689f ci: allow running builds manually 2024-07-14 14:56:51 -07:00
Ryan Lucia
dfc3c92e41 ci: work around GHA bug
There seems to be some race that this successfully hides
2024-07-14 14:56:42 -07:00
Ryan Lucia
0a2c5d8fd1 CI: Fix MacOS checks 2024-07-14 14:51:31 -07:00
Ryan Lucia
e5038210b6 CI: MacOS to macos-13
macos-latest uses arm64, and seems to ship a broken iconv that fails tests. Revert this once the issue is resolved.
2024-07-14 14:49:16 -07:00
arch1t3cht
9fa9ba22b6 Install gettext on Windows CI
Apparently this is no longer installed by default.
2024-07-14 14:30:53 -07:00
arch1t3cht
e8485a9a1e Bump ffmpeg wrap
FFMS2 needs ffmpeg 6.1 now.
2024-07-14 14:30:47 -07:00
arch1t3cht
3ef245d654 meson: Promote freetype wrap file
This used to be part of the libass wrap but was removed there now.
2024-07-14 14:30:44 -07:00
Ryan Lucia
a5f665d2da Swap to upstream libass builds 2024-07-14 13:57:59 -07:00
arch1t3cht
c88f918be0 Make update checker use libcurl and https
The horrible hack with the curl_meson subproject is needed since the
libcurl dependency generated by libcurl's cmake build system (via
meson's cmake module) includes its internal files its
include_directories, which shadows certain other includes. So instead
we manually replace the include_directories with the correct ones, taken
from a separate meson subproject. This needs an additional wrap file,
but it points to the same subproject directory in order to prevent there
being multiple downloads of the same libcurl source that could go out of
sync at some point.

Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
2023-12-03 15:19:42 -08:00
arch1t3cht
0e2a14cef5 Fix crash_writer_minidump after switch to C++20 2023-12-03 15:18:57 -08:00
arch1t3cht
82dc1631d6 Ship en_US hunspell dictionaries on Windows and OSX
For now, this uses the same OpenOffice dictionaries that were used in
previous official releases, downloaded from
https://sourceforge.net/projects/openofficeorg.mirror/files/contrib/dictionaries/
In the future this could be updated to some newer dictionary like
SCOWL's.

Fixes arch1t3cht/Aegisub#21.
2023-12-03 15:18:57 -08:00
arch1t3cht
0e51cfd131 Fix Avisynth paths in installer and portable 2023-12-03 15:18:57 -08:00
arch1t3cht
22b2b938c2 meson: Use crash_writer_minidump on Windows
This was done in Aegisub/Aegisub.
2023-12-03 15:18:57 -08:00
arch1t3cht
df43d3f49c meson: luajit: Remove checkdef for SSE
This isn't actually set in luajit's Makefile. Maybe it was at some
point in the past, but there's no trace of it now.

Fixes arch1t3cht/Aegisub#98 .
2023-12-03 15:18:57 -08:00
arch1t3cht
44b5fc3889 meson: luajit: Set correct LUAJIT_TARGET for buildvm
On native builds this is derived automatically, but on cross builds
it needs to be set explicitly.
2023-12-03 15:18:57 -08:00
arch1t3cht
3852dc0739 Fix OSX library wrangling when libs use @rpath or @loader_path
Fixes arch1t3cht/Aegisub#77
2023-12-03 15:18:57 -08:00
sepro
6c792af428 meson: Add nasm fallback url
Nasm's website goes down quite frequently, which breaks ci builds.
2023-12-03 15:18:57 -08:00
arch1t3cht
9972de4357 meson: Add libresrc headers as dependencies
These are included in the Aegisub source files, so they need to be
generated before compiling.
2023-12-03 15:18:57 -08:00
arch1t3cht
015d4f9b3e mac: Use latest git version for ffms2 2023-12-03 15:18:57 -08:00
arch1t3cht
e46fd4c32c installer and ci: Throw more errors on failure
This makes it easier to notice when installer generation failed.
2023-12-03 15:18:57 -08:00
arch1t3cht
4a9879a408 meson: Set NDEBUG on release builds
The old MSVC build system also set this:
6f546951b4/build/standard-settings.props (L62)
2023-12-03 15:18:57 -08:00
arch1t3cht
7a71411893 ci: Use GITHUB_TOKEN if available 2023-12-03 15:18:57 -08:00
arch1t3cht
ff05740330 meson: Include strings.rc as resource file on Windows
This was included here:
6f546951b4/build/Aegisub/Aegisub.vcxproj.filters (L1094)
in the MSVC build.
2023-12-03 15:18:57 -08:00
arch1t3cht
6e7055e212 installer: Bump VCRedist to 17 (2015 - 2022)
The windows-latest platform in the CI already uses VS2022, so let's bump
the VCRedist to match.
2023-12-03 15:18:57 -08:00
arch1t3cht
a7b8e554bc meson: Add regen dependencies for libresrc and bitmaps 2023-12-03 15:18:57 -08:00
arch1t3cht
58316ae7e2 Allow reading compressed subtitles from mkv
The error handling inside of read_subtitles is a bit clumsy here,
but it's probably the best we can get without bigger refactors.
2023-12-03 14:23:50 -08:00
wangqr
3705d07c1d Add Apply button to select lines dialog
Allow modifying selection without closing dialog.

Fix wangqr/Aegisub#49
2023-12-03 14:23:50 -08:00
wangqr
f6887ac373 Save state of "show original"
Fix wangqr/Aegisub#41
2023-12-03 14:23:50 -08:00
arch1t3cht
62b3ad8f16 Make touch pad scroll in the subtitle grid smoother 2023-12-03 14:23:50 -08:00
arch1t3cht
eb11e0bfa4 lua: Scroll large dialogs automatically 2023-12-03 14:23:50 -08:00
Ryan Lucia
7fbef41ce8
Set ExecutionPolicy directly when invoking Powershell scripts (#185) 2023-12-03 13:29:56 -08:00
Ryan Lucia
c29c24093c Add a build option to tag official releases 2023-12-03 13:13:36 -08:00
arch1t3cht
0b40de8bea
C++ modernization and boost removal (#182)
* Bump boost to 1.83

* Switch to building as C++20

Co-authored-by: Ryan Lucia <ryan@luciaonline.net>

* Fix many warnings

* Rip out boost::locale and just use ICU directly

* Fix

* Replace boost::filesystem with std::filesystem

* Fix

* Addditional c++ modernization

* Use string_view all over the place and rip out more boost stuff

* Simply BOM handling in charset conversions

* libaegisub: fix dispatch types

* Fix

* Bump subprojects

* Reorganize tests build file

* Fix remaining compilation errors on Linux

* Rip out the last bits of boost::filesystem

* Remove remaining uses of boost string joins

* Fix some errors introduced with refactors

* Revert "Simply BOM handling in charset conversions"

This reverts commit 2e6b26d5ffe69d7fb280bb1d18c6758112244b64.
Taking out the BOM handling broke tests, so it'll probably break more
stuff.

* Bring back IconvWrapper::RequiredBufferSize

This partially reverts 62befa996126659d139e9ad53e631780b6ed6122 .
This function is actually used in charset_conv_win.cpp

* Fix ifind after moving to ICU

The previous logic didn't check if the match was on parts of
decomposed characters, so it also failed the corresponding test.

* Remove incorrect karaoke_matcher test

This was clearly incorrect and probably just unfinished.

* Remove leftover boost::locale code

* Move iconv include to charset_conv.h

On newer mac sdks iconv_t is defined differently, so it's harder to
just have a typedef for it.

* Fix compilation on arm64 mac

wx uses a different string implementation here, and utf8_string()
doesn't exist there.

* Fix luajit dependency in luabins project

Since luajit always first tried using dependency(), further calls
of dependency() will also always return system luajit.
meson.override_dependency() won't work.
This makes luabins link system luajit where it's available while aegisub
itself uses the subproject's luajit, which causes all kinds of fun
issues and definitely didn't baffle me four hours...

The added solution for this is horribly ugly (and also has problems when
reconfiguring...) but it's the only one I found that works. Maybe it's
better to always require interal luajit after all, or make the user
choose with a meson option?

* Fix locale initialization

Previously this would fail on startup because the automation menu
uses boost::locale::comparator.
... Or maybe the locale init change should just be reverted entirely?
Or it should be something different? I don't really know.

* Revert "Fix luajit dependency in luabins project"

This reverts commit 340fb9c6125412d18f23c08c00f2bc8f46774b6d.

* Fix luajit dependency in luabins project, take 2

Thinking about it some more, just copying the detection logic is
probably the lesser evil here.

* Fix agi::split_iterator after refactor

is_end being removed caused it to not output an empty segment at the
end if the input ends with a delimiter, but existing usages relied
on it doing that.

* Fix style parsing after refactor

* Fix tons of implicit this captures

* Enable CI to test

* Update deprecated hunspell usage

* Fix tests compilation on mac

* Make sure wx subproject builds with c++14

* Fix compilation on Windows

* Revert "Bring back IconvWrapper::RequiredBufferSize"

This reverts commit 04f4b260a08de6497c583f025090ca4f9fe1ef6d.

* Pin libass wrap for now

Apparently dependency('iconv') breaks when iconv is overridden??

* Fix compilation with wx 3.0

* Fix startup crash on Windows

windows.h was defining the ERROR macro, which shadowed the
DialogueTokenType enum variant, which broke the lexer construction.

* Fix SplitText ICU logic

Include UBRK_WORD_IDEO and check the entire rules vec. This now matches
the logic of boost::locale.

* Add test for character_count with \N and friends

* Fix ass_dialogue parsing after refactor

* Revert "Pin libass wrap for now"

This reverts commit 3802bb7272a8bf4861c09b020c9eee9e643804fc.

* Remove iconv's stdbool.h

This was breaking things (libass) and doesn't seem to be
needed any more.

* Revert changes to to_wx

These broke some things, in particular FromUTF8Unchecked seems to not
like empty strings. Probably safer to just revert.

* Fix kara replacer after refactor

* Fix karaoke timing mode after refactor

* Revert "Enable CI to test"

This reverts commit 256cbebbfc9cf4eb5c497898670ac28ce24ce2fd.

---------

Co-authored-by: Ryan Lucia <ryan@luciaonline.net>
Co-authored-by: Thomas Goyne <plorkyeran@gmail.com>
2023-12-03 10:59:50 -08:00
Ryan Lucia
9a2fdb91fd Fix hunspell include + wrap 2023-11-24 15:43:08 -05:00
Ryan Lucia
09e8d0a087 ci: try to workaround github actions bug 2023-11-24 12:58:16 -05:00
Ryan Lucia
0ff8a54d89 ci: undo, seems github actions is broken 2023-11-24 12:46:57 -05:00
Ryan Lucia
7e027ab56e ci: force ffms2 fallback on macos 2023-11-24 12:37:19 -05:00
Ryan Lucia
92718e9ac3 ci: update actions versions 2023-11-24 12:21:11 -05:00
Ryan Lucia
b704276651 meson: bump ffmpeg version 2023-11-24 11:35:38 -05:00
arch1t3cht
25b0a7abf7 meson: luajit: Remove unused readline dependency 2023-11-24 10:46:49 -05:00
arch1t3cht
7f8815acec Add remaining dasm flags in luajit wrap
This now matches the makefile. Also stop hardcoding the flags
for MSVC, since cc.get_define seems to work properly there now.
2023-11-24 10:46:39 -05:00
arch1t3cht
6fffca29c7 Add proper endianness flag for dasm in luajit wrap
Fixes luajit almost completely breaking on aarch64 and probably
other non-x86 architectures.
2023-11-24 10:46:30 -05:00
arch1t3cht
6bf997dab7 meson: Update luajit wrap for luajit's rolling releases 2023-11-24 10:46:20 -05:00
Ryan Lucia
2a2b82ab65 Meson: [provides] -> [provide] 2023-11-24 10:33:16 -05:00