Thomas Goyne
0bf93ec263
Fix a bunch of crashes in the vector clip tool
2014-06-03 10:07:35 -07:00
Thomas Goyne
5fcb287ed0
Fix saving images with subtitles for frames other than the first
2014-06-03 07:21:07 -07:00
Thomas Goyne
4e5b81973b
Set the initial audio volume when opening audio
2014-06-03 07:21:07 -07:00
Thomas Goyne
e6d7c4547a
Fix compilation of the portaudio player
2014-06-03 07:21:07 -07:00
Thomas Goyne
b42086fdfd
Use the customized default styles for SRT files opened from matroska
2014-06-02 13:02:06 -07:00
Thomas Goyne
e061ac8755
Pull even more of the subs load logic into Project
...
The relative order of the on-file-load logic matters, so signals don't
work very well for it. Doing it all explicitly in Project fixes a bunch
of inconsistent issues related to restoring saved state.
Closes #1759 .
2014-06-02 13:02:06 -07:00
Thomas Goyne
3bd6c302c3
Add a bunch of missing project references
2014-06-02 13:02:05 -07:00
Thomas Goyne
9f8a648017
Disable a bunch of ICU stuff we don't use
...
Bumps ~800KB off the executable (and 100MB off icu.lib).
2014-06-02 13:02:05 -07:00
Thomas Goyne
917913b0ef
Flush the clipboard before closing it, not after
2014-06-02 13:02:05 -07:00
Thomas Goyne
ff9beb850c
Build wx without iostream support
2014-05-31 08:11:32 -07:00
Thomas Goyne
193b30af86
Eliminate a bunch of entirely pointless OptionPage subclasses
2014-05-31 08:11:32 -07:00
Thomas Goyne
76f0afecaf
Eliminate pointless wxDialog subclasses
...
A lot of the wxDialog subclasses don't actually override any virtual
functions, so there's no particular need for them to be subclasses at
all, and wxDialog's vtable is so huge that they actually contribute
measureable to the size of the executable.
2014-05-31 08:11:32 -07:00
Thomas Goyne
fb27c98ddd
Update wxWidgets
2014-05-30 13:24:58 -07:00
Thomas Goyne
060536824b
Kill ScintillaTextCtrl and just always use the UTF-8 methods
...
Trivially improves performance and reduces the opportunities for wxSTC
to fuck up.
2014-05-30 13:24:38 -07:00
Thomas Goyne
e6b495dc1b
Enable ffmpeg's png decoder
2014-05-30 13:24:38 -07:00
Thomas Goyne
db3452bcde
Disable decoders for dumb rarely-used formats which have huge data tables
2014-05-30 13:24:38 -07:00
Thomas Goyne
fa68b5ee1a
Fix compilation with UTF-8 wxString
2014-05-30 11:53:15 -07:00
Thomas Goyne
eebd1dba21
Use iconv rather than std::wstring_convert
...
libstdc++ 4.8 does not have <codecvt>.
2014-05-30 11:53:15 -07:00
Thomas Goyne
59489b8f8c
Extract some of the string formatter implementation to format.cpp
2014-05-30 11:53:15 -07:00
Thomas Goyne
37c02ae127
Replace wxString::Format with agi::format
...
It's modestly faster, significantly more type-safe, and doesn't assert
when there's too few arguments, which causes problems for plural forms.
Closes #1733 .
2014-05-30 11:53:14 -07:00
Thomas Goyne
8d26c66d0f
Remove a bunch of unused functionalty from agi::Exception
2014-05-30 11:53:14 -07:00
Thomas Goyne
b43788fa7f
Replace boost::format with agi::format
...
boost::format is slow to compile, slow to run, and has an unpleasant
interface.
2014-05-30 08:30:31 -07:00
Thomas Goyne
8ba286c544
Fix moving files to the front of the MRU list
2014-05-30 08:30:31 -07:00
Thomas Goyne
72748d45f7
Fix crash on v1 timecode files with zero override ranges
2014-05-30 08:30:31 -07:00
Thomas Goyne
e75fc089d3
Don't error on truncated wave files
2014-05-27 06:42:47 -07:00
Thomas Goyne
59a680e6e1
Fix saving audio clips from lines
2014-05-27 06:42:46 -07:00
Thomas Goyne
dfec6b73b7
Use free() on data returned by Hunspell, not delete
2014-05-27 06:42:46 -07:00
Thomas Goyne
eec83bb32b
Cut down on FileNotFound exceptions thrown on startup
2014-05-27 06:42:46 -07:00
Thomas Goyne
d08f4e73b4
Only check for permissions if opening a file fails
2014-05-27 06:42:46 -07:00
Thomas Goyne
ac5f40a543
Fix \N handling in EBU STL export
2014-05-27 06:42:46 -07:00
Thomas Goyne
02ca3360ca
Handle missing recently used subtitle files better
2014-05-26 09:34:20 -07:00
Thomas Goyne
960dc3723b
Don't get the duration from the audio controller on audio open
...
The audio controller's provider may not have been updated yet.
2014-05-26 09:34:20 -07:00
Thomas Goyne
cca97a58f6
Fully initialize the video when it's opened via drag-and-drop
2014-05-26 09:34:20 -07:00
Thomas Goyne
4da1443194
Store connected slots in a vector rather than a map
2014-05-26 09:34:20 -07:00
Thomas Goyne
81b942ea6e
Update agi_pre.h
2014-05-26 09:34:20 -07:00
Thomas Goyne
6c685daf98
Ditch boost.circular_buffer
...
It drags in a ton of crap, is kinda slow at runtime due to using
std::deque, and doesn't actually make the code much simpler than just
using a manual ring buffer.
2014-05-26 09:34:19 -07:00
Thomas Goyne
1f7c47239b
Replace timeval junk with std::chrono
2014-05-26 09:34:19 -07:00
Thomas Goyne
650cfcb043
Remove a bunch of unused crap from lagi_pre.h
2014-05-26 09:34:19 -07:00
Thomas Goyne
50f2e550e2
Use std::thread with libc++
...
boost::thread is only used due to libstdc++ 4.8 missing a bunch of
stuff.
2014-05-26 09:34:19 -07:00
Thomas Goyne
6477ef933b
Use std::to_string rather than boost::lexical_cast
2014-05-26 09:34:19 -07:00
Thomas Goyne
41297e5ace
Remove non-spirit uses of boost.phoenix
...
The slightly more concise code is not worth the compilation speed hit.
2014-05-26 09:34:19 -07:00
Thomas Goyne
fed99649e9
Cut down on pointless uses of std::list
2014-05-26 09:34:19 -07:00
Thomas Goyne
c0d3ecb6c2
Change Spline to a std::vector
2014-05-26 09:34:18 -07:00
Thomas Goyne
8ec9280ecc
Change most uses of deques to vectors
2014-05-26 09:34:18 -07:00
Thomas Goyne
20a7ec786f
Use initializer lists rather than std::make_pair
2014-05-26 09:34:18 -07:00
Thomas Goyne
4f65f79f1e
Remove some pointless std::moves
2014-05-26 09:34:18 -07:00
Thomas Goyne
4598a23485
Fix the paste over dialog
2014-05-24 07:41:17 -07:00
Thomas Goyne
b370e1af53
Stop video playback when seeking due to switching active lines
2014-05-24 07:41:17 -07:00
Thomas Goyne
d73790805a
Fix reloading the video provider after settings changes
2014-05-24 07:41:16 -07:00
Thomas Goyne
9ca61a2fb5
Delete unused stuff in the pulseaudio player
2014-05-24 07:41:16 -07:00