No description
Find a file
Oneric e2ea84541f AlignToVideo: Handle tolerance = 0 correctly
Checking if the diff is '>' instead of '>=' will always fail if
tolerance=0, even if the colours are identical. This will cause the line
to get a startime greter than its end time, which is not desireable.

Rounding errors and limits of floating type precision might still affect
the comparison. An additional sanity check before calculation is added
to ensure the selected position and colour match within tolerance.
This allows us to refactor the search code to never check the starting
frame and guanrantees valid timings with start<end even with
rounding errors.
2020-07-17 18:07:18 +02:00
.nuget Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
.travis Use homebrew addon instead of manually executing 2020-03-09 20:23:48 -04:00
automation Upgrade LuaJIT to 2.1.0-beta3 2020-03-09 13:01:09 -04:00
build Add DPI aware to Aegisub manifest 2018-12-08 01:20:08 -05:00
cmake Modernize CMake (part 1) 2020-03-30 20:32:16 -04:00
docs Modify aegisub_convert_docs.pl to produce a static mirror suitable for serving on a web site 2012-09-03 17:26:49 -07:00
libaegisub Use millisecond in Make Adjacent step in Timing Post-Processor 2020-07-04 05:22:14 -04:00
m4macros added missing files (#57) 2018-04-29 12:59:48 -07:00
packages Poke the OS X icons. 2020-03-08 17:48:52 -04:00
po dialog_align: Remove point at the end of the tooltips 2020-07-17 16:12:41 +02:00
src AlignToVideo: Handle tolerance = 0 correctly 2020-07-17 18:07:18 +02:00
tests Fix touch date issue in setup.ps1 2020-04-03 22:21:38 -04:00
tools Handle @loader_path in libboost on macOS 2020-05-06 13:14:06 -04:00
vendor Remove vendor submodules 2020-05-29 00:55:02 -04:00
.gitignore lj_str.c: Remove special-case string interning fastpath 2019-11-02 00:23:50 -04:00
.gitmodules Remove vendor submodules 2020-05-29 00:55:02 -04:00
.travis.yml Test hunspell and uchardet on Travis macOS 2020-06-07 12:09:04 -04:00
acinclude.m4 Build: update boost m4 macros 2018-01-27 11:32:27 -08:00
Aegisub.sln Remove fontconfig entirely from the Windows build 2015-12-29 20:08:07 -08:00
autogen.sh Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
CMakeLists.test.txt Modernize CMake (part 1) 2020-03-30 20:32:16 -04:00
CMakeLists.txt Set default build type to Release 2020-06-01 22:16:28 -04:00
config.guess Update config.sub, config.guess, install-sh (#77) 2018-06-17 11:14:35 -07:00
config.sub Update config.sub, config.guess, install-sh (#77) 2018-06-17 11:14:35 -07:00
configure.ac Remove unnecessary compiler flags 2020-05-09 13:44:13 -04:00
header.mk Switch to a maintained fork of universalchardet 2016-02-09 20:29:29 -08:00
install-sh Update config.sub, config.guess, install-sh (#77) 2018-06-17 11:14:35 -07:00
LICENCE Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
Makefile Remove the in-repo copy of the fontconfig config files 2014-06-24 09:06:32 -07:00
Makefile.inc.in Upgrade LuaJIT to 2.1.0-beta3 2020-03-09 13:01:09 -04:00
Makefile.target Drop support for macOS < 10.10 2020-03-09 19:50:56 -04:00
README.md Readme: Fix Typo 2020-07-17 00:10:55 +02:00

Build Status

Aegisub

For binaries and general information see the homepage and release page.

The bug tracker can be found at https://github.com/wangqr/Aegisub/issues .

If you want to test the upstream version, r8942 can be downloaded here. If both r8942 and this fork have some common issue, report at upstream may let more people see your issue, and I am also watching the upstream for issues. If it is a wangqr fork specific issue, report it here.

Support is available on IRC ( irc://irc.rizon.net/aegisub , for upstream version) or via issues.

Building Aegisub

autoconf / make (for linux and macOS)

This is the recommended way of building Aegisub on linux and macOS. Currently AviSynth+ support is not included in autoconf project. If you need AviSynth+ support, see CMake instructions below.

Aegisub has some required dependencies:

  • libass
  • Boost(with ICU support)
  • OpenGL
  • libicu
  • wxWidgets
  • zlib
  • fontconfig (not needed on Windows)
  • luajit (or lua)

and optional dependencies:

  • ALSA
  • FFMS2
  • FFTW
  • Hunspell
  • OpenAL
  • uchardet
  • AviSynth+

You can use the package manager provided by your distro to install these dependencies. Package name varies by distro. Some useful references are:

After installing the dependencies, you can clone and build Aegisub with:

git clone https://github.com/wangqr/Aegisub.git
cd Aegisub
./autogen.sh
./configure
make

CMake (for Windows and linux)

This fork also provides CMake build. The CMake project will only build Aegisub itself, without the translation.

You still need to install the dependencies above. To enable AviSynth+ support, it is also needed. Installing dependencies on Windows can be tricky, as Windows doesn't have a good package manager. Refer to the Wiki page on how to get all dependencies on Windows.

After installing the dependencies, you can clone and build Aegisub with:

git clone https://github.com/wangqr/Aegisub.git
cd Aegisub
./build/version.sh .  # This will generate build/git_version.h
mkdir build-dir
cd build-dir
cmake ..  # Or use cmake-gui / ccmake
make

Features can be turned on/off in CMake by toggling the WITH_* switches.

For Archlinux users, you can also try the PKGBUILD in project wiki.

Updating Moonscript

From within the Moonscript repository, run bin/moon bin/splat.moon -l moonscript moonscript/ > bin/moonscript.lua. Open the newly created bin/moonscript.lua, and within it make the following changes:

  1. Prepend the final line of the file, package.preload["moonscript"](), with a return, producing return package.preload["moonscript"]().
  2. Within the function at package.preload['moonscript.base'], remove references to moon_loader, insert_loader, and remove_loader. This means removing their declarations, definitions, and entries in the returned table.
  3. Within the function at package.preload['moonscript'], remove the line _with_0.insert_loader().

The file is now ready for use, to be placed in automation/include within the Aegisub repo.

License

All files in this repository are licensed under various GPL-compatible BSD-style licenses; see LICENCE and the individual source files for more information. The official Windows build is GPLv2 due to including fftw3.