Commit Graph

8046 Commits

Author SHA1 Message Date
wangqr 533716c6c0 Add default path on Windows in FindAviSynth.cmake 2020-07-28 16:32:33 -04:00
Oneric 98abe53b15 po/de: Update German translation
Translate missing strings, defuzz (mostly) and some corrections
(hopefully without introducing new errors), like:
 - non-matching printf format strings
 - discrepancy of '...' usage or not-usage in English and German
 - Ntsc → NTSC, etc
2020-07-26 18:47:35 +02:00
wangqr 7e3a0fb926 FFMS actually can be used without cache 2020-07-20 21:38:08 -04:00
wangqr 79c2141082 Delete temporary file on close 2020-07-20 18:57:09 -04:00
wangqr a58902c938 Gracefully handle 32-bit memory limit 2020-07-20 18:31:00 -04:00
wangqr e5f543c1ab Add support for XAudio2 redistributable
Bundle XAudio2 to better support Win7

Fix wangqr/Aegisub#59
2020-07-20 16:16:20 -04:00
wangqr 940181c7bc Update po files 2020-07-17 13:18:46 -04:00
wangqr 79a71c3176 Fix syntax error in e2ea84541f 2020-07-17 12:47:06 -04:00
Oneric 4aee271d03 po/make_pot: Fix sorting and make POSIX compliant
Replaces non POSIX `echo -e` with an equivalent printf call and
fixes sorting of lua files.

This still leaves a problem with the order of old commented strings
being being reversed and there #, c-format comments being stripped.
See: https://savannah.gnu.org/bugs/?58778
2020-07-17 18:29:16 +02:00
Oneric e2ea84541f AlignToVideo: Handle tolerance = 0 correctly
Checking if the diff is '>' instead of '>=' will always fail if
tolerance=0, even if the colours are identical. This will cause the line
to get a startime greter than its end time, which is not desireable.

Rounding errors and limits of floating type precision might still affect
the comparison. An additional sanity check before calculation is added
to ensure the selected position and colour match within tolerance.
This allows us to refactor the search code to never check the starting
frame and guanrantees valid timings with start<end even with
rounding errors.
2020-07-17 18:07:18 +02:00
Oneric 7f4cdaea42 AlignToVideo: Improve rgb->lab precision 2020-07-17 17:09:05 +02:00
Oneric 26f0713aae dialog_align: Remove point at the end of the tooltips
No other tooltips end with points, even if they're a sentence.These
ones aren't even sentences.
Also updates all *.po files accordingly, with an hacked in
POT-Creation-Date due to issues with make_pot.sh.
2020-07-17 16:12:41 +02:00
Oneric b64bc3916b Readme: Fix Typo 2020-07-17 00:10:55 +02:00
wangqr e98b7292f1 Update po files 2020-07-05 15:13:38 -04:00
wangqr 971f955f1a Update README.md 2020-07-05 02:27:50 -04:00
wangqr 8dececc3cb Use millisecond in Make Adjacent step in Timing Post-Processor
Fix wangqr/Aegisub#57
2020-07-04 05:22:14 -04:00
wangqr 1e3e478f5f Disable alt drag check when setting timing values by absolute values
In AudioTimingControllerDialogue

Fix Aegisub/Aegisub#186
2020-07-02 01:58:26 -04:00
wangqr 2b827decd0 Explicitly set buffer to 24-bit color + 8-bit alpha
As wxGLCanvas does not set this for us now, even when WX_GL_RGBA is specified

Fix wangqr/Aegisub#55
2020-06-29 23:37:37 -04:00
wangqr 5f326cc873 Correctly write float header when saving WAV audio clip
Fix wangqr/Aegisub#56
2020-06-29 04:57:55 -04:00
wangqr 65ba6af0f0 Remove .. from include paths
Fix wangqr/Aegisub#52
2020-06-08 04:45:05 -04:00
wangqr b9b1443578 Remove gcc 4.7 workaround 2020-06-07 12:24:26 -04:00
wangqr af8cb9b601 Test hunspell and uchardet on Travis macOS 2020-06-07 12:09:04 -04:00
wangqr e481d033cb Prevent event queue flooded by wxEVT_PAINT by moving some repaint request to OnIdle 2020-06-05 22:34:06 -04:00
wangqr 7b69476b5b Move wxSTC::GotoPos to idle event in fonts collector dialog
wxSTC::GotoPos is CPU consuming. Calling it every time when fonts collector worker thread adds log to wxSTC causes performance issues. So we only set a flag to request go to end, and actually do it when idle.

Fix TypesettingTools/Aegisub#28
2020-06-04 10:35:14 -04:00
wangqr 51648c638b Reallocate static ranges for wxMenuItem
Previously different menus may use conflict ids in range 10000~.

Fix TypesettingTools/Aegisub#53
See also Aegisub/Aegisub#131
2020-06-03 23:49:04 -04:00
wangqr 71c940f933 Fix initial state of AudioTimingControllerDialogue
It should not be in alt-dragging mode by default.

Fix TypesettingTools/Aegisub#32
2020-06-03 20:00:54 -04:00
wangqr 809b789b61 Remove unreachable assert 2020-06-01 22:33:01 -04:00
wangqr 6028c7f6cb Set default build type to Release 2020-06-01 22:16:28 -04:00
wangqr d9e67d3b27 Use CMake pch support 2020-05-31 02:04:22 -04:00
wangqr bf241635e1 avisynthplus no longer in AUR for Archlinux 2020-05-31 00:43:20 -04:00
wangqr 95fe52aeaa Remove mysterious brackets 2020-05-31 00:41:29 -04:00
wangqr 8d03571613 Add Apply button to select lines dialog
Allow modifying selection without closing dialog.

Fix wangqr/Aegisub#49
2020-05-31 00:21:19 -04:00
wangqr 1fda1d2b05 Fix XAudio2 handle leak 2020-05-31 00:18:33 -04:00
wangqr e2430b6fca Remove vendor submodules 2020-05-29 00:55:02 -04:00
wangqr e53bdd32d7 Save state of "show original" for osx
Fix wangqr/Aegisub#47
2020-05-27 03:15:59 -04:00
wangqr 60eae86e21 Stable version of avs+ now available on arch 2020-05-21 16:23:52 -04:00
wangqr 333f928019 Save state of "show original"
Fix wangqr/Aegisub#41
2020-05-17 23:36:52 -04:00
wangqr 5e71125825 Fix Windows build with boost 1.73.0 2020-05-17 22:41:57 -04:00
wangqr 47c95e5fe5 Remove unnecessary compiler flags
Also Fix CI
2020-05-09 13:44:13 -04:00
wangqr 9d812a8aac Use standard static_assert instead of homemade macro 2020-05-09 12:21:09 -04:00
wangqr 38a0e20edc Happy new year 2020-05-07 13:43:09 -04:00
wangqr 3ec57295fd Use id instead of pos to robustly locate VisualToolDrag button 2020-05-06 21:22:53 -04:00
wangqr 47b2bfd544 Move AddSeparator to VisualTool::SetToolbar 2020-05-06 21:20:53 -04:00
wangqr 7ac2983c61 Remove redundant UpdateToggleButtons() in VisualToolDrag::OnSubTool 2020-05-06 20:24:15 -04:00
wangqr 76802c3441 Remove unnecessary Realize() when constructing Visual Tools toolbar
The Realize() will change the toolbar size on macOS, which may trigger VideoDisplay::Render and VisualToolDrag::UpdateToggleButtons. Therefore, if we want to call Realize, it must be after setting VideoDisplay::tool and calling VisualTool::SetToolbar. Otherwise, the first will cause an infinite recursion from if(!tool) condition in VideoDisplay::Render, the latter will cause NULL dereference (because VisualToolDrag::toolbar is not set yet).

On the other hand, we do not need to call Realize here at all. If the toolbar does not show, we don't need to call Realize. If the toolbar will show, then Realize will be called by VisualTool after adding their buttons, in VisualTool::SetToolbar.

So we remove the Realize() call from VideoDisplay::SetTool.

Fix wangqr/Aegisub#21
Fix wangqr/Aegisub#44
2020-05-06 20:13:04 -04:00
wangqr ac88eadd78 Use wxGenericStaticBitmap on wxOSX>=3.1.0 to get mouse event
See https://trac.wxwidgets.org/ticket/18545
Fix wangqr/Aegisub#45
2020-05-06 15:32:54 -04:00
wangqr 839dcc5aed Handle @loader_path in libboost on macOS
See wangqr/Aegisub#39
2020-05-06 13:14:06 -04:00
wangqr f501567e2d Use native color depth for audio rendering
See wangqr/Aegisub#39
2020-05-06 12:48:56 -04:00
wangqr 5dd58aca8b Add write permission before install_name_tool when doing osx-bundle
Fix wangqr/Aegisub#39
2020-04-14 10:28:15 -04:00
wangqr b92a2593cb Expand all widgets in SubsEditBox to get a consistent height 2020-04-10 09:51:08 -04:00