Ryan Lucia
66a3748f97
Remove dead forums link
2019-09-22 17:39:43 -07:00
Ryan Lucia
bc649b6063
Make translation assistant skipping whitespace an explicit setting
2019-09-22 17:39:43 -07:00
Ryan Lucia
30286e7035
Remove Force BT.601 option and update color matrix guessing
2019-09-22 17:39:43 -07:00
Ryan Lucia
d660f7f2b0
Add support for setting status bar text from Lua
2019-09-22 17:39:43 -07:00
wangqr
d0c05fbcde
Update about dialog
2019-09-22 17:39:43 -07:00
wangqr
17215edc31
Fix build warnings
2019-09-22 17:39:43 -07:00
wangqr
5d4973a5f6
Fix millisecond to centisecond convertion
...
Fix Aegisub/Aegisub#94
2019-09-22 17:12:05 -07:00
wangqr
d89c1ce900
Change some text box size to make it looks better on HiDPI
2019-09-22 17:12:05 -07:00
scx
547b17fc22
Fix crashing when picking language
...
Aegisub crashes immediately after selecting any language
from the end of the list (above the 100th position).
This is because it can support no more than 100 languages.
This patch extends this limit up to 1000 languages (locales).
Fixes #131
2019-09-22 19:34:23 -04:00
scx
c3c446a8d6
Fixes for Boost 1.69.0
2019-09-22 19:33:36 -04:00
darealshinji
7094bd1e20
Add configure option to enable portable builds on Linux
2019-09-22 19:26:50 -04:00
scx
67d9fd9aa4
DataBlockCache: Fix crash in cache invalidation ( #142 )
...
The original version uses a reverse iterator,
whose .base() is invalid after KillMacroBlock() erases it.
2019-09-22 19:19:56 -04:00
scx
cb0af6ca35
Fix crash on right click due to no spell checker
...
See: #131
2019-09-22 19:17:39 -04:00
Ryan Lucia
d9bd7def0b
Fix autotools lua detection
2019-09-08 18:36:58 -04:00
Ryan Lucia
5005d6d2a2
Set visual tool default feature color correctly
...
Fixes #50
2019-05-16 18:10:43 -04:00
Ryan Lucia
fb02d6855c
Fix compilation on Mojave
2019-05-16 17:41:18 -04:00
davste0816
c2085d139c
Fix Move Down button in Export dialog
2019-05-12 11:56:13 -04:00
davste0816
b107077b20
Add .webm to extension list, add .eac3 as an audio format
...
Co-Authored-By: FichteFoll <fichtefoll2@googlemail.com>
2019-05-12 11:55:48 -04:00
davste0816
0e6b492735
Recognize .opus as an audio format, .h264 .hevc as video formats
2019-05-12 11:55:48 -04:00
Martin Herkt
a78f5d2760
DataBlockCache: Fix crash in cache invalidation
...
Fixes #33
2019-05-03 20:51:23 -04:00
FichteFoll
75fc5f38d7
Adjust boost gil header paths for boost 1.69
...
boost/gil.hpp was added in 1.68 and boost/gil/gil_all.hpp removed in
1.69.
2019-01-31 19:47:00 -05:00
Ryan Lucia
3ba7358bfe
Use FFMS2 constant in place of magic number
2019-01-07 21:48:50 -05:00
Ryan Lucia
a1ec3767e4
Remove compatibility with old versions of FFMS2
...
2.22 was released oct 2015, so I think a more recent version is a fairly safe assumption
2019-01-07 21:48:50 -05:00
Ryan Lucia
ad52260665
Ensure FFMS always indexes video tracks
...
Matching historical behavior with DoIndexing, which is assumed throughout the codebase
2019-01-07 21:48:50 -05:00
Ryan Lucia
9638bfbef4
Update ffmpeg and ffms2
2019-01-07 21:48:49 -05:00
Thomas Goyne
ebc76c8a11
Update ffmpeg and ffms2
2018-11-23 09:22:18 -08:00
Ryan Lucia
26ccf0b8e5
Divorce stored TPP lead-in/out values from config
...
There's no real reason to link these as far as I can tell, and plenty of
valid reasons not to
2018-11-17 19:27:25 -05:00
Ryan Lucia
08ebcf4693
Remove assdraw from default toolbar
2018-11-17 17:54:17 -05:00
Ryan Lucia
a9eba14df5
Remove assdraw and forums from default menu
...
Reflects changes previously made to remove those elements from Aegisub
2018-11-17 15:57:48 -05:00
Jan Beich
d8336d2fed
Keep using std::distance after Boost 1.68
...
src/search_replace_engine.cpp:256:14: error: call to
'distance' is ambiguous
count += distance(
^~~~~~~~
/usr/include/c++/v1/iterator:511:1: note: candidate function [with _InputIter =
boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
distance(_InputIter __first, _InputIter __last)
^
/usr/local/include/boost/iterator/distance.hpp:49:9: note: candidate function [with SinglePassIterator =
boost::u32regex_iterator<std::__1::__wrap_iter<const char *> >]
distance(SinglePassIterator first, SinglePassIterator last)
^
2018-07-09 20:17:59 +00:00
Ryan Lucia
fe0dd3e095
Merge remote-tracking branch 'upstream/master' into tstools
2018-05-31 04:26:15 -04:00
Ryan Lucia
d4e99700d4
Remove ambiguity over distance function call
2018-05-31 04:22:43 -04:00
Marcin Kurczewski
a4bde47c5c
Fix MRU menus ( #48 )
...
Broken in 9bbfdddde0
. I don't understand
why the author made such a change, so I left their solution with #ifdef
guard.
2018-05-28 21:24:23 +02:00
Thomas Goyne
4fdc5efb69
Explicitly declare DataBlockCache as moveable to make vs17 happy
2018-05-25 22:32:27 +02:00
Ryan Lucia
a621072e7d
Add support for WWXD keyframes in qpfile format
2018-05-10 03:28:51 -04:00
Ryan Lucia
747525142a
Pass 0 to FFMS_Init
...
The argument is no longer used, and the docs specify to pass a value of 0 to avoid confusion
2018-05-07 19:24:47 -04:00
Ryan Lucia
3eaa56fc18
Point users at a functional bug tracker
2018-05-07 18:09:42 -04:00
Ryan Lucia
e516ab6e32
Fix line order when splitting after current frame
2018-05-07 18:09:42 -04:00
Ryan Lucia
4d048e3c90
Add configuration options for colors in visual typesetting tools
2018-05-07 18:09:40 -04:00
Ryan Lucia
50a18c7942
Use proper event for DoubleUpdater
...
Previously changes weren't recognized because the event bound was for integers
2018-04-30 02:38:14 -04:00
Ryan Lucia
dbd7dd8ba1
Remove shitty joke
...
The default message here is an old joke in extremely poor taste, and best replaced in the config
2018-04-30 02:38:14 -04:00
Ryan Lucia
2f500cd480
Remove dead forums link
2018-04-30 02:38:14 -04:00
Ryan Lucia
95d96f938b
Make translation assistant skipping whitespace an explicit setting
2018-04-30 02:38:14 -04:00
Ryan Lucia
3bcc7269be
Remove Force BT.601 option and update color matrix guessing
2018-04-30 02:38:14 -04:00
Ryan Lucia
10814a7d0b
Add support for setting status bar text from Lua
2018-04-30 02:38:11 -04:00
Ryan Lucia
8cc3a35dd4
Update default config to modern standards
2018-04-29 16:36:21 -04:00
sidneys
d4461f65be
fix(updated-macos-build): prefix icu method calls (icu::BreakIterator, icu::Locale, icu::UnicodeString)
2018-03-31 02:58:27 +02:00
therealfun
f6a2ac08a6
Makefiles: replace the use of subst macro with patsubst ( #56 )
...
$(subst .c,.o,...) replaces '.c' with '.o' everywhere in pathnames. For
example, renaming the "Aegisub" folder to "Aegisub.cool" will make the
build system generate "Aegisub.oool/.../.o" objects.
https://www.gnu.org/software/make/manual/make.html#Text-Functions
2018-03-05 09:28:29 -08:00
rr-
4791222ab3
Add support for reading waveform selection in LUA
2018-03-03 12:51:49 -08:00
rr-
21f704f138
Fix joining as karaoke
2018-03-03 12:50:01 -08:00
Rodger Combs
61028916c8
main: fix warning
2018-01-27 11:35:18 -08:00
Rodger Combs
16d57dac79
OpenAL: destroy context when not in use
...
This prevents the CoreAudio thread from spinning when paused on macOS
2018-01-27 11:34:58 -08:00
Rodger Combs
5a3b7301c6
find/replace: handle enter key in input fields
2018-01-27 11:34:24 -08:00
Rodger Combs
a88835e253
find/replace: bring window to front when activated
2018-01-27 11:34:05 -08:00
Thomas Goyne
3bc5e8f04f
Remove pointless explicit heights for the audio sliders
...
The containing sizer overrides them instantly, but for whatever reason
supplying them breaks things on macOS.
2017-07-07 16:46:52 -07:00
Thomas Goyne
70edb03b2a
Fix some audio display rendering quirks on retina OS X
2017-07-04 10:51:08 -07:00
Martin Herkt
8d3ad9ff68
dialog_about: only include build date with credit ( #45 )
...
The build date is largely irrelevant and prevents reproducible builds.
Make it optional.
2017-05-22 07:43:30 -07:00
Maxime Gauduin
dd67db47cb
Fix compilation against icu 59.1 ( #46 )
2017-05-08 19:01:47 -07:00
Martin Herkt
3594ade719
build: sort wildcard results for repeatable builds ( #44 )
2017-03-30 10:08:30 -07:00
Ryan Lucia
3e2c165852
Properly set colorspace when loading video
...
FFMS2 originally would automatically attempt to guess the color space
if not manually specified, but this was removed in
7c2e08109d
and Aegisub never adapted to the change
2017-03-25 12:13:10 -07:00
Niels Martin Hansen
b118fe7e7a
Fix STL header writing (really)
...
The vsnprintf call must be passed the buffer size, not the target string size. Shortening the string to field length happens in the memcpy.
2016-05-18 21:56:34 +02:00
Thomas Goyne
0e8bc44539
Work around more places where VC++ generates null pointers-to-members
2016-04-09 08:36:50 -07:00
Thomas Goyne
101cd8e1e5
Fix compilation with old versions of ffms2
2016-04-08 13:29:32 -07:00
Thomas Goyne
7a6da26be6
Fix compilation on X11-using platforms
2016-04-08 12:14:28 -07:00
Thomas Goyne
dba8f1c062
Use Uniscribe to check glyph coverage of non-BMP characters rather than just skipping them
2016-04-08 11:24:26 -07:00
Thomas Goyne
15adac519d
Update to the new indicator API for Scintilla as 3.4 dropped the old one
2016-04-08 11:24:25 -07:00
Thomas Goyne
1aa9215e7f
Use FFMS_DoIndexing2 when using a recent version of ffms2
...
And clean up the audio track selection logic a bit.
2016-04-08 11:24:21 -07:00
Thomas Goyne
95f3f30d53
Remove pointless braces
2016-04-08 11:24:16 -07:00
Thomas Goyne
b8fa7e010b
Don't init COM for FFMS2
...
FFMS2 no longer uses COM for anything.
2016-04-08 11:24:14 -07:00
Thomas Goyne
8823476275
Work around bad codegen from VC++2015 update 2
2016-04-08 11:24:11 -07:00
Thomas Goyne
2720d8c0dc
Fix OS X compilation
2016-03-18 19:42:32 -07:00
Thomas Goyne
9bbfdddde0
Add the standard OS X "Window" menu
2016-03-13 16:33:53 -07:00
Thomas Goyne
cac4ba910d
Fix more incorrect sizer flags
2016-03-13 16:33:53 -07:00
Thomas Goyne
26fea0e123
Fix skipping over existing spaces when exporting to EBU STL
...
ac5f40a543
made it so that the N in \N was
skipped, but broke the space case, resulting in two spaces between each
word.
Closes #1887 .
2016-03-05 16:35:01 -08:00
Thomas Goyne
b2687e893b
Fix member variable initialization order
2016-03-05 16:35:01 -08:00
Thomas Goyne
4c15d0ba84
Add support for running respack.lua with system Lua
2016-03-05 10:51:26 -08:00
Thomas Goyne
0ed6dd46fb
Add support for using system LuaJIT rather than the bundled copy
...
Closes #1904 .
2016-03-05 10:51:16 -08:00
Thomas Goyne
45315476bd
Switch to a maintained fork of universalchardet
2016-02-09 20:29:29 -08:00
Thomas Goyne
a315ce6903
Fix assert failure when opening with no args
2016-02-08 06:59:49 -08:00
Thomas Goyne
28eb475fc2
Actually use the list of filenames in AegisubApp::OpenFiles()
2016-01-10 19:47:26 -08:00
Thomas Goyne
bb3e0de728
Handle i/o errors when indexing fonts for GDI
2016-01-10 19:47:25 -08:00
Thomas Goyne
3c381b6c55
Handle fonts that are marked as bold but have the same weight as the normal variant
2016-01-02 15:42:26 -08:00
Thomas Goyne
761a121452
Fix the weight of fonts that use 1-10
2016-01-02 15:42:26 -08:00
Thomas Goyne
596332763b
Use the Windows Family Name for family name matching
2016-01-02 15:42:26 -08:00
Thomas Goyne
e13a39f302
Try to better match GDI's weight penalty
2016-01-02 15:42:26 -08:00
Thomas Goyne
b9a56cb870
Prioritize family name matches over postscript name matches
2016-01-02 15:42:25 -08:00
Thomas Goyne
278b7621cf
Assume that fonts which CT won't give the OS/2 table for are Regular
2016-01-02 15:42:25 -08:00
Thomas Goyne
f2b3b69b3f
Read the weight from the OS/2 table rather than asking CoreText
...
The weights reported by CT are only occasionally correlated with the
OS/2 weights, and GDI uses the latter.
2016-01-02 15:42:25 -08:00
Thomas Goyne
f824d2c56b
Remove OS X and Windows support from the fontconfig file lister
2016-01-02 15:42:25 -08:00
Thomas Goyne
b1cb16c7f8
Do a better job of picking the best match from CoreText
2016-01-02 15:42:25 -08:00
Thomas Goyne
d152af1f14
Deduplicate matched paths from CoreText
2016-01-02 15:42:25 -08:00
Thomas Goyne
2527204515
Get the filesystem representation of urls rather than an absolute url
2016-01-02 15:42:25 -08:00
Thomas Goyne
63bb585db6
Enable ARC for the coretext font lister
2016-01-02 15:42:24 -08:00
Thomas Goyne
973f0b09fc
Add a basic CoreText-based fonts collector backend
2016-01-02 15:42:24 -08:00
Thomas Goyne
f8c3504898
Remove the OS X fontconfig init logic from the libass provider
2016-01-02 15:42:24 -08:00
Thomas Goyne
9b815ac8cc
Fix a crash when reattaching video
...
The window close event propagates up to the detached window's parent, so
the handler for the parent window closing needs to filter it out.
2016-01-02 13:48:00 -08:00
Thomas Goyne
0b2d0d40d5
Ensure that the fonts collector destination label gets wrapped on OS X
2015-12-29 20:12:52 -08:00
Thomas Goyne
4f34784370
Set the initial control state when the fonts collector dialog is opened correctly
2015-12-29 20:12:32 -08:00
Thomas Goyne
f481a7f5fb
Use the correct upper bound for restoring the font collector modes
2015-12-29 20:12:29 -08:00
Thomas Goyne
e8cdfc57a9
Make FcMode an enum class and simplify the data flow
2015-12-29 20:12:24 -08:00
Thomas Goyne
e5a6abd215
Add a GDI-based font selector for libass
...
This deliberately doesn't perform any font substitutions as the sort of
people that use libass on Windows tend to perfer to manually pick
fonts with the correctly glyphs.
2015-12-29 20:08:07 -08:00
Thomas Goyne
e06385b6d4
Remove unused includes from subtitles_provider_libass.cpp
2015-12-29 20:08:05 -08:00
Thomas Goyne
913b8438f3
Fix Windows x64 compilation
2015-12-29 19:55:58 -08:00
Thomas Goyne
3b13260ca1
Use murmur3 to explicitly hash the font index keys
...
This significantly improves performance by avoiding the need to
construct std::strings of the things to be hashed, eliminating a bunch
of memory allocations and copies.
2015-12-29 12:38:01 -08:00
Thomas Goyne
879661a379
Only index the first kilobyte of font files to speed up indexing
2015-12-29 12:38:00 -08:00
Thomas Goyne
82f250dbbb
Fix the checks for fake bold/italic
...
EnumFontFamiliesEx doesn't actually use the lfItalic andlfWeight fields,
so we have to check separately.
2015-12-29 12:38:00 -08:00
Thomas Goyne
ddc5cd155f
Add a GDI-based fonts collector backend
2015-12-29 12:38:00 -08:00
Thomas Goyne
afed3dca21
Fix compilation on Linux
2015-12-21 19:57:49 -08:00
Thomas Goyne
3747705a43
Select the OpenGL context when destroying VideoDisplay
...
This is needed to destroy the correct things when there are multiple
active opengl displays.
2015-12-21 17:46:38 -08:00
Thomas Goyne
c8d02de3db
Allow coalescing undo over autosaves
2015-12-21 17:46:38 -08:00
Thomas Goyne
52dbb482af
Make next_commit_id a member variable rather than a static
...
Multiple instances of SubsController should not share it.
2015-12-21 17:46:38 -08:00
Thomas Goyne
2032ab8ea3
Handle multiple simultaneous OpenAL audio players in one process
2015-12-21 17:46:38 -08:00
Thomas Goyne
75804da4ea
Set the closed marker even on 64-bit OS X
2015-12-21 17:46:38 -08:00
Thomas Goyne
5f89a64f07
Adjust the menu text on OS X to better match the HIG
2015-12-21 17:46:38 -08:00
Thomas Goyne
f28e46c2e3
Add a Close command to the file menu on OS X
2015-12-21 17:46:37 -08:00
Thomas Goyne
ead12de8b6
Actually close all windows on quit
2015-12-21 17:18:07 -08:00
Thomas Goyne
84b0f1e043
Mostly adopt the standard OS X document-based UI model on OS X
2015-12-21 17:18:04 -08:00
Thomas Goyne
0f17784548
Actually open a new window in the New Window command
2015-12-21 17:17:54 -08:00
Thomas Goyne
8de8724660
Support creating multiple main windows
...
This is not yet actually exposed in any way in the UI.
2015-12-21 17:17:51 -08:00
Thomas Goyne
f5f5439808
Add context-specific path tokens
...
?video, ?audio, and ?script are not global.
2015-12-21 17:17:48 -08:00
Thomas Goyne
932937c343
Shut up a missing override warning
2015-12-21 17:17:46 -08:00
Thomas Goyne
e757618b32
Use an explicit operator bool for Vector2D
2015-12-21 17:17:42 -08:00
Thomas Goyne
d253388c8e
Perform autosaves on a background thread rather than blocking the UI
2015-12-21 17:17:33 -08:00
Thomas Goyne
f811f7e363
Select the "Time" radio on startup
2015-11-29 20:11:14 -08:00
Thomas Goyne
1d00bd834d
Fix typo that made the color picker's cursor appear in the wrong place in RGB modes
2015-11-29 20:11:14 -08:00
Thomas Goyne
9112cc8cf9
Fix some invalid sizer flags
2015-11-29 20:11:14 -08:00
Thomas Goyne
4542204b3a
Fix undefined behavior in DataBlockCache::SetBlockCount()
...
Left-shifting negative signed numbers is UB (and pointlessly complex
here anyway).
2015-11-29 20:11:14 -08:00
Thomas Goyne
652a250189
Add an error message for when creating the Lua state fails
2015-11-29 20:11:14 -08:00
Thomas Goyne
f7661dbd78
Explicitly default AssAttachment's copy constructor
2015-11-29 20:11:14 -08:00
Thomas Goyne
85a820918f
Fix a crash when opening a new file when the grid is not scrolled to the top
2015-09-13 18:49:46 +02:00
Thomas Goyne
4366e59353
Update to Visual Studio 2015
2015-07-30 19:20:10 -07:00
Thomas Goyne
017bbe1e59
Delay showing the font indexing dialog for 250ms
...
Helps avoid ugly flickering when no indexing is required, but fontconfig
is taking a long time to load the cache.
2015-07-28 20:46:02 -07:00
Thomas Goyne
9ae508730d
Remove some incorrect and ignored sizer flags
2015-07-28 20:46:02 -07:00
Thomas Goyne
d5dde6cff2
Reduce error-handling bloat a bit
2015-07-28 16:22:48 -07:00
Thomas Goyne
fefa31eb47
Improve code coverage of tests
2015-07-28 14:30:03 -07:00
Thomas Goyne
09b2736103
Mark a bunch of things as overriding virtual functions
2015-07-28 14:30:02 -07:00
Thomas Goyne
74ac2ab1fe
Extract some more find/replace logic to libaegisub
2015-07-27 10:29:22 -07:00
Thomas Goyne
97bf5c77c3
Explicitly allow unicode text when pasting
2015-05-31 11:49:29 -07:00
Thomas Goyne
42429d4930
Remove incorrect sizer flags
2015-05-31 11:49:29 -07:00
Thomas Goyne
ba9f5a78d4
Include the stack trace for errors in automation validation functions
2015-05-09 13:58:32 -07:00
Thomas Goyne
ff874fadf9
Reduce nesting
2015-05-09 13:58:23 -07:00
Thomas Goyne
a5c87908e1
Set the new active line correctly after splitting by karaoke
2015-05-09 13:58:15 -07:00
Thomas Goyne
0ccac34cb0
Fix crash when splitting lines by karaoke
...
Defer the deletion of the old lines until after the commit as is now
done for everything that deletes selected lines.
2015-05-09 13:58:12 -07:00
Thomas Goyne
d2958e6aca
Set the Row for dialogue lines added to keep the file non-empty
2015-05-09 11:28:18 -07:00
Thomas Goyne
40ae2cdc35
Fix snapping audio markers when dragging inactive line markers with ctrl
...
We do need to check if the inactive markers are in the active set when
ctrl-dragging, as otherwise there'll always be a marker 0 pixels away to
snap to. Fortunately when ctrl-dragging all of the the markers involved
are by definition very close together, so it would be very difficult to
have enough markers to check for this to be a performance issue.
Closes #1823 .
2015-03-01 11:13:43 -08:00
Thomas Goyne
801a8915d1
Use the untranslated context name for new hotkeys
...
Closes #1855 .
2015-02-28 14:39:06 -08:00
Thomas Goyne
d6982426c6
Merge pull request #26 from tophf/rot-angle-fix
...
Style editor: accept -360..360deg range
2015-02-28 14:28:44 -08:00
9adefaf01e5bf6426d838cd20eae582d2b6ba647
af9fe934c7
Pass all font attachments to font renderer
...
See #1805 .
2015-02-27 01:16:35 +03:00
9adefaf01e5bf6426d838cd20eae582d2b6ba647
4f9713cb20
Style editor: accept -360..360deg range
...
People tend to use 270deg not knowing|remembering it's equal to -90deg
2015-02-26 22:40:21 +03:00
Thomas Goyne
5cedf16edd
Use the custom lua error handler during macro load
2015-02-15 08:19:23 -08:00