No description
Find a file
Thomas Goyne 8e491a9ecc Add support for using standard button IDs from automation
Some example uses:

	-- ~special snowflake~ OK/Cancel
	aegisub.dialog.display(config, {ok='Accept', cancel='Cancel'})

	-- On OS X the 'Help' button will be just a left-aligned ?
	aegisub.dialog.display(config, {ok='OK', cancel='Cancel', help='Help'})

	-- Each button in its own subtable to preserve passed order
	-- Unnecessary when using only IDed buttons since the passed order will
	-- be ignored in favor of the platform-standard order
	aegisub.dialog.display(config,
	  {{ok='Accept'}, {cancel='Cancel'}, {help='Help'}, 'Another Button'})

In some cases the passed labels will be ignored in favor of the
platform-standard labels.

Available IDs:
	ok
	yes
	save
	apply
	close
	no
	cancel
	help
	context_help

Note that many combinations of button IDs do not make sense and may have
strange effects.

Buttons with an ID of 'cancel' return false, as if ESC was pressed. A
button with an ID of 'close' results in that button being triggered on
ESC rather than cancel.

Buttons with an ID of 'ok', 'yes' and 'save' are set as the default
affirmative button for the dialog.

Closes #1609.
2013-05-25 15:20:03 -07:00
.nuget Enable automatic NuGet package restoration 2012-11-16 15:58:56 -08:00
aegisub Add support for using standard button IDs from automation 2013-05-25 15:20:03 -07:00
contrib Remove in-repo copy of lua 5.1 and use the submodule instead 2013-04-21 18:02:03 -07:00
deps Bump ICU version 2013-05-06 17:36:50 -07: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
.gitignore Add FFTW3 to .gitignore 2013-05-04 06:47:13 -07:00
.gitmodules Add submodules for most of the deps 2013-04-21 18:02:00 -07:00
Aegisub.sln Build the tests on Windows 2013-02-06 13:22:33 -08:00
README.md Add the beginnings of a README file 2013-04-21 18:24:10 -07:00

Aegisub

For binaries and general information see the homepage.

The bug tracker can be found at http://devel.aegisub.org.

Support is available on the forums or on IRC.

Building Aegisub

Windows

Prerequisites:

  1. Visual Studio 2012. Express edition might work.
  2. A recent Windows SDK
  3. A recent DirectX SDK
  4. A MSYS install with git and c99conv. Note that mingw is not required.

There are a few optional dependencies:

  1. msgfmt, to build the translations
  2. WinRAR, to build the portable installer
  3. InnoSetup, to build the regular installer

All other dependencies are either stored in the repository or are included as submodules.

Building:

  1. Clone Aegisub's repository recursively to fetch it and all submodules: git clone --recursive git@github.com:Aegisub/Aegisub.git
  2. Disable autocrlf for ffmpeg, as its build system manages to not support Windows newlines: cd aegisub/deps/ffmpeg && config --local core.autocrlf && git rm --cached -r . && git reset --hard
  3. Open Aegisub.sln
  4. Build the "! Update Dependencies" project
  5. Open the properties for the Aegisub project and set the location of MSYS in Configuration Properties > Aegisub > Library paths
  6. Build Aegisub
  7. Copy the contents of an existing Aegisub install into the aegisub/aegisub/bin directory (not strictly required, but you'll be missing a lot of functionality otherwise).

There's a pile of other files such as dictionaries, VSFilter and avisynth

For actual development work you will probably want to mostly use the "Debug-MinDep" configuration (which disables building most of the projects), as the dependency checking is pretty slow.

License

All source files in this repository are licensed under either 3-clause BSD or ISC licenses. In practice, Aegisub binaries are usually GPL licensed due to the dependencies.