Thomas Goyne
6ca0349fc8
Simplify icon handling
...
Eliminate the pointless runtime command name -> icon map and just make
commands responsible for their icons. Don't bother predecoding and
caching icons since it wastes some RAM (~10 MB) and decoding icons takes
a trivial amount of time.
Fix a few places where icons were being set for the wrong command names.
2013-12-26 17:43:50 -08:00
Thomas Goyne
01431aca41
Build stuff with /Gw
...
It's not very useful, but it doesn't appear to have any downsides.
2013-12-15 15:31:51 -08:00
Thomas Goyne
70440a8874
Switch to unpatched libass since it's compilable with VC++ 2013
2013-12-12 10:28:27 -08:00
Thomas Goyne
cb0a55839d
Switch to using the VC++ 12 redist in the portable installer
2013-12-12 06:41:05 -08:00
Thomas Goyne
f8828f6658
Add semicolons to things that apparently sometimes need semicolons
2013-12-11 20:26:11 -08:00
Thomas Goyne
af96b305bf
Switch to VC++ 2013 on Windows
...
Remove the faux-variadic make_unique since 2013 has real variadic
templates.
Switch to the non-deprecated windows version check functions.
Switch to the develop branch of boost since master doesn't fully support
VS 2013 atm.
Fix some assorted compilation errors.
Hardcode the paths to a bunch of Visual Studio things since it's now
expanding the relevant macros to nothing for whatever reason.
2013-12-11 15:02:35 -08:00
Thomas Goyne
8aa0842b14
Add option to build with OpenAL on Windows
2013-11-23 10:18:18 -08:00
Thomas Goyne
c5e30709a6
Add a command to cycle between subtitle providers
2013-10-24 14:32:49 -07:00
Thomas Goyne
9ea3dbd847
Make ffmpeg explicitly depend on zlib
2013-10-16 14:04:42 -07:00
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