Flush options before restarting so that language changes actually apply

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6892 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Make run.sh work regardless of $PWD.

From: cantabile <cantabile.desu@gmail.com>

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6893 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Allow tabbing out of the video slider

From: cantabile <cantabile.desu@gmail.com>

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6894 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Video box: tweak the tab order

Move the slider before the buttons,
and move the video display before the slider.

From: cantabile <cantabile.desu@gmail.com>

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6895 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Rewrite the OS X bundle utils in Obj-C++ and return std::strings rather than malloced char *

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6896 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Exit on error in osx-run.sh

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6897 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Mostly rewrite the screen dropper code

Eliminate a lot of the platform-specific code by just using the portable
versions everywhere, and use CoreGraphics rather than wxScreenDC to grab
an image of the screen on OS X as wxScreenDC doesn't actually work on
10.6+.

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6898 93549f3f-7f0a-0410-a4b3-e966c9c94f04
osx: Fix assertion failure when expanding hotkey categories

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6899 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Use size_t rather than int64_t as the array index in AudioProvider::GetAudioWithVolume

In 32-bit builds the int64_t index resulted in two (inlined) calls to
allmul per audio sample, which took 25-50% of the total CPU time
involved in playing audio from the RAM cache.

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6900 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Support wx built with utf-32 strings

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6901 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Log which audio provider is actually used

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6902 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Maybe really fix hurr durr gtk. Closes #1474.

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6903 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Add support for floating-point audio. Closes #1490.

git-svn-id: svn+ssh://aegisub/var/svn/aegisub/trunk@6904 93549f3f-7f0a-0410-a4b3-e966c9c94f04
Allow choosing the default style for new files.

This adds two new options, "Subtitle/Default Catalog" and
"Subtitle/Default Style", and a button, "Set as default", in the
Styles Manager.

New scripts will get the style "Subtitle/Default Style" if it is found in
the catalog "Subtitle/Default Catalog", otherwise the style "Default" if
it is found in the catalog "Default", otherwise the hardcoded style
"Default" (20px Arial with 2px shadow ugh).

Same for new styles created in the Styles Manager.
Added .gitignore
Color picker: don't restrict the sizes of the ASS and HTML boxes.
Fix subs preview

Borked in "Allow choosing the default style for new files."
configure.in: avoid linking to unneeded wx libs
Allow the use of standard paths in the HD cache file's location
Fix missing ending slash in the HD cache file's location

Given the location "/home/asdf/.aegisub" and name "audio%02i.tmp",
the cache file was ".aegisubaudio00.tmp" in "/home/asdf"...