Thomas Goyne
15280b4561
Delete some old unused stuff
2014-01-11 07:29:07 -08:00
Thomas Goyne
75df295fc0
Rearrage SinkMessage to eliminate padding
2014-01-11 07:29:04 -08:00
Thomas Goyne
af544f05af
Fix non-pch compilation
2014-01-11 07:28:38 -08:00
Thomas Goyne
c19a1c7641
Delete unused copy-and-shift constructor for TimeRange
2014-01-11 07:28:23 -08:00
Tom Maneiro
6617d52178
Update Spanish translation. Closes #1687 .
2014-01-06 08:21:48 -08:00
Thomas Goyne
3747d436cc
Convert Factory to variadic templates
2014-01-06 08:19:39 -08:00
Thomas Goyne
a8492fc02d
Fix directory iteration on Vista
...
FindExInfoBasic was added in Windows 7, not Vista.
2014-01-05 10:04:25 -08:00
Thomas Goyne
f71b380f01
Fix compilation with wx built with --enable-stl
...
--enable-stl replaces the implicit conversion to char/wchar_t* with one
to std::[w]string. This breaks conversions to boost::filesytem::path and
makes some ternaries ambiguous (which GCC helpfully reports as no
conversion existing rather than an ambiguous conversion).
2014-01-05 10:04:23 -08:00
Thomas Goyne
46315d872f
Add a better error message when a hotkey is set for an invalid command
2014-01-03 16:56:18 -08:00
Thomas Goyne
40ddfa8e59
Fix typo in help text
2014-01-03 07:42:12 -08:00
صفا الفليج
b57f0a9c6d
Update arabic translation
2014-01-03 07:42:10 -08:00
Thomas Goyne
afd69725fc
Build with -dead_strip on OS X
...
Bumps 3.5 MB off the binary and doesn't seem to break anything.
2014-01-02 16:35:08 -08:00
Thomas Goyne
fc63df571b
Use -Werror for compiler flag support checks so that they actually work
2014-01-02 16:35:08 -08:00
Thomas Goyne
a433a3f5e4
Silence unused local typedef warnings from gcc+boost
2014-01-02 16:35:08 -08:00
Thomas Goyne
dce9dbf211
Silence warnings from other people's code
2014-01-02 16:35:08 -08:00
Thomas Goyne
1cbf20f8ab
Work around wxGTK issues with time edits
...
Modifying the contents of a text control after IM processing happens in
the same cycle of the event loop seems to be seriously broken. Work
around this by disabling IM processing for time edits, as it should
never be relevant for them anyway.
Closes #1679 . Closes #1680 .
2014-01-02 11:47:15 -08:00
Thomas Goyne
5298634721
Fix infinite loop of error messages when an invalid command is displayed in the hotkey editor
2014-01-01 19:20:50 -08:00
Thomas Goyne
1d69efc35e
Kill the Update Dependencies project
...
Move downloading the ICU data file to the ICU project, since that's the
only thing that was left.
2014-01-01 14:27:26 -08:00
Thomas Goyne
5d38a9c585
Also return full paths from aegisub.dialog.save
2014-01-01 11:46:27 -08:00
Thomas Goyne
418e1cad98
Fix some warnings when compiling with gcc
2014-01-01 10:28:10 -08:00
Thomas Goyne
d21c33df31
Grab the .mo files for the installed from the po directory
...
Grabbing them from the package's src directory just adds another step
that needs to be done manually whenever a translation changes.
2014-01-01 09:39:49 -08:00
Thomas Goyne
56701605ff
Port BuildTasks to C#
...
VS Express Edition doesn't support F#.
2014-01-01 09:20:37 -08:00
Thomas Goyne
75ecb0c2a8
Move fftw3 to a git submodule and update to 3.3.3
2014-01-01 07:36:53 -08:00
Thomas Goyne
11581ccd28
Bump copyright years
2014-01-01 07:22:37 -08:00
Daniel Mota
5832b55d3f
Update pt_PT.po due to 3.1.0 changes
2013-12-30 02:49:30 +00:00
Thomas Goyne
20b4515c24
Fix potential use-after-frees on redo
...
Don't delete the old copy of the file until after the new version is
committed to avoid a use-after-free when code tries to do things with
the active line in a COMMIT_NEW handler, as just trying to avoid doing
that hasn't really worked out.
2013-12-29 11:44:22 -08:00
Thomas Goyne
21b9fe1405
Replace the standard Lua include path entirely on Windows
...
The default Lua include path is encoded with the local charset rather
than UTF-8. This causes problems when the working directory includes
non-latin-1 characters which are valid in the local charset, as Aegisub
expects the string to be UTF-8. As the default path isn't very useful on
Windows (on other platforms it could potentially include things like
luarocks-installed modules), just clear it.
Closes #1676 .
2013-12-27 14:52:01 -08:00
doplank
0a5a26a74d
Update Indonesian translation
2013-12-27 09:56:43 -08:00
Thomas Goyne
f0d35a1cf3
Retinafy the video display
2013-12-27 09:56:39 -08:00
Thomas Goyne
c8368a500b
Dynamically switch to the retina toolbar icons as appropriate
2013-12-27 09:29:53 -08:00
Thomas Goyne
f4a6d90db4
Use retina icons for the main toolbar if first opened on a retina display
2013-12-27 09:29:53 -08:00
Thomas Goyne
b4ed6a3b1a
Add 48x48 and 64x64 icons
2013-12-27 09:29:53 -08:00
Thomas Goyne
55ff9bfd50
Simplify HelpButton a little
...
Switch to flat_map for trivially less memory usage and just use a global
map rather than a heap-allocated map since it's not
(de)initialization-order sensitive.
2013-12-26 17:43:55 -08:00
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
2ef352d365
Add an option to skip all of the slow configure checks
...
Cuts the total runtime of the configure script from 19 seconds to 5
seconds for me.
2013-12-24 16:34:19 -08:00
Thomas Goyne
6baa096a64
Add configure check to verify that boost was built with ICU support
2013-12-24 16:34:17 -08:00
Thomas Goyne
1645182b5d
Add dependency on libaegisub for the tools directory
2013-12-24 12:41:42 -08:00
Thomas Goyne
3e0ef08031
Merge the translations into the desktop file on install. Closes #1109 .
2013-12-24 11:03:09 -08:00
Thomas Goyne
615f3b4880
Explicitly link boost.chrono
...
Boost.thread sometimes fails to link without this.
2013-12-24 10:16:05 -08:00
Thomas Goyne
f95f2dcd25
Refactor spellchecker language listing
2013-12-24 09:42:20 -08:00
Thomas Goyne
dbf5af1d49
Load the thesaurus dictionary asynchronously
2013-12-24 09:26:29 -08:00
Thomas Goyne
6957cd76a6
Refactor thesaurus language listing a bit
2013-12-24 09:25:45 -08:00
Thomas Goyne
6a193f280e
Use a flat_map for the thesaurus index
2013-12-24 09:25:39 -08:00
Thomas Goyne
d9a2669389
Add tool to repack thesaurus dictionaries
...
The standard MyThes dictionaries include words that we don't support
(nearly half the entries in the English dictionary have speaces in them)
which waste space, and they aren't UTF-8 which slows down loading as we
need to convert them.
Knocks a total of 10 MB off the thesaurus dictionaries.
2013-12-24 09:23:49 -08:00
Thomas Goyne
c28a02a34d
Don't overwrite alpha when using the color picker screen dropper
2013-12-24 09:23:32 -08:00
Thomas Goyne
f534205a91
Make line_iterator less slow
2013-12-24 09:23:28 -08:00
Thomas Goyne
45726bea3c
Fix loading automation script names from subtitle files
2013-12-23 11:46:52 -08:00
Thomas Goyne
22e4a8bd58
Ignore errors when canonicalizing paths for automation
...
It's only being done to make the error reporting prettier, so it failing
shouldn't block the loading of the file.
2013-12-23 11:37:20 -08:00
Thomas Goyne
41ce8d7c31
More crash log writing fixes
2013-12-23 10:19:01 -08:00
Thomas Goyne
40da549a56
Set the path to write crash recovery files to correctly
2013-12-23 10:00:24 -08:00
Thomas Goyne
1601c9c68d
Handle uncaught exceptions thrown from more places
2013-12-23 09:07:20 -08:00
Thomas Goyne
3d6cbc8c99
Don't spam the user with many dialogs when pasting invalid styles
...
Just show a single error dialog regardless of the number of styles that
failed to parse.
2013-12-23 07:54:13 -08:00
Thomas Goyne
3c8160f1e3
Preserve the detached video dialog size when changing tools
...
The relayout to handle the changed subtoolbar size was fitting the
dialog to the size of the video, which was rather undesirable.
2013-12-21 08:25:01 -08:00
Thomas Goyne
32acb6067b
Fix the default angle for styles
2013-12-16 20:23:02 -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
d0bcc2e22c
Apply the line's shear to the x/y rotation grid
2013-12-15 08:06:50 -08:00
Thomas Goyne
80cb3d04c7
Make the X/Y rotation grid much bigger
...
This is still a totally arbitrary size. Maybe it should be customizable
or adaptive somehow?
2013-12-13 19:51:44 -08:00
Thomas Goyne
41434ec5a1
Cut down on magic numbers in the drawing code for the x/y rotate grid
2013-12-13 19:47:29 -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
be485dd4d4
Use raw string literals for regular expressions where useful
2013-12-12 09:27:52 -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
14fcfce71a
Delete pre-3.0 hotkey/option migration information
2013-12-12 06:36:54 -08:00
Thomas Goyne
f8828f6658
Add semicolons to things that apparently sometimes need semicolons
2013-12-11 20:26:11 -08:00
Thomas Goyne
30b475410e
Fix compilation with boost 1.52. Closes #1670 .
2013-12-11 19:36:29 -08:00
Thomas Goyne
0a19a6d8f5
Don't use uniform initialization for structs because VC++ 2013 is buggy
2013-12-11 19:16:16 -08:00
Thomas Goyne
038eb6e58b
Use the new much shorter event names
2013-12-11 18:50:12 -08:00
Thomas Goyne
7c68c81ea3
Remove #ifs for older versions of wx
2013-12-11 18:50:12 -08:00
Thomas Goyne
e9f2194ca6
Bump required version of wx to 3.0.0
2013-12-11 18:50:12 -08:00
Thomas Goyne
6fad60e58d
Use NSDMIs where applicable
2013-12-11 18:50:12 -08:00
Thomas Goyne
d6a5d9c458
Use initializer lists in some places
2013-12-11 18:50:11 -08:00
Thomas Goyne
a84e463a06
Fix test compilation on windows
2013-12-11 15:03:45 -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
5493c025bc
Fix the color picker recent colors box on OS X
...
SetBitmap triggers a size event, which results in UpdateBitmap being
called again. For some reason, rather than being an infinite loop this
just resulted in the bitmap never being set.
2013-12-11 10:14:55 -08:00
Thomas Goyne
5b7b5811f1
Remove pointless sizer in the colorpicker dialog
2013-12-11 09:38:40 -08:00
Thomas Goyne
fc7bf8f1b0
Fix AssAttachment::Clone
2013-12-11 07:55:17 -08:00
Thomas Goyne
d4c831e346
Fix crash when FFMS_GetCodecNameI returns NULL
2013-12-10 12:37:03 -08:00
Thomas Goyne
16d55f9d64
Also add the track cursor font name option to the non-OS X config file
2013-12-10 12:08:36 -08:00
Thomas Goyne
533bb4cd1c
Fix crash when writing crash logs
2013-12-10 10:38:57 -08:00
Thomas Goyne
c83b2ace2a
Eliminate CoreText warnings on 10.9 from the audio track cursor
2013-12-10 09:18:27 -08:00
Thomas Goyne
85148002bc
Get the UI font from CoreText on OS X
2013-12-10 09:08:30 -08:00
Thomas Goyne
1935e77261
Codesign the app bundle before creating the dmg
2013-12-09 13:55:44 -08:00
Thomas Goyne
29eb7b5e9e
Preserve the filename header when reading attachments
2013-12-09 13:45:29 -08:00
Thomas Goyne
23a21b33b1
Use a fixed-size buffer for log messages
...
libc++'s implementation of ostrstream seems to have incorrect
range-checking and does some out-of-bounds reads and writes whenever a
resize is needed, which results in crashes on 10.7 (but not 10.9 for
unknown reasons).
2013-12-09 12:47:32 -08:00
Thomas Goyne
f56f9ade9b
Merge pull request #5 from 11rcombs/osx-build-tweaks
...
Tweaked OSX build to not hate /usr/local quite as much
2013-12-08 06:53:16 -08:00
11rcombs
8e249b249e
Tweaked OSX build to not hate /usr/local quite as much
2013-12-07 23:21:07 -06:00
Nuria Andión
9fe5ef7b86
Update Galician translation. Closes #1167 .
2013-12-06 15:27:01 -08:00
sL1pKn07
079b341f98
Fix permissions on installed files. Closes #1669 .
2013-12-06 15:25:17 -08:00
Thomas Goyne
4c1a8a21b9
Fix assertion failure when deleting all lines
...
Lines need to be deselected before they're deleted, but new lines need
to be committed before they can be selected, so reorder things to
remove -> insert new line if needed -> commit -> update selection -> delete.
2013-12-01 20:27:31 -08:00
Thomas Goyne
11d1348c2c
Fix check for if the first arg to log is a number
2013-11-27 17:14:19 -08:00
Thomas Goyne
0b1b10fb52
Remove the installed copy of the docs
...
Keeping them up to date is annoying.
2013-11-24 09:19:33 -08:00
Thomas Goyne
91e4cd292e
Fix keyboard layout handling issues in time edits. Closes #1630 .
2013-11-23 15:07:53 -08:00
Shimapan
53a90d5f18
Update german translation
2013-11-23 13:04:31 -08:00
Thomas Goyne
a69f0d8af8
Regenerate aegisub.pot
2013-11-23 12:50:00 -08:00
Thomas Goyne
64a9026e57
Delete make_pot.bat
2013-11-23 12:47:49 -08:00
Thomas Goyne
14c57aad6e
Update versions in make_pot.sh
2013-11-23 12:47:48 -08:00
Thomas Goyne
8aa0842b14
Add option to build with OpenAL on Windows
2013-11-23 10:18:18 -08:00
Thomas Goyne
1f66e776c1
Fix uncaught exception when resampling empty drawings
2013-11-23 09:57:22 -08:00
Thomas Goyne
cf76fb343f
Fix compilation of thesaurus tests
2013-11-23 09:57:22 -08:00
Thomas Goyne
a7f4fb5b87
Run clang-modernize on things
2013-11-23 09:57:22 -08:00
Thomas Goyne
2e051a8fde
Fix non-pch compliation
2013-11-23 09:57:21 -08:00