Commit Graph

283 Commits

Author SHA1 Message Date
Josh Tynjala
44dd331801 libjpeg: fix rendering on 32-bit platforms
Fixes SIZEOF_SIZE_T on 32-bit platforms that should be 4 instead of 8

Tested on Windows x86_32 and Android armv7
2025-01-07 09:43:21 -08:00
Josh Tynjala
27d1d8b9d4 Revert "freetype: roll back to freetype version 2.9.1"
This reverts commit c4faf58ff0.
2024-12-13 13:37:16 -08:00
Josh Tynjala
90b2b1fa80 Revert "freetype: roll back to 2.8.1 to fix issues with character spacing"
This reverts commit ac3040c1ed.
2024-12-13 13:36:56 -08:00
Josh Tynjala
ac3040c1ed freetype: roll back to 2.8.1 to fix issues with character spacing 2024-12-12 10:41:08 -08:00
Josh Tynjala
68f531eaba openal: custom version.h was not updated when switching to new version 2024-11-11 14:20:55 -08:00
Josh Tynjala
c4faf58ff0 freetype: roll back to freetype version 2.9.1
tag VER-2-9-1

Starting with freetype 2.10.0, the sum of the ascent and descent values seem to be more likely to be less than the baseline-to-baseline measurement (called the font's height), which is the font designer's recommend distance between baselines. However, OpenFL doesn't account for the full baseline-to-baseline height at all, so with smaller ascent and descent values, lines render with smaller gaps between them. OpenFL needs to update its TextEngine algorithm to use the height of the line instead of adding ascent and descent together alone, and then we can update freetype. Updating TextEngine is not a trivial change, and may likely require time to discover bugs and stabilize, so it's better to roll back the freetype update for now, and apply it again later after OpenFL can handle it properly.
2024-10-29 15:48:38 -07:00
Chris Speciale
e24ab07125 Revert "Downgrade to OpenAL 1.20.0"
This reverts commit 54f7734d7f.
2024-10-23 23:39:25 -04:00
Chris Speciale
a5d980cf75 Revert "Remove missing file path"
This reverts commit f60d8a75c5.
2024-10-23 23:39:20 -04:00
Chris Speciale
2ae713d180 Revert "Downgrade OpenAL to 1.19.1"
This reverts commit 583e742734.
2024-10-23 23:39:11 -04:00
Chris Speciale
583e742734 Downgrade OpenAL to 1.19.1
This still solves https://github.com/kcat/openal-soft/pull/227 which seems to be fixed in 1.19.1
2024-10-23 22:31:09 -04:00
Chris Speciale
f60d8a75c5 Remove missing file path
Removes an expected file introduced in 1.20.1
2024-10-23 21:25:05 -04:00
Chris Speciale
54f7734d7f Downgrade to OpenAL 1.20.0 2024-10-23 21:22:56 -04:00
Josh Tynjala
a1dcad42df harfbuzz: update to 6.0.0
Needed for macOS when using Xcode 16 and clang 16. This version of clang produces errors like this when compiling harfbuzz:

cast from 'void (*)(FT_Face)' (aka 'void (*)(FT_FaceRec_ *)') to 'FT_Generic_Finalizer' (aka 'void (*)(void *)') converts to incompatible function type [-Werror,-Wcast-function-type-strict]

This is the minimum version of harfbuzz that fixes the errors. We could certainly consider upgrading further (current release is 10.0.1 at the time of this commit).
2024-10-07 10:13:03 -07:00
Joshua Granick
656c761cb0 Fix broken JPEG decoding (tested on Windows) 2024-07-09 13:27:54 -07:00
tobil4sk
54d6b72390 Fix pixman build for m1 2024-05-30 09:18:09 -07:00
tobil4sk
1a1beff531 Remove no longer used defines
See cf5b033bbc
2024-05-30 09:18:09 -07:00
tobil4sk
f116b57c8e Adding missing RESTRICT define for openal
See e027811906
2024-05-30 09:18:09 -07:00
tobil4sk
53c9b52562 Apply openal build fixes for m1
https://github.com/openfl/libopenal/pull/1
2024-05-30 09:18:09 -07:00
Josh Tynjala
237c8c6357 update pixman to 0.42.2 to fix macOS builds
was running into this issue: https://issuetracker.google.com/issues/249834910
2024-04-19 09:26:10 -07:00
Joseph Cloutier
657ad24682 Merge branch 'develop' into 8.2.0-Dev 2024-04-13 03:09:20 -04:00
Tobi Laskowski
fc6b90538a Downgrade mbedtls to 2.28.7
On ios, we build statically linked executables. This means that if lime uses mbedtls 3, hxcpp is also forced to use it which can cause crashes and other problems, as hxcpp is currently written for 2.28
2024-03-11 12:41:07 -07:00
Joseph Cloutier
9a9b89ae06 Merge branch 'develop' into 8.2.0-Dev 2023-08-17 21:07:12 -04:00
Joshua Granick
06122fe72a Compile fix 2023-06-07 18:11:40 -07:00
Josh Tynjala
5a87d77897 Merge branch 'develop' into 8.1.0-Dev 2023-06-05 10:29:26 -07:00
player-03
e01a26759d Suppress libpng warnings.
Per https://github.com/openfl/lime/pull/1531#issuecomment-1568750546
2023-05-30 12:51:08 -04:00
Josh Tynjala
de773dd6b6 mbedtls v3.3.0
Restores Android NDK r15c compatibility
2023-05-30 09:03:55 -07:00
Josh Tynjala
9103be3c98 update curl and mbedtls submodules
Updated to match 8.2.0-Dev branch

Fixes SSL connect error on macOS
2023-05-30 09:03:55 -07:00
Joshua Granick
35d1436dcd Revert WebAssembly improvements (moved to 8.1.0-Dev branch) 2023-05-30 09:03:18 -07:00
Joshua Granick
58f8db6843 Update cURL 2023-05-30 08:53:34 -07:00
Joshua Granick
91e840c73b Update cairo 2023-05-30 08:53:18 -07:00
Joshua Granick
550a5671a2 Update cURL 2023-05-23 19:52:45 -07:00
Joshua Granick
d80ed56bf5 Update cairo 2023-05-23 15:37:03 -07:00
Patrick Gutlich
82242e2c1c remove define for legacy SDL_VIDEO_DRIVER_RPI 2023-03-02 08:49:58 -08:00
Josh Tynjala
55ca39da44 slightly different compiler flags with Raspberry Pi ARM64 2023-03-01 15:55:55 -08:00
Patrick Gutlich
82e6e9b779 Fix SIZEOF_SIZE_T in jpeg for RaspberryPi 2023-01-14 12:33:29 +01:00
Joseph Cloutier
2fd9e9fd08 Use mirror of libpng. 2022-11-30 13:15:07 -05:00
player-03
c14f90695f Merge pull request #7 from Sirox228/submodules
fix libpng sdl error
2022-10-29 19:43:50 -04:00
player-03
668ffd769a Only compile Arm-specific files for Arm devices.
These files are only required if `PNG_ARM_NEON_IMPLEMENTATION == 1` (the default). Since we can't test it here, we just have to assume it's the case on all Arm devices. (But only Arm devices.)
2022-10-29 19:40:58 -04:00
player-03
59b2644e9f Explain the use of the unofficial mirror. 2022-10-29 18:45:33 -04:00
Sirox
f16b14bec2 Update png-files.xml 2022-10-29 21:55:09 +03:00
Sirox
09f07eab26 cut neon from pixman for build using new ndks 2022-10-29 20:40:33 +03:00
player-03
9e6a0006bf Link to OpenFL's mirror of tiny file dialogs. 2022-10-29 00:12:36 -04:00
player-03
2286704ed3 Add HashLink to the list of submodules. 2022-06-06 20:51:42 -04:00
Joseph Cloutier
60dd8803c1 Fix Windows header conflict. 2022-06-03 19:38:11 -04:00
Joseph Cloutier
34817221d8 Adjust RPI build settings.
Co-authored-by: Patrick Gutlich <patrick@gepatto.nl>
2022-06-01 00:27:46 -04:00
Joseph Cloutier
16166e1a0d Fix RPI compile errors (incomplete).
At least, these changes should be a step in the right direction.
2022-05-28 14:55:50 -04:00
Joseph Cloutier
088b43a37a Don't compile joystick HIDAPI code on iOS.
Per README-ios.md and SDL_config_iphoneos.h, it's disabled by default.
2022-05-28 08:34:04 -04:00
Joseph Cloutier
f3aff7f274 Compile PNG's "intrinsics" when targeting arm64.
As noted in pngpriv.h, the alternative (assembly code) doesn't currently
work on arm64.

There's no mention of iOS or tvOS, so maybe we could remove those?
2022-05-27 20:30:07 -04:00
Joseph Cloutier
821638ae34 Work around inconsistent header inclusion.
Overriding headers has always been risky, and finally we see why.

Apparently on iOS, files may be compiled in such a way that the original
SDL_config.h file is included, not Lime's custom one. It's hard to do
anything more than we've already done to manage include order, so we
need to find another option.

One such option is to make the two files as similar as possible, such
that it usually doesn't matter which one ends up being included. Then we
only set `USING_GENERATED_CONFIG_H` when it really matters.
2022-05-27 03:59:43 -04:00
Joseph Cloutier
03f5dcbf82 Don't enable ARC twice.
If `OBJC_ARC` is set, then `-fobjc-arc` was also set already.
2022-05-27 03:29:07 -04:00