Commit Graph

13445 Commits

Author SHA1 Message Date
Laytan
bf77036cb0 Merge pull request #4651 from flga/runtime_map_get
runtime: map_cell_index_static produced wrong results when the number of elements per cell was a power of 2
2025-01-05 14:27:44 +01:00
Laytan
aa4bc10a84 Merge pull request #4649 from dspx-plcr/master
add default -I and -L paths for OpenBSD
2025-01-05 14:23:51 +01:00
Laytan
73d1427127 Merge pull request #4662 from IllusionMan1212/jpeg-detection
fix(core/image): off-by-one index when detecting certain JPEG images
2025-01-05 14:23:35 +01:00
gingerBill
acbb14d87e Fix typo 2025-01-05 13:10:29 +00:00
gingerBill
d718db473c Use array with linear search rather than a hash map. 2025-01-05 13:08:01 +00:00
gingerBill
4d63ee0794 Remove unused import 2025-01-05 12:55:35 +00:00
gingerBill
998a3b01cc Merge branch 'master' of https://github.com/odin-lang/Odin 2025-01-05 12:53:27 +00:00
gingerBill
1bf33fe373 Use static global memory for std handles instead of allocating. 2025-01-05 12:53:20 +00:00
Laytan Laats
5957ff3699 vendor/raylib: fix Vector3Unproject wrong assignment
Fixes #4646
2025-01-05 13:45:01 +01:00
Hisham Aburaqibah
247384574a fix(core/image): off-by-one index when detecting certain JPEG images 2025-01-05 13:05:11 +02:00
Jeroen van Rijn
397e371232 Merge pull request #4641 from zolk3ri/fix/base32-error-handling
encoding/base32: Add RFC-compliant error handling and improve reliability
2025-01-04 20:27:16 +01:00
gingerBill
f5e5c9767c Merge pull request #4650 from jasonKercher/arm32-update
Arm32 update for sys/linux
2025-01-04 10:44:44 +00:00
gingerBill
872e6d0189 Merge pull request #4652 from VladPavliuk/extend_win32_api_types
Extend win32 api types
2025-01-04 10:42:28 +00:00
Zoltán Kéri
a4a1562905 encoding/base32: Add @(rodata) attribute to default tables
Add `@(rodata)` attribute to `ENC_TABLE` and `DEC_TABLE` to mark
them as read-only data. This places these tables in the read-only
section of the executable, protecting them from modification
during program execution.
2025-01-03 19:16:56 +01:00
VladPavliuk
1733a50678 Refactor changes. 2025-01-03 18:58:08 +02:00
fleandro
1550eced04 also add a test for non power of 2 N for good measure 2025-01-03 16:58:03 +00:00
VladPavliuk
470c05a902 Merge branch 'master' into extend_win32_api_types 2025-01-03 18:53:48 +02:00
VladPavliuk
36b5ca9176 Extend win32 types 2025-01-03 18:52:39 +02:00
fleandro
c93e096d8f fix N=1 and cleanup tests 2025-01-03 16:50:05 +00:00
fleandro
555bca2cb4 fix test leaks 2025-01-03 15:46:02 +00:00
fleandro
e3de02eaa8 runtime: map_cell_index_static produced wrong results when the number of elements per cell was a power of 2 2025-01-03 15:33:34 +00:00
jason
1221e393f7 add 32 bit Sig_Info and remove ppoll_time64 call 2025-01-03 09:29:39 -05:00
Despereaux Polacre
0b0ae52be5 add default -I and -L paths for OpenBSD 2025-01-02 21:31:34 +01:00
jason
074bef7baf Fix sys/linux 64 bit arguments on 32 bit systems
Reverese return values of compat64_arg_pair
Add register alignment to specific arm32 system calls
2025-01-02 14:50:45 -05:00
jason
ce1f3b34c0 Minor fixes + cleanup in os2 and sys/linux
Add NOFOLLOW to os2.remove
Change Dev from int to u64 and make relavant casts
Fix compat64_arg_pair
2025-01-02 11:03:24 -05:00
gingerBill
fdd3b46c10 Merge pull request #4647 from karl-zylinski/raylib-wasm
Make it easier to do Raylib WASM builds
2025-01-01 21:32:08 +00:00
Karl Zylinski
dc1b75b6c3 Added WASM libs for raylib and raygui. Added them to the foreign import blocks, with optional ways to override them. These overrides can be used to use alterantive libs when using for example emscripten. 2025-01-01 22:26:11 +01:00
Laytan
71b0f7e698 Merge pull request #4644 from karl-zylinski/box2d-build-script-fix
Fix for casing error in box2d/wasm.Makefile
2025-01-01 21:26:28 +01:00
Laytan
8763b15c61 Merge pull request #4643 from karl-zylinski/fix-vendor-libc-sin-log-types
Fix for vendor:libc using wrong types for log and sin procs.
2025-01-01 21:18:47 +01:00
Karl Zylinski
f80c33727c Fix for casing error in box2d/wasm.Makefile 2025-01-01 21:15:44 +01:00
Karl Zylinski
51e90e5e96 Fix for vendor:libc using wrong types for log and sin procs. 2025-01-01 21:07:44 +01:00
gingerBill
a2a0a2c8d8 Merge pull request #4611 from tf2spi/4491-max-field-align-pack
Add packing + aligned access w/ field_align
2025-01-01 18:03:44 +00:00
gingerBill
4882eefaf8 Merge pull request #4616 from flga/master
make -export-dependencies emit valid json
2025-01-01 17:46:25 +00:00
gingerBill
8a5c1b109d Merge pull request #4613 from fnknda/fix-linux-bind
Fix calls to bind always returning EINVAL when using linux.Sock_Addr_In
2025-01-01 17:46:15 +00:00
gingerBill
bfbcc02aff Merge pull request #4608 from zen3ger/assignment-of-non-specialized-parapoly
Fix crash on assignment of parapoly proc to variable
2025-01-01 17:40:40 +00:00
gingerBill
8d400f43fd Merge pull request #4607 from zen3ger/parapoly-proc-fixes
Fix crash when proc return type is undeclared parapoly variable
2025-01-01 17:40:04 +00:00
gingerBill
7248958fcd Merge pull request #4606 from chris-montero/fix_memory_leak_in_core_prof_spall_doc_example
fixed memory leak in core/prof/spall/doc.odin example code
2025-01-01 17:39:20 +00:00
gingerBill
7b334d2bd9 Add #branch_location 2025-01-01 17:26:15 +00:00
gingerBill
1cf7a56ba7 General clean up of code 2025-01-01 15:13:46 +00:00
gingerBill
6383fddb59 Disable the os-specific code in libc so that non-OS specific platforms still work with it 2025-01-01 15:13:36 +00:00
gingerBill
049359cae4 Clean up box2d foreign import 2025-01-01 15:13:07 +00:00
gingerBill
c8ad2a4245 Support multiple paths for wasm in foreign import 2025-01-01 15:12:54 +00:00
Zoltán Kéri
fe88c22b1f encoding/base32: Fix RFC 4648 references and add RFC reference URL
Fix incorrect RFC 4648 section references:
- Add RFC URL reference at package level
- Update Error enum documentation to reference correct sections:
  - Invalid_Character: Section 3.3 (non-alphabet characters)
  - Invalid_Length: Section 6 (base32 block size requirements)
  - Malformed_Input: Section 3.2 (padding)
- Fix test file section references to match correct sections

This ensures all RFC references are accurate and adds a link to the
source RFC for reference.
2024-12-31 23:47:33 +01:00
Zoltán Kéri
d6f4412dc3 encoding/base32: Fix style issues for CI 2024-12-31 18:59:39 +01:00
Laytan
7ffec820ac Merge pull request #4610 from blob1807/master
Fix io.write_escaped_rune not writing full value
2024-12-30 23:53:24 +01:00
Laytan
c02710cce8 Merge pull request #4638 from DataResearch/master
Added proc to user32 Bindings
2024-12-30 23:53:04 +01:00
Laytan
a73c7be8f7 Merge pull request #4600 from jasonKercher/arm64-linux-fixes
Get arm64 up to speed in os2 linux
2024-12-30 23:38:59 +01:00
CodingChris
bddca04b25 added IsZoomed to user32 bindings in sys/windows 2024-12-30 23:20:08 +01:00
Zoltán Kéri
3d25128520 encoding/base32: Convert files to UTF-8 with Unix line endings 2024-12-30 15:31:57 +01:00
Zoltán Kéri
5ce6990077 encoding/base32: Add proper cleanup for encoded strings in tests
Add defer delete for encoded strings across all test procedures to ensure
proper cleanup and prevent memory leaks. This completes the memory
management improvements started in 591dd876.
2024-12-30 15:26:42 +01:00