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
wangqr
c1dca9cb1f
Remove icon size option from Windows
...
Windows now always use the default size, with correct HiDPI handling
2020-04-10 00:04:06 -04:00
wangqr
55f379e229
Add required windows macro for Boost::asio
2020-04-09 22:00:19 -04:00
wangqr
76f4b3aaa2
CMake: Remove /MP to support Ninja build
2020-04-09 21:59:27 -04:00
wangqr
cdebf5f3d4
Handle long path in GDI font lister
2020-04-09 11:03:23 -04:00
Ryan Lucia
a281285615
Set visual tool default feature color correctly
...
Fixes TypesettingTools/Aegisub#50
2020-04-08 18:10:52 -04:00
wangqr
0e01f053e2
Fix touch date issue in setup.ps1
2020-04-03 22:21:38 -04:00
wangqr
638f1eb99e
Detect byte order
...
Since uchardet does not do that for us
Fix wangqr/Aegisub#38
2020-04-03 22:21:00 -04:00
wangqr
799d96602d
Fix uchardet enable macro
...
It should be applied to libaegisub
2020-04-03 22:19:25 -04:00
wangqr
01f6e86901
Modernize CMake (part 2)
2020-03-31 02:26:31 -04:00
wangqr
c0c2a9100d
Modernize CMake (part 1)
2020-03-30 20:32:16 -04:00
wangqr
5318838b93
Migrate tests/setup.bat to PowerShell
...
Removed set / ping hacks
2020-03-29 22:25:15 -04:00
wangqr
62708e8e5c
Ensure stdcall on XAudio2 callback
...
Fix for x86 build
2020-03-29 22:18:49 -04:00
wangqr
4b096e6c6e
Merge branch 'dev-small-changes' into dev
2020-03-20 20:15:18 -04:00
wangqr
ef99ce14fd
Detect iconv type at compile time instead of project generation
2020-03-20 08:03:44 -04:00
wangqr
88c486aca4
Change default audio output to XAudio2 on Windows
...
Downmix defaults to disabled on non-Windows OSes, because we don't support non-mono output at the moment
2020-03-20 04:13:41 -04:00
wangqr
3351235434
Move macOS specific build issue to Wiki
2020-03-14 01:00:44 -04:00
wangqr
64d0f86d8d
Add git_version.h generation to CMake
2020-03-11 17:07:33 -04:00
wangqr
3394f22a93
Expand layer SpinCtrl a little
...
to compensate wxMac bug with GetSizeFromText
2020-03-10 01:16:28 -04:00
wangqr
f71919f2ae
Fix missing config option for Align on macOS
2020-03-09 21:02:33 -04:00