Commit graph

7568 commits

Author SHA1 Message Date
Thomas Goyne
0f324a22f1 Fix a pile of places where abs() was used on floats 2014-12-28 19:30:32 -08:00
Thomas Goyne
a6b1639320 Extract some bits that don't need to be templated from templates
Cuts compile time by about 10% and shrinks the final binary a little.
2014-12-28 16:46:38 -08:00
Thomas Goyne
372b9fe115 Eliminate a pointless set that only ever had zero or one entries 2014-12-28 16:46:37 -08:00
Thomas Goyne
5201773a3b Slightly optimize returning strings to lua from ffi functions 2014-12-28 16:46:37 -08:00
Thomas Goyne
010f6c4f79 Debloatify some stuff 2014-12-28 12:30:01 -08:00
Thomas Goyne
76afcdafa1 Eliminate uses of dynamic_cast on everything but GUI widgets 2014-12-28 12:29:54 -08:00
Thomas Goyne
6d74f22e92 Fix the legacy clipboard include 2014-12-25 21:09:06 -08:00
Thomas Goyne
c313f32384 Special-case all lines being selected in validate_adjoinable
GetSortedSelection is kinda slow with large selections and all lines
being selected is an easy thing to special-case.
2014-12-24 16:59:11 -08:00
Thomas Goyne
44506eae56 Fix compilation with compilers with non-totally-broken templates 2014-12-24 16:46:51 -08:00
Thomas Goyne
0a18fe6cd3 Fix stack corruption when a script tries to select an invalid line 2014-12-24 16:24:51 -08:00
Thomas Goyne
84bd682e2e Make it harder for automation script to leave no lines selected 2014-12-24 16:12:21 -08:00
Thomas Goyne
15d26dd86f Slightly speed up karaskel.collect_head 2014-12-24 15:10:12 -08:00
Thomas Goyne
1fd44ea8da Add subtitles.script_resolution()
Returns the values from the headers if they're present, or does the
insane Gabest-logic if one or both are missing.
2014-12-24 15:10:12 -08:00
Thomas Goyne
c43bf1e822 Limit the range to be painted in the audio display to what is visible 2014-12-21 11:31:21 -08:00
Thomas Goyne
71ee37cd71 Slather around more const 2014-12-21 11:31:17 -08:00
Tom Maneiro
2694332692 Update Spanish translation. Closes #1838. 2014-12-07 15:25:01 -08:00
Thomas Goyne
7fc2b248ad Update dependencies 2014-11-30 15:28:58 -08:00
Thomas Goyne
bc7e66971d Merge pull request #24 from line0/installer-updates
Windows Installer updates
2014-11-30 15:28:40 -08:00
line0
4765b6dbc6 fix bad alignment caused by @9242c9fb4703cc70e3f46874b54a08f4381bae0f 2014-11-30 20:11:34 +01:00
line0
9242c9fb47 Windows Installer: use the correct name for the Galician wxstd translation file 2014-11-30 19:56:17 +01:00
line0
83759ec463 Windows Installer: include missing modules
(ffi, lfs, argcheck)
2014-11-30 19:45:15 +01:00
Lasse Liehu
f1c177842a Update Finnish translation
Closes #1837.
2014-11-30 09:41:18 -08:00
Thomas Goyne
b2a69c693d Update README to no longer say that Update 3 is unsupported 2014-11-23 16:33:03 -08:00
Thomas Goyne
7833b1bcbc Merge pull request #23 from khaledhosny/C2797
Fix build with latest Visual Studio
2014-11-23 16:31:50 -08:00
Khaled Hosny
d4057418da Fix build with latest Visual Studio
This fiixes:

error C2797: list initialization inside member initializer list or
non-static data member initializer is not implemented

http://msdn.microsoft.com/en-us/library/dn793970.aspx
2014-11-23 15:30:27 +02:00
Thomas Goyne
a9208a592b Update the selection and scroll position after opening subtitles from video 2014-11-22 13:27:06 -08:00
Thomas Goyne
1a4634003f Fix crash on a certain kind of malformed shift times history file 2014-11-22 13:21:58 -08:00
Yuri
c2a6c168fb Update Hungarian translation
Closes #1836.
2014-11-22 13:04:02 -08:00
Thomas Goyne
2e7d70edf3 Merge pull request #22 from lachs0r/master
Fix crash in block cache aging
2014-11-11 21:32:46 -08:00
Martin Herkt
cf55299017 Fix crash in block cache aging
Bug introduced in e2a11f2d90
2014-11-12 06:21:53 +01:00
Thomas Goyne
ea9ee7effa Merge pull request #21 from dwbuiten/srtgoto2
srt: Factor out last goto
2014-11-08 07:59:46 -08:00
Derek Buitenhuis
c871aaf153 srt: Factor out last goto
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
2014-11-05 13:56:53 +00:00
Thomas Goyne
3d228536f5 Only update the YCbCr Matrix when resampling if it was actually changed 2014-10-12 15:45:13 -07:00
kotobenko
16a3f38f6d Improve the Ukrainian translation. Closes #1828. 2014-10-12 15:28:53 -07:00
Thomas Goyne
ed03cd9735 Fix compilation without fftw3 2014-10-12 15:23:58 -07:00
torque
bf1f2ca5c7 Re-rasterize OS X bundle icon.
Rasterized using Inkscape. Fixes the incorrectly blended white fringes
the old icon had at all resolutions below 512x512.

Also includes retina-sized images.
2014-10-12 15:19:56 -07:00
Thomas Goyne
9cd3be4166 Improve the build instructions a bit 2014-09-21 08:23:41 -07:00
Thomas Goyne
66c9872563 Update some out-of-date bits of the README 2014-09-21 08:05:42 -07:00
Thomas Goyne
c41e97cec1 Skip the [Aegisub Project Garbage] and [Aegisub Extradata] sections when exporting to ASS 2014-09-20 11:52:44 -07:00
Thomas Goyne
57d66be785 Fix skipping trailing empty segments in re.split 2014-09-20 08:13:49 -07:00
Thomas Goyne
9e6d5d7d9c Optimize Extradata handling a bit 2014-09-06 09:47:29 -07:00
Thomas Goyne
8567d9a573 Use more make_unqiue 2014-08-31 08:11:12 -07:00
Thomas Goyne
9ebb8d7df1 Silence a warning 2014-08-31 08:11:12 -07:00
Thomas Goyne
e4368d59e4 Fix loading subtitles extradata from matroska files 2014-08-30 08:11:39 -07:00
Thomas Goyne
158288b66d Merge pull request #19 from darealshinji/patch-1
fix permissions in INSTALL_FLAGS
2014-08-26 14:56:44 -07:00
darealshinji
c7dc8664de fix permissions in INSTALL_FLAGS 2014-08-26 08:30:42 +02:00
Thomas Goyne
54a7d43cf1 Use EnumFontFamiliesEx to try to find the correct match when fontconfig gives several options
Fixes collection of ITC Cheltenham, ITC Tiffany, Zurich, Delicious,
Jacoby, Segoe WP, Agilita LT, and a bunch of dumb improperly modified
fonts I have lying around.

Closes #1806.
2014-08-24 16:53:59 -07:00
Thomas Goyne
580386b229 Use FcFontSetSort rather than FcFontSetMatch
For whatever reason FcFontSetMatch sometimes returns something other
than the first result of FcFontSetSort, and every time they different
either FcFontSetMatch is wrong or they're both wrong.

Fixes collection of Adobe Jenson Pro and Arno Pro.
2014-08-24 16:53:54 -07:00
Thomas Goyne
375117c35c Merge pull request #18 from torque/extradata-dedup
Perform extradata deduplication on add.
2014-08-24 16:53:23 -07:00
torque
3c12fc69f3 Perform extradata deduplication on add.
Checks all existing extradata keys and values to ensure that the set
that is being added doesn't already exist.
2014-08-24 12:06:22 -07:00