Commit Graph

345 Commits

Author SHA1 Message Date
Thomas Goyne 4d8adff9d6 Build wx with wxStandardPaths enabled
It's still needed to get the path to the executable when restarting to
switch UI languages.
2013-10-08 07:33:01 -07:00
Thomas Goyne 64ecd29169 Switch to using an intrusive list for the visual tool features
Slightly improves performance and eliminates a bunch of really clunky
passing around and storing of iterators.
2013-09-17 16:23:36 -07:00
Thomas Goyne b4ba31fe45 Bump dependency versions 2013-09-17 09:09:57 -07:00
Thomas Goyne 80c9f67ce8 Rewrite the auto-matcher for the karaoke timing copier
Operate on characters rather than bytes in the dialog so that it
actually works with Kanji.

Rewrite the auto-matcher to handle more cases and add unit tests for it.
2013-09-15 14:52:16 -07:00
Thomas Goyne 1f5b98b11d Bump ffmpeg and boost versions 2013-08-19 12:51:19 -07:00
Thomas Goyne 6c5adde19a Fix wx compilation and silence a warning when compiling wx 2013-08-19 12:51:19 -07:00
Thomas Goyne 2fdbc73721 Fully extract the resolution resampling logic from DialogResample 2013-07-09 08:35:50 -07:00
Thomas Goyne 7c7cfc79e6 Delete SubtitlesGrid since it's now empty 2013-06-18 19:43:16 -07:00
Thomas Goyne b67a0538ff Drop support for non-little-endian platforms
Aegisub doesn't actually currently run on any.
2013-06-11 20:54:07 -07:00
Thomas Goyne 9735397a93 Make libass a hard dependency
There's really no point in letting people build Aegisub without any
subtitle renderers.
2013-06-11 19:46:12 -07:00
Thomas Goyne f90a5b21e9 Remove the hack for dynamically linking the runtime for FFmpeg as it's been fixed upstream 2013-05-27 10:50:28 -07:00
Thomas Goyne 7deca9f43c Update to latest wx trunk 2013-05-26 15:53:44 -07:00
Thomas Goyne 536cff7cb6 Bump ICU version 2013-05-06 17:36:50 -07:00
Thomas Goyne cefc045c05 Enable wxRegKey since a bunch of random stuff depends on it 2013-05-03 22:32:03 -07:00
Thomas Goyne d9cb5ae574 Update automation files to install 2013-05-03 20:00:55 -07:00
Thomas Goyne 39f2a09aee Update installer files 2013-05-03 17:57:32 -07:00
Thomas Goyne 99d74e18b3 Add LPeg 0.10
0.11 has a bug that makes it crash on MoonScript, and 0.12 is much slower.

LPeg isn't packaged as a C library and consists of a whopping two files
so just compile it as part of Aegisub.
2013-05-03 06:41:07 -07:00
Thomas Goyne 90b35efa75 Remove most of the fetched dependencies since they're now submodules 2013-04-21 18:24:07 -07:00
Thomas Goyne 9667a7b21f Build Lua as C
Linux distros nearly always package Lua built as C, so build it as C on
Windows as well to cut down on needless differences.
2013-04-21 18:02:04 -07:00
Thomas Goyne 8cd1a0a9d4 Remove in-repo copy of lua 5.1 and use the submodule instead 2013-04-21 18:02:03 -07:00
Thomas Goyne 9c98d1bc13 Fix the output path for dictionaries in the portable install 2013-04-20 06:53:20 -07:00
Thomas Goyne 1096ef8c6e Disable a pile of wx things we don't use 2013-04-16 20:05:44 -07:00
Thomas Goyne 82476832af Build wx without wxRegex 2013-04-16 20:05:44 -07:00
Thomas Goyne 68662211a1 Make Lua 5.1 a required dependency 2013-04-16 20:05:43 -07:00
Thomas Goyne c556a47509 Replace wxRegex bindings for lua with boost::regex bindings
API is mostly unchanged other than the addition of a lot more flags.
Should be less buggy since it has an actual test suite, and generally
has a more powerful regex syntax with better support for Unicode.

The bindings are written in MoonScript. For now the compiled form is
store in the repo for convenince.
2013-04-16 20:05:43 -07:00
Thomas Goyne 44188267d6 Extract some common helper methods to auto4_lua_utils.h 2013-04-09 20:14:53 -07:00
Thomas Goyne e33dc4ae3a Add the en_US dictionary to the portable installer 2013-04-07 08:43:57 -07:00
Thomas Goyne a15d1cb43d Fix the paths in the PortableInstaller filters 2013-04-07 08:43:57 -07:00
Thomas Goyne 5ff00c6996 Remove MPC-HC VSFilter from the portable installer files 2013-04-07 08:43:57 -07:00
Thomas Goyne c640f279ba Create the output directory for the portable installer if it doesn't exist 2013-04-07 08:43:56 -07:00
Thomas Goyne 73217fd0e9 Move uuencoding logic to libaegisub and add tests 2013-02-07 16:02:44 -08:00
Thomas Goyne 79cd9448f8 Update to ICU 50.1.2 2013-02-06 13:38:35 -08:00
Thomas Goyne bec9483429 Cut all the stuff from ICU's data file that we don't need 2013-02-06 13:38:35 -08:00
Thomas Goyne 523fcd72b0 Add agi::fs tests 2013-02-06 13:38:34 -08:00
Thomas Goyne 47c36c9033 Use ICU/boost.locale for case-insensitive searching
Do proper unicode case-folding for case-insensitive searching rather
than converting only ascii characters to lowercase. The Turkish 'i' is
still not handled correctly (since it's the only place where
case-folding is locale-dependent), but that's probably not worth caring
about as long as we don't have a Turkish UI translation.

This affects both the find/replace dialog and the select lines dialog.

Closes #1342.
2013-02-06 13:38:33 -08:00
Thomas Goyne 1cc52611de Rearrange the tests files 2013-02-06 13:22:34 -08:00
Thomas Goyne 74028b9bcd Sort the files in the project 2013-02-06 13:22:33 -08:00
Thomas Goyne 1d5e270283 Remove duplicate copy of hotkey.h in the project file 2013-02-06 13:22:33 -08:00
Thomas Goyne 396ff897e5 Kill StandardPaths
It's now just a pointless wrapper around agi::Path.
2013-02-06 13:22:33 -08:00
Thomas Goyne af37047736 Build the tests on Windows 2013-02-06 13:22:33 -08:00
Thomas Goyne 937f8497a5 Build gtest on Windows 2013-02-06 13:22:33 -08:00
Thomas Goyne 053bb9b76a Add googletest to the dependency fetcher 2013-02-06 13:22:33 -08:00
Thomas Goyne 86aca22502 Build boost.locale on Windows 2013-02-06 13:22:33 -08:00
Thomas Goyne 07adb5c84e Build boost.regex with ICU support 2013-02-06 13:22:32 -08:00
Thomas Goyne 91e43d3c17 Build ICU on Windows 2013-02-06 13:22:32 -08:00
Thomas Goyne 855902edb8 Add ICU to the libraries downloaded by the dependencies fetcher 2013-02-06 13:22:32 -08:00
Thomas Goyne a0d3dbc550 Extract Loading/Saving/Undo stuff from AssFile
Add SubsController, which deals with things like what subtitle file is
currently open, rather than the contents of the current subtitle file.
Move the rest of the relevant logic from FrameMain there in addition to
all of the stuff from AssFile.
2013-02-06 13:22:32 -08:00
Thomas Goyne 69e1744fc7 Make agi::util::time_log less insane 2013-02-06 13:22:16 -08:00
Thomas Goyne 1e0f08c0ed Mostly purge wxWidgets from non-UI stuff
Use boost::filesystem::path for all paths, and std::string for all other
strings, converting to/from wxString as close to the actual uses of wx
as possible.

Where possible, replace the uses of non-UI wxWidgets functionality with
the additions to the standard library in C++11, or the equivalents in
boost.

Move the path token management logic to libaegisub (and rewrite it in
the process).

Add a basic thread pool based on asio and std::thread to libaegisub.

This touches nearly every file in the project and a nontrivial amount of
code had to be rewritten entirely, so there's probably a lot of broken
stuff.
2013-02-06 13:22:15 -08:00
Thomas Goyne 10e06ac3f9 Build and/or link the non-header-only boost libraries 2013-02-01 19:07:51 -08:00