Laytan Laats
1511162b0a
webgpu: fix cstring as parameter not loading correctly
2025-01-09 17:29:31 +01:00
Laytan Laats
16e3abfe82
strings: use map_entry
2025-01-08 22:20:43 +01:00
gingerBill
30bb2250c7
Merge pull request #4474 from tf2spi/4407-mdei-pack
...
Pack MDEI struct to fix issue #4407
2025-01-08 16:41:47 +00:00
gingerBill
2a29322c91
Merge pull request #4605 from karl-zylinski/tracking-allocator-bad-free-default-to-crash
...
Make tracking allocator default to crashing on a bad free instead of adding to bad_free_array
2025-01-08 16:24:20 +00:00
gingerBill
bc2e57723b
Merge pull request #4665 from GrumpyLion/add_some_missing_win_functions
...
Add SetWindowSubclass and RegisterHotKey functions
2025-01-08 16:23:40 +00:00
Lion Schitik
ab3e2340c2
review
2025-01-08 12:38:28 +01:00
david_cauchi
9a68eb401d
Fix name of RI_MOUSE_LEFT_BUTTON_DOWN containing S at the end
2025-01-08 15:06:17 +11:00
Lion Schitik
cdef798fbc
Add SetWindowSubclass and RegisterHotKey functions
2025-01-08 01:47:36 +01:00
Laytan Laats
b136aa26c8
sys/windows: fix xinput build tag
2025-01-06 21:14:37 +01:00
gingerBill
37a608664b
Merge pull request #3208 from lordhippo/add-xinput
...
Add xinput bindings to core:sys/windows
2025-01-06 13:44:45 +00:00
gingerBill
a3b4280cf7
Merge pull request #4633 from spahnke/fix-matrix-adjugate
...
Fix matrix adjugate
2025-01-06 09:36:18 +00:00
gingerBill
c7739de891
Merge pull request #4634 from dozn/patch-1
...
Use Struct Tags For Embedded (with `using`) Structs When Unmarshalling JSON
2025-01-06 09:33:42 +00:00
gingerBill
16acb342d1
Merge pull request #4617 from gorevojd/free_bootstrapped_arena_crash
...
Fixed crash in arena_free_all() for bootstrapped growing arenas.
2025-01-06 09:33:23 +00:00
Laytan
3a2396033c
Merge pull request #4648 from lzurbriggen/fix/get-comm-ports
...
move GetCommPorts, add missing comm functions, add communication events
2025-01-05 18:53:36 +01:00
Leo Zurbriggen
823740c7a4
formatting
2025-01-05 18:43:16 +01:00
Leo Zurbriggen
c604926595
add SetCommMask, GetCommMask, WaitCommEvent, GetCommPorts, communication event constants
2025-01-05 18:04:36 +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
1bf33fe373
Use static global memory for std handles instead of allocating.
2025-01-05 12:53:20 +00: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
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
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
jason
1221e393f7
add 32 bit Sig_Info and remove ppoll_time64 call
2025-01-03 09:29:39 -05: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
Leo Zurbriggen
4815d95128
move GetCommPorts to correct foreign block
2025-01-02 18:08:06 +01: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
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
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
1cf7a56ba7
General clean up of code
2025-01-01 15:13:46 +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
Zoltán Kéri
8292509769
encoding/base32: Add custom alphabet test case
...
Add test case to verify custom alphabet support. The test uses a
decimal-uppercase alphabet (0-9, A-V) to test both encoding and decoding
with custom tables, including validation. This ensures the encode and
decode functions work correctly with custom encoding tables and
validation functions as documented.
2024-12-30 15:18:38 +01:00
Zoltán Kéri
591dd8765a
encoding/base32: Remove incorrect defer delete in encode()
...
Remove premature deallocation of the output buffer which was causing
use-after-free behavior. The returned string needs to take ownership
of this memory, but the defer delete was freeing it before the
string could be used. This fixes issues with encoding that were
introduced by overly aggressive memory cleanup in 93238db2 .
2024-12-30 12:00:38 +01:00
Zoltán Kéri
0d4c0064d9
encoding/base32: Add encode->decode roundtrip test
...
Add test_base32_roundtrip() to verify the encode->decode roundtrip
preserves data integrity. This test helps ensure our base32 implementation
correctly handles the full encode->decode cycle without data loss or
corruption.
2024-12-30 03:03:50 +01:00
Zoltán Kéri
c9c59edc64
encoding/base32: Move tests to base32_test.odin
...
Move existing test procedures to a dedicated test file for better
code organization and maintainability.
2024-12-29 23:35:01 +01:00
dozn
87c159c69f
Remove unnecessary string() conversion.
2024-12-28 08:13:38 -08:00
dozn
d22cb20d85
Use Struct Tags For Embedded (with using) Structs When Unmarshalling JSON
...
A fix for https://github.com/odin-lang/Odin/issues/4539
2024-12-28 07:48:09 -08:00
Sebastian Pahnke
f23e226854
Rename adjugate to cofactor to keep existing usages for inverse and determinant correct and add new adjugate procedures
2024-12-28 10:29:43 +01:00