Cross-platform advanced subtitle editor
Go to file
wangqr 7c76136726 fix: infinite recursion when loading video
In 888be0607f some changes have been made to video_display.cpp which causes infinite recursion: the video display enables video/tool/cross tool when running VideoDisplay::Render() for the first time.
But when setting up the tool, the video box size is changed, which calls VideoDisplay::Render() again. So we need to set the tool BEFORE it modifies the box by "AddSeparator".

Fix wangqr/Aegisub#21

Co-authored-by: Charlie Jiang <cqjjjzr@126.com>
2019-09-23 11:58:51 -04:00
.nuget Move everything up a level since the root dir no longer has stuff 2014-03-11 12:14:57 -07:00
automation Add support for setting status bar text from Lua 2019-05-10 14:54:05 -04:00
build Add DPI aware to Aegisub manifest 2018-12-08 01:20:08 -05:00
cmake Cleanup CMake 2019-09-10 01:37:48 -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 Fix PCM provider bugs 2019-09-15 19:46:43 -04:00
m4macros added missing files (#57) 2018-04-29 12:59:48 -07:00
packages Fix msgfmt missing LINGUAS 2019-09-15 21:06:39 -04:00
po Added Belarusian Localization 2019-09-22 20:09:12 -04:00
src fix: infinite recursion when loading video 2019-09-23 11:58:51 -04:00
tests Fix lagi_thes unit tests on Windows 2019-09-18 18:11:18 -04:00
tools Add CFLAGS_PTHREAD/LIBS_PTHREAD to everything needing them 2016-03-05 11:23:46 -08:00
vendor Fix build warnings 2019-05-11 21:36:34 -04:00
.gitignore Fix msgfmt missing LINGUAS 2019-09-15 21:06:39 -04:00
.gitmodules remove fontconfig submodule 2018-03-03 12:46:44 -08:00
.travis.yml don't be too pedantic on the OpenAL checks 2019-09-22 20:12:00 -04:00
Aegisub.sln Remove fontconfig entirely from the Windows build 2015-12-29 20:08:07 -08:00
CMakeLists.test.txt Fix gtest setup.bat on Windows 2019-09-14 21:11:03 -04:00
CMakeLists.txt Use gettext for desktop file instead of intltool 2019-09-13 17:59:38 -04: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 Integrate AppData file with build system 2019-09-08 04:35:05 -04:00
Makefile.target Bump minimum macOS version to 10.8 2017-07-04 12:31:55 -07:00
README.md Update README.md and prepare for release 2019-09-05 22:16:58 -04:00
acinclude.m4 Build: update boost m4 macros 2018-01-27 11:32:27 -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
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 don't be too pedantic on the OpenAL checks 2019-09-22 20:12:00 -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

README.md

Build Status

Aegisub

For binaries and general information see the homepage.

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

Support is available on IRC ( irc://irc.rizon.net/aegisub ).

Building Aegisub

Prerequisites:

  1. CMake 3.14 or later (or you can use an older version by editing the first line in CMakeLists.txt, and download the missing cmake/FindFontconfig.cmake from here),
  2. Any compiling toolchain supported by CMake,
  3. All required dependencies, namely libass, Boost(with ICU support), OpenGL, libicu, wxWidgets, zlib. Additionally, libiconv is required on non-POSIX systems. fontconfig is required on non-Windows systems.
  4. Any optional dependencies, namely ALSA, FFMS2, FFTW, Hunspell, OpenAL, uchardet.

Building:

  1. If you decided to build from source:
git clone https://github.com/wangqr/Aegisub.git  # No --recursive is needed
cd Aegisub
./build/version.sh .  # This will generate build/git_version.h
  1. Make an empty directory to hold build outputs:
mkdir build-dir
  1. Build the project using CMake. Use either cmake-gui, or the command line:
cd build-dir
cmake ..
make

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.