Commit Graph

8015 Commits

Author SHA1 Message Date
odrling 09b424fbbb fix sub timing in mkv files with video delay
Some matroska files have audio start at timestamp 0 and video later.
In this case mkvtoolnix seems to use the first block of the first
cluster to the audio track (I would assume this is only an
implementation detail and not really from the matroska specs. And also
could happen in other cases without the video being delayed, but that's
not the point). Aegisub used to read this first block and use its
timestamp as the starting point of the video track.

With this commit, Aegisub tries to read all the blocks until it can read
the first timestamp of the video track and use it for the subtitles'
timestamps. Audio tracks don't seem to be impacted by these changes.
2020-11-17 18:36:16 +01:00
Myaamori 10acc00445 meson: Apply Lua 5.2 compat flags to both native and non-native builds (#69)
Otherwise -DLUAJIT_ENABLE_LUA52COMPAT isn't included when building
buildvm, which will then fail to pick up Lua 5.2-only functions
defined using the LJLIB_CF macro (e.g. table.pack).
2020-06-13 12:40:33 +02:00
odrling 5e9cc572f2 update lua scripts
see changes at https://git.odrling.xyz/odrling/amoegisub
2020-06-13 00:09:12 +02:00
Subarashii no Fansub dabf362eb0 Update README.md 2020-04-18 01:05:25 +02:00
odrling 0d03097a4e force git directory in version.sh 2020-02-29 16:27:21 +01:00
odrling 4159cdcebd [ci] fix debian bionic build 2020-02-08 23:43:52 +01:00
odrling b57f51aebf [debian] fix changelog 2020-02-08 23:43:52 +01:00
odrling c60f89a200 [debian] add scripts for buster, eoan and disco 2020-02-08 23:43:52 +01:00
odrling c6b6cac62c [automation] fix typo 2020-02-08 23:43:52 +01:00
odrling 19e0d879c3 Initial debian support 2020-02-08 23:43:52 +01:00
odrling cf05a92568 [meson] fix update checker 2020-02-08 23:43:52 +01:00
odrling 3b97278982 [meson] add libssl and update automation autoloaded files 2020-02-08 23:43:52 +01:00
Ryan Lucia 06bbc218e9 meson: temporarily disable c_std=c11 to fix Linux builds 2020-02-08 23:43:52 +01:00
Ryan Lucia fe1813ec03 meson: enable building Aegisub.app on macOS 2020-02-08 23:43:52 +01:00
Ryan Lucia e46a7b2d2b Convert osx-fix-libs.py to py3 2020-02-08 23:43:52 +01:00
Ryan Lucia 076d58ae72 gitignore: add .DS_STORE for macOS 2020-02-08 23:43:52 +01:00
Ryan Lucia e6a41ccfbf autotools: remove remaining makefiles 2020-02-08 23:43:51 +01:00
Ryan Lucia 38765efde8 [win-installer] auto-populate current year for copyright 2020-02-08 23:43:32 +01:00
Ryan Lucia dccfd8a478 [win-installer] remove fragment_opengl 2020-02-08 23:43:32 +01:00
Ryan Lucia fb905d9dcc [meson] move all .desktop file work into linux conditional 2020-02-08 23:43:32 +01:00
Ryan Lucia cd09702252 [meson] move luabins to subprojects 2020-02-08 23:43:32 +01:00
Ryan Lucia 9f6b14c8c7 gitignore: mass purge 2020-02-08 23:43:32 +01:00
Ryan Lucia 55b1b201e3 meson: fix source file inclusion in libaegisub on osx 2020-02-08 23:43:32 +01:00
FichteFoll a522feaeef Adjust boost gil header paths for boost 1.69
boost/gil.hpp was added in 1.68 and boost/gil/gil_all.hpp removed in
1.69.
2020-02-08 23:43:32 +01:00
FichteFoll cf3b0c7f4b Use i18n.merge_file for real
Requires gettext 0.19, which is available on all major linux dists.

Not compatible with autotools chain! (For now, anyway.)
2020-02-08 23:43:32 +01:00
FichteFoll 61d72c6960 Add commented i18n.merge_file version
Using that makes use of gettext (and msgfmt) rather than intltool,
which is the proper way but requires a more recent gettext version and
I'm not comfortable adding that dependency for now.

Specifically, it would require updating the autotools chain as well
as the template files are incompatible.

See https://wiki.gnome.org/MigratingFromIntltoolToGettext for more info.
2020-02-08 23:43:32 +01:00
FichteFoll 1b592b562f Move language specifications to LINGUAS file
This is required when using i18n.merge_file.
2020-02-08 23:43:32 +01:00
FichteFoll d9202d41ee Properly build aegisub.desktop 2020-02-08 23:43:32 +01:00
Ryan Lucia 8a19a54178 Add virtual destructor to SignalBase
Quashes a frequent warning
2020-02-08 23:43:32 +01:00
Ryan Lucia be64ea3f6e meson: fix up OSX and non-MSVC detection 2020-02-08 23:43:32 +01:00
FichteFoll d47597d4da Use git rev-list to determine revision number 2020-02-08 23:43:32 +01:00
FichteFoll 17ae278b83 Fix git_version.h generation 2020-02-08 23:43:32 +01:00
Ryan Lucia 20ce892352 meson: attempt to wrangle dependencies 2020-02-08 23:43:32 +01:00
Ryan Lucia 25436f7c11 gitignore: mass cleaning 2020-02-08 23:43:32 +01:00
Ryan Lucia dfaa52f8a7 Windows installer: always include vc+ runtime 2020-02-08 23:43:32 +01:00
Ryan Lucia 9cf3714d88 meson: update subprojects 2020-02-08 23:42:37 +01:00
Ryan Lucia 2644f0cf54 meson: remove 'build_' prefix from option 2020-02-08 23:42:37 +01:00
Ryan Lucia 70b729b9e4 Make version.sh executable 2020-02-08 23:42:37 +01:00
Ryan Lucia a78b0fb430 Fix PCH usage
Hopefully this time in a way that doesn't ruin life for Unix folks!
2020-02-08 23:42:36 +01:00
Ryan Lucia bc13aa919c meson: allow additional include directories for manually located deps 2020-02-08 23:42:36 +01:00
Ryan Lucia 664131de6d meson: add Windows-specific project args 2020-02-08 23:42:36 +01:00
Ryan Lucia 885f5bb9c2 meson: fix option name lookup in build file 2020-02-08 23:42:36 +01:00
Ryan Lucia cdd2fe6e5f meson: add DirectSound detection 2020-02-08 23:42:36 +01:00
Ryan Lucia 4b89552ec3 meson: add basic libiconv subproject functionality 2020-02-08 23:42:36 +01:00
Ryan Lucia 4c61dfcf51 meson: fix luajit compiler args 2020-02-08 23:42:36 +01:00
Ryan Lucia 8f5e5bb588 Move iconv to subprojects 2020-02-08 23:42:36 +01:00
Ryan Lucia bd4f69069c Move hunspell to subprojects 2020-02-08 23:42:36 +01:00
Ryan Lucia 6a2abf9281 Move CSRI to subprojects 2020-02-08 23:42:36 +01:00
Ryan Lucia 3f924350ee Remove submodules 2020-02-08 23:42:36 +01:00
Ryan Lucia c86d365dc2 meson: bump c++ version 2020-02-08 23:41:40 +01:00