MatthewBeshay
1ead072c45
Add text input support: safe uint16_t* to wstring conversion
...
Replace unsafe (wchar_t*)pchText casts with uint16_to_wstring() in all
keyboard callbacks. The direct cast is incorrect on platforms where
wchar_t is 4 bytes (Linux/macOS). New helpers in StringHelpers route
through u16string for proper UTF-16 to wchar_t conversion.
- Add uint16_len, uint16_to_u16string, uint16_to_wstring to StringHelpers
- Fix casts in AnvilMenu, CreateWorldMenu, DebugCreateSchematic,
DebugSetCamera, LaunchMoreOptionsMenu, SignEntryMenu
- Truncate sign text to 15 chars in SignEntryMenu
- Move m_bIgnoreInput reset after if-block in LaunchMoreOptionsMenu
2026-03-30 12:46:50 +11:00
aedanmills
740f1b5c64
Update
2026-03-28 22:53:15 -04:00
aedanmills
75d83a4556
Fixed broken quit game button again.
2026-03-28 21:01:28 -04:00
Tropical
eb7bb6e518
Merge pull request #330 from 4jcraft/meson-options-cleanup
...
Publish Documentation / build (push) Waiting to run
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
refactor: rework meson options, fix ENABLE_VSYNC
2026-03-28 11:12:24 -05:00
orng
a0be2e2fb5
refactor: remove aabb tls
2026-03-28 03:05:06 -05:00
orng
7101d03c6a
refactor: remove heap-allocated AABBs
2026-03-28 02:58:56 -05:00
Tropical
939310be64
refactor: rework meson options, fix ENABLE_VSYNC
2026-03-28 02:13:27 -05:00
orng
ddfe9b3d48
refactor: make Tile::getTileAABB return AABB
2026-03-28 00:30:07 -05:00
orng
78b5255224
refactor: make AABBList own its values
2026-03-27 22:37:22 -05:00
orng
d7d99db4c5
refactor: remove AABB::newTemp when not returned
2026-03-27 21:56:57 -05:00
orng
534879e2e7
refactor: replace AABB::newPermanent with new AABB
2026-03-27 21:17:55 -05:00
orng
79217ca8e3
refactor: modernize AABB class
2026-03-27 21:11:11 -05:00
ffqq
016a3ebfb4
Merge branch '4jcraft:dev' into dev
2026-03-28 03:48:04 +03:00
Sally Knight
40a3f90d89
fix: add null check to renderItemInHand
2026-03-28 03:47:49 +03:00
Tropical
9bed5431eb
Merge pull request #310 from 4jcraft/refactor/replace-winapi-stubs
...
refactor: finish up removing `Tls*` functions from linux code
2026-03-27 18:53:22 -05:00
Tropical
06c73c821c
Merge pull request #312 from 4jcraft/refactor/replace-sleep
...
refactor: replace win32 thread sleeping and yielding with `std::thread` primitives
2026-03-27 18:47:47 -05:00
Tropical
8b11eb7a3a
Merge branch 'dev' into refactor/replace-winapi-stubs
Build (Linux, x86_64) / build-linux (push) Has been cancelled
Build (Linux, x86_64) / build-linux-debug (push) Has been cancelled
Clang Format / clang-format (push) Has been cancelled
2026-03-27 18:35:12 -05:00
Tropical
e38f162c10
Merge pull request #314 from Merc6/refactor/remove-vec3-tls
...
refactor: remove vec3 tls
2026-03-27 18:19:21 -05:00
StevenSYS
396e819b9b
Made the Java creative inventory more complete.
2026-03-27 14:32:47 +00:00
orng
20982f11c1
chore: format files touched by refactor/remove-vec3-tls
2026-03-26 14:13:45 -05:00
orng
87e8078a65
refactor: remove new Vec3
2026-03-26 14:01:14 -05:00
orng
9fe3315112
refactor: remove vec3 tls
2026-03-26 13:37:01 -05:00
orng
e887c8cf45
refactor: remove calls to Vec3::newTemp and Vec3::newPermanent
2026-03-26 13:29:05 -05:00
orng
bee10e55a8
refactor: remove calls to Vec3::newTemp when not returned
2026-03-26 04:19:04 -05:00
orng
7b021bc99d
wip: removing vec3 tls
2026-03-26 01:10:27 -05:00
Tropical
cbca0280b4
rust brainrot
2026-03-25 19:21:36 -05:00
Tropical
b598aa9232
fix: only use InterlockedCompareExchangeRelease64 on LP64 systems
2026-03-25 19:20:18 -05:00
Tropical
caf7128d58
refactor: remove Sleep from winapi_stubs
2026-03-25 19:14:53 -05:00
Tropical
d9f03fdddf
refactor: replace 0ms sleep with a proper yield
2026-03-25 19:13:12 -05:00
Tropical
8e94b763a7
refactor: remove usage of win32 Sleep function for this_thread::sleep_for
2026-03-25 19:12:11 -05:00
orng
9ea379eb44
chore: fix formatting in files touched by
...
refactor/remove-BasicTypeContainers
2026-03-25 18:01:56 -05:00
orng
f1ae42c659
refactor: remove basic type containers
2026-03-25 17:51:27 -05:00
Tropical
9fec342554
remove TlsAlloc, TlsFree, TlsGetValue, TlsSetValue
2026-03-25 16:32:06 -05:00
Tropical
7b18641f70
chore: clean up unused code from Linux_Minecraft.cpp
2026-03-25 16:24:45 -05:00
Tropical
aff677a995
chore: fmt
2026-03-25 16:08:00 -05:00
Tropical
30170b8f9c
adjust naming scheme of private TLS members
2026-03-25 14:46:16 -05:00
Tropical
9ff2fb4fef
refactor: switch to thread_local in Chunk, PistonBaseTile, TheEndPortalTile, Compression
2026-03-25 14:41:08 -05:00
Tropical
625ce97385
refactor: use thread_local in OldChunkStorage, FireworksRecipe, Level, Entity
2026-03-25 14:13:00 -05:00
Tropical
03f62dcb9e
refactor: FireworksRecipe thread-local storage
2026-03-25 12:59:15 -05:00
Tropical
a82d76ca46
refactor: Tesselator thread-local storage
2026-03-25 12:43:41 -05:00
orng
1538074b4d
refactor: remove integer caching
2026-03-25 02:47:51 -05:00
Tropical
ed726d291a
fix: properly bind minecart texture
...
Build (Linux, x86_64) / build-linux (push) Has been cancelled
Build (Linux, x86_64) / build-linux-debug (push) Has been cancelled
Clang Format / clang-format (push) Has been cancelled
happened because of a bad merge
2026-03-24 23:17:47 -05:00
Tropical
237eae2573
add back SoundEngine impls from merge
2026-03-24 19:17:00 -05:00
Tropical
d4af59cf77
Merge branch 'dev' into tu19-take-2
2026-03-24 19:12:19 -05:00
Sally Knight
5972c01ed4
fix: use original gui tile rendering (again) for proper lighting
Build (Linux, x86_64) / build-linux (push) Waiting to run
Build (Linux, x86_64) / build-linux-debug (push) Waiting to run
Clang Format / clang-format (push) Waiting to run
2026-03-25 00:07:11 +03:00
Tropical
e473825c76
fix: off-by-one in enchantment buttons
2026-03-24 15:45:59 -05:00
Tropical
69530dcccf
Merge branch 'tu19-take-2' of https://github.com/4jcraft/4jcraft into tu19-take-2
2026-03-24 15:27:58 -05:00
Tropical
74252cc8d2
fix: slotId parsing in enchantment menu
2026-03-24 15:26:05 -05:00
Sally Knight
d6070001d0
fix(jui): re-enable screen reinitialization on resize
2026-03-24 22:38:54 +03:00
Tropical
ca533de1c3
Merge branch 'tu19-take-2' of https://github.com/4jcraft/4jcraft into tu19-take-2
2026-03-24 14:27:14 -05:00