Commit graph

7562 commits

Author SHA1 Message Date
Thomas Goyne
e713f741a4 Make some functions static 2014-07-08 16:38:16 -07:00
Thomas Goyne
e60197962a Fix buffer overflow when getting text extents
lfFaceName needs to be null-terminated, so only copy up to 31 characters
into the buffer.
2014-07-08 09:23:19 -07:00
Thomas Goyne
8a5b4ae3a3 Fix keycode mapping for backspace, enter, tab and escape 2014-07-08 09:23:19 -07:00
Thomas Goyne
a58ed7343d Add Aegisub's include dirs before the system ones rather than after 2014-07-07 09:42:02 -07:00
Thomas Goyne
a11da3350c Save a backup copy of the old hotkey file if migrating from the old format 2014-07-07 09:42:02 -07:00
Thomas Goyne
365c04333c Install the unicode-compatible Lua module loader before loading moonscript
Closes #1760.
2014-07-07 09:23:36 -07:00
Thomas Goyne
6c0752035c Slightly optimize AssDialogue serialization 2014-07-07 08:40:38 -07:00
doplank
3844a1cb80 Update Indonesian translation 2014-07-07 08:40:38 -07:00
Thomas Goyne
5a14b36389 Remove unused test util functions 2014-07-06 19:25:49 -07:00
Thomas Goyne
935c6bc3a7 Store hotkeys in a less dumb format 2014-07-06 19:25:49 -07:00
Thomas Goyne
033baed930 Add simple tests for agi::Split 2014-07-06 19:25:49 -07:00
Thomas Goyne
2757ebd94f Add character counter tests 2014-07-06 19:25:49 -07:00
Thomas Goyne
3b34ed9a77 Move AssTime to libaegisub and add tests 2014-07-06 19:25:49 -07:00
Thomas Goyne
ba0e544d70 Swallow spam from coveralls submission 2014-07-06 19:25:49 -07:00
Thomas Goyne
8c7fd37aa9 Clean up the SRT reader/writer a bit 2014-07-06 19:25:49 -07:00
Thomas Goyne
8576c4993f Fix SRT timestamp parsing 2014-07-06 19:25:48 -07:00
Thomas Goyne
dd70da35d4 Remove some cruft from the fonts collector 2014-07-06 19:25:48 -07:00
Thomas Goyne
e924db1fda Store open dialogs in an unsorted vector
Even if every dialog in the program was open at once, linearly searching
a vector is quite fast enough.
2014-07-06 19:25:48 -07:00
Thomas Goyne
f0f836c47b Eliminate a pointless std::map in charset_conv 2014-07-06 19:25:48 -07:00
Thomas Goyne
a22dd0f9ca Clean up the json parser a little 2014-07-06 19:25:48 -07:00
Thomas Goyne
d9016cc8ea Debloat and slightly speed up the MRU code 2014-07-06 19:25:48 -07:00
Thomas Goyne
518342b919 Make the hotkey code a bit less bloated 2014-07-06 19:25:48 -07:00
Thomas Goyne
c0c05e982a Support passing a test filter to make test 2014-07-04 21:14:29 -07:00
Thomas Goyne
7cafee39fc Exclude the Windows-specific files from coveralls 2014-07-04 20:37:36 -07:00
Thomas Goyne
df8ad34838 Eliminate pointless runtime datastructures for CalltipProvider
And add some tests and make it actually work correctly.
2014-07-04 20:37:36 -07:00
Thomas Goyne
93522e30a8 Use a static table of tokens for agi::Path
The set of possible tokens is fixed, so using std::map is a bunch of
pointless overhead (that turns out to not even really simplify the
code).
2014-07-04 20:37:36 -07:00
Thomas Goyne
6fab17d860 Add basic tests for lfs 2014-07-04 10:52:38 -07:00
Thomas Goyne
9befa29707 Don't exclude tests dir from coverage information 2014-07-04 08:45:05 -07:00
Thomas Goyne
830b54ec69 Build in debug mode on travis 2014-07-04 08:41:57 -07:00
Thomas Goyne
7dc8dd6075 Install moonscript for busted on travis 2014-07-04 08:41:57 -07:00
Thomas Goyne
771ce976cc Use the boost 1.55 tarball on travis since cloning the repo takes forever 2014-07-04 07:51:56 -07:00
Thomas Goyne
5d92024201 Exclude more stuff from coveralls to cut down on noise 2014-07-04 07:21:55 -07:00
Thomas Goyne
6ce9ce1546 Remove unused helper function 2014-07-03 10:57:53 -07:00
Thomas Goyne
2f0ddb4f32 Improve the line_iterator tests 2014-07-03 10:57:53 -07:00
Thomas Goyne
14969ec2ea Submit code coverage information to Coveralls 2014-07-03 10:57:53 -07:00
Thomas Goyne
d56868e820 Fiddle with the dependency info for libresrc to hopefully work better 2014-07-02 18:20:11 -07:00
Thomas Goyne
3832f700c5 Eliminate race condition in fs::Touch test 2014-07-02 18:20:11 -07:00
Thomas Goyne
92958a874b Add travis CI support 2014-07-02 18:20:11 -07:00
Thomas Goyne
3ddafcd34a Disable iconv tests that require on libiconv functionality when not using libiconv 2014-07-02 18:20:10 -07:00
Thomas Goyne
c804042978 Fix test compilation with gcc 2014-07-02 18:20:10 -07:00
Thomas Goyne
c5bffa9352 Fix failing path test on Linux 2014-07-02 18:20:10 -07:00
Thomas Goyne
1c94439909 Support running setup.sh out-of-tree 2014-07-02 10:55:19 -07:00
Thomas Goyne
a084f02a2d Fix a case where the found text would not be selected with find/replace
SubsTextEditCtrl::SetTextTo needs to update the selection via the text
selection controller or the text selection controller will have an
outdated cached state until the UpdateUI event is processed, which
soemtimes resulted in it not actually setting the selection when it
needed to be.
2014-07-01 20:16:17 -07:00
Thomas Goyne
abcd2bd61b Modernize the EBU STL writer a bit 2014-07-01 20:16:17 -07:00
电脑迷
ce503a1fb5 Update Chinese translations. Closes #1779. 2014-07-01 12:25:36 -07:00
Thomas Goyne
97a7b74dea Update fontconfig 2014-07-01 12:25:36 -07:00
Thomas Goyne
0f42155ca2 Make all of the syntax highlighter colors customizable
Closes #1782.
2014-07-01 12:25:22 -07:00
Thomas Goyne
71b74a6e86 Remove -D__STDC_FORMAT_MACROS from CXXFLAGS
The inttypes defines are no longer used anywhere due to that agi::Format
doesn't require them.
2014-07-01 12:22:39 -07:00
Thomas Goyne
c1a7ba0009 Merge pull request #13 from dwbuiten/goto1
srt: Factor out a goto statement
2014-06-30 13:08:14 -07:00
Derek Buitenhuis
14f9814bba srt: Factor out a goto statement
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-06-30 17:05:30 +01:00