Ryan
51494a07d9
lua: run unicode-monkeypatch on Windows when loading scripts
2021-03-27 12:34:18 -04:00
Ryan
8394f1adca
Monkeypatch script fixes
2021-03-27 12:34:18 -04:00
Ryan
e929e4a75c
meson: copy monkeypatch script
2021-03-27 12:34:18 -04:00
Ryan
4648e8cc5b
meson: add new luajit string buffer files
2021-03-27 12:34:18 -04:00
Ryan Lucia
b7f6ac42e4
Add lua monkeypatch for Unicode support on Windows
2021-03-27 12:34:18 -04:00
Ryan Lucia
84beba20cb
meson: fix luajit 64-bit builds
...
Upstream defines ENDIAN_LE or ENDIAN_BE always, so assume little endian. x86_64 defaulting to x86 seems to just be a mistake
2021-03-27 12:34:18 -04:00
Ryan
ef64307ba1
Switch to upstream LuaJIT
...
This does not yet handle the patching, but should build without issue
2021-03-27 12:34:18 -04:00
Ryan
48c3acd3aa
actions: disable MacOS
...
The LTO change broke this somehow, but disable until I can investigate why
2021-03-27 09:31:10 -04:00
Ryan
f5122a3927
meson: copy automation files to build directory
...
This enables running Moonscript on Windows builds without relying on system files
2021-03-27 09:30:21 -04:00
Ryan
d32ef75cba
meson: move executable to the root directory
2021-03-27 09:29:37 -04:00
Ryan
1246534b7b
Move AddSeparator to VisualTool::SetToolbar
...
Co-authored-by: wangqr <wangqr@wangqr.tk>
2021-03-27 08:09:11 -04:00
Ryan Lucia
c218db6f34
meson: disable LTO by default
2021-03-06 14:57:27 -05:00
petzku
19429b0f6e
Fix negative margin handling ( closes #104 )
...
Previously, margins were clamped to 0..9999, but negative margins are
well supported by most renderers. In addition, previously lua
automations automations were able to produce these negative margin
values, and they would be saved correctly. However, re-opening the file
would clamp the values, and they could not be edited in the edit box.
This commit changes the clamping to be -9999..99999, and allows entering
(and editing) negative values in all relevant fields. In addition, this
makes the subtitle edit box margin fields take 5 characters instead of 4
to accommodate negative numbers up to 9999 (also the reason for raising
the upper bound).
2021-03-06 14:29:18 -05:00
Ryan Lucia
8fa0fa352b
meson: generate osx-bundle.sed
2021-02-27 21:11:56 -05:00
Ryan Lucia
dc3ffa30af
actions: stylistic cleanup
2021-02-27 20:21:29 -05:00
Ryan Lucia
43751546f4
spectrum view: allow 32-bit wxBitmap
...
Required on MacOS
2021-02-22 14:29:14 -05:00
Ryan Lucia
2abb098bd1
meson: improve iconv detection
2021-02-22 14:26:03 -05:00
Myaamori
c6f4ea45aa
Let search field in Hotkeys menu expand horizontally
...
On Linux with wx 3.1 it was too small to use by default
2021-01-31 19:34:47 -05:00
Myaamori
ca7501c7ed
Remove unused alignment flags for combo boxes in resampler
...
Causes an assertion error with wx 3.1
2021-01-31 19:34:47 -05:00
Ryan Lucia
c32c612dc3
meson: set dataroot correctly for osx bundle
2021-01-30 16:22:05 -05:00
Ryan
1fd574f556
win_installer: don't include arch in file name
2021-01-30 12:20:24 -05:00
Ryan
b72f02b9f2
meson: reorder nasm download to work with global args
2021-01-30 12:11:34 -05:00
Ryan
248785d7ad
meson: apply manifest on windows
2021-01-30 12:02:34 -05:00
Ryan
36b75b827d
meson: fix warnings, cleanup
2021-01-30 12:02:18 -05:00
Ryan
73ad926880
meson: define CSRI_NO_EXPORT earlier in setup
2021-01-30 09:12:13 -05:00
Ryan
2cb759a6e2
win_installer: set directory correctly after DepCtrl checkout
2021-01-30 09:11:34 -05:00
Ryan
e186fa4627
meson: disable CSRI on non-windows for now
2021-01-30 09:04:22 -05:00
Ryan
1ac52a24d6
meson: disable gdi_fontselect for now
...
This one continues to be controversial, so for now the plan will be to report issues upstream that come up as a result of this being removed
2021-01-30 08:58:45 -05:00
Ryan
7d9feca578
meson: add CSRI support
2021-01-30 08:57:39 -05:00
Ryan
d8c348e897
meson: standardized config defines to set integer 1
2021-01-30 08:56:01 -05:00
Ryan
f3958288ac
libresrc: put new wxBitmap constructor behind wx version check
...
Based off https://github.com/Aegisub/Aegisub/pull/175
2021-01-30 07:29:45 -05:00
Ryan
8d8ea166df
lua: remove usage of luaL_reg in favor of luaL_Reg
...
The former was deprecated with 5.1, and removed entirely in later versions and in LuaJIT
2021-01-30 07:25:06 -05:00
Ryan
7640576cc9
meson: use conf object for defines where appropriate
2021-01-30 07:25:03 -05:00
Ryan
8acc8be2ba
win_installer: checkout DepCtrl 0.6.3
2021-01-17 09:53:19 -05:00
Ryan
73c54cef99
win_installer: use plain aegisub.exe everywhere
2021-01-17 09:53:01 -05:00
Ryan
1981f4db3e
win_installer: fix vc redist name in run section to match source
2021-01-17 09:30:26 -05:00
Ryan
bec44eaab8
meson: define P_LOCALE
2021-01-16 13:15:05 -05:00
Ryan
b8d1864a07
aegisub: ifdef wxBitmap constructor to scale on MacOS only
...
Quick fix to unblock the build; need better HiDPI handling across the board
2021-01-16 13:01:51 -05:00
Myaamori
b42da504a0
Save unexpanded path in font collector ( #79 )
...
Fixes #78
2021-01-16 06:13:37 -05:00
Ryan
35b2ca5532
win_installer: fix paths for Avisynth+ dlls
...
3.7.0 changed the layout, so just match the new one
2021-01-16 06:02:32 -05:00
Ryan
1384123e2d
iconv wrapper: allocate a smaller buffer on the stack
2021-01-16 05:31:08 -05:00
Ryan
8b8f4a3925
meson: bump minimum ffms2 version to 2.22
...
It's been out for 6 years, so this should be fairly safe. Also fix a build error that somehow snuck in during the merge
2021-01-16 05:31:08 -05:00
Ryan
6660594f64
Update URLs to point at the main repo
2021-01-16 05:31:08 -05:00
Ryan
308ef6cbb0
meson: promote dirent wrap
2021-01-16 05:30:59 -05:00
Ryan
d583744b69
Merge in work from TypesettingTools fork
2021-01-16 02:12:31 -05:00
Ryan
a2da1616c0
meson: set minimum win version to 7
...
I think setting it at 8 was accidental? This matches the installer, so we should be consistent throughout
2021-01-16 01:26:19 -05:00
Ryan
25a62f4f12
libass_gdi_fontselect: don't redefine NOMINMAX
...
It's now defined in the build system itself
2021-01-16 01:24:19 -05:00
Ryan
417ba4ff2d
actions: change branch to master
2021-01-10 03:14:12 -05:00
Ryan
2211b7a0a5
README: update for macOS with meson
2021-01-10 03:14:12 -05:00
Ryan
4b1d23e6be
actions: add separate debug/release lanes
...
No debug on Windows because the container isn't powerful enough
2021-01-10 03:14:12 -05:00