Commit Graph

6724 Commits

Author SHA1 Message Date
Gabriel Pariat e0b7bfd21e add trunc to glsl linalg 2024-12-17 13:06:59 -05:00
Laytan 8b1c9b0ff5 Merge pull request #4568 from giuliano-macedo/master
docs: improved `slice.reinterpret` docstring
2024-12-14 16:46:17 +01:00
Giuliano Macedo 6785a485e3 docs: improved reinterpret docstring 2024-12-14 10:10:06 -03:00
GonkieDev 6bcfafc3a8 typo fixed (MOUSE_ATTRIUBTTES_CHANGED -> MOUSE_ATTRIBUTES_CHANGED) 2024-12-11 21:02:43 +00:00
Laytan Laats 6e1d028861 fix #4389 - retrieve file type by opening if other methods failed 2024-12-06 23:51:14 +01:00
Laytan Laats f1cae8d844 fix #4496 - allow unlock of unlocked mutex (making it consistent with windows behaviour) 2024-12-06 23:08:47 +01:00
Laytan Laats 7edd332993 fix #4536 - stack buffer overflow for size_of 0 types in struct unmarshal 2024-12-06 22:12:52 +01:00
gingerBill e4bdc4ff7c Merge pull request #4562 from dozn/patch-1
Move Struct Field Zipping Outside of Loop
2024-12-06 14:21:01 +00:00
Laytan Laats cf53404f5f sync: fix no new values 2024-12-05 20:05:19 +01:00
Laytan Laats ac3a87c2cf sync: fix require results 2024-12-05 19:04:45 +01:00
Laytan Laats ad438f418d sync: fix futexes on wasm 2024-12-05 19:00:45 +01:00
gingerBill d452d37b93 Fix #4537 2024-12-05 15:51:05 +00:00
dozn 37fb2754a1 Move Struct Field Zipping Outside of JSON Token Loop 2024-12-05 07:23:34 -08:00
Adam Zadrożny 5dfc24882f improve strings.index_multi
There's no point searching for substrings after lowest_index,
so let's not.

This significantly improves performance on long strings.
2024-12-04 14:29:49 +01:00
gingerBill c79466ab3c Merge pull request #4548 from Bazzas-Forks/linalg-clamp-length
[core:math/linalg] Add `linalg.clamp_length(vector, max_length) -> clamped_vector`
2024-12-04 12:05:06 +00:00
flysand7 49b8abe3ef Apply suggestions from code review
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2024-12-04 22:50:10 +11:00
flysand7 ba6224b61a Apply suggestions from code review
Co-authored-by: Laytan <laytanlaats@hotmail.com>
2024-12-04 19:11:21 +11:00
Ycros 7edc46f1b9 fix: regex's match_with_preallocated_capture returning num_groups 2024-12-04 13:51:27 +11:00
gingerBill af8122e8c7 Merge pull request #4541 from Waqar144/work/thread-pool-use-queue
Use a proper Queue in thread.Pool
2024-12-02 12:04:28 +00:00
gingerBill 1a84820e83 Merge pull request #4542 from FourteenBrush/master
Pass allocator to implicitly (de)allocating procs in `core:log`
2024-12-02 10:55:09 +00:00
gingerBill d0f87913e2 Fix #4549 2024-12-02 10:49:49 +00:00
Bazzagibbs 4b76568596 Add linalg.clamp_length(vector, max_length) -> clamped_vector 2024-12-02 11:58:36 +11:00
Damian Tarnawski 26415bcb0e Correct handling newlines between build tags in core:odin
Previously I thought that each newline worked as `OR`
basically the same as `,`.

This corrects this to work as `AND` instead.
2024-12-01 18:21:26 +01:00
flysand7 8387561d0a [core/simd]: Write package documentation 2024-12-02 01:24:33 +11:00
Laytan Laats e6a9f93e9f dynlib: unload library before loading again & add LIBRARY_FILE_EXTENSION constant 2024-12-01 11:54:56 +11:00
Jeroen van Rijn ad8bff4d3a Make O_RDONLY default for os.open on all platforms.
And also moved Windows file procs to `os_windows.odin`, in line with all the other platforms who didn't have a dedicated `file_<platform>.odin`
2024-12-01 11:54:56 +11:00
Evan Martinez 486a650630 Fix binomial function 2024-12-01 11:54:56 +11:00
zhylmzr 2bd6fc9ebd fix DNS_RECORD.Data error align on windows i386
fixed: https://github.com/odin-lang/Odin/issues/4520
2024-12-01 11:54:56 +11:00
Laytan Laats da4347f790 sys/info & odin report: rework macos version retrieval 2024-12-01 11:54:56 +11:00
Laytan Laats 5a201d588b add macos 15.1.1 to odin report and sys/info 2024-12-01 11:54:56 +11:00
o:tone d15d152746 fix unmarshal unhandled error (#4515)
* fix unmarshal unhandled error
2024-12-01 11:54:55 +11:00
gingerBill d85de2e54e Remove core:c/frontend 2024-12-01 11:54:54 +11:00
Colin Davidson 6c140b01ed oops 2024-12-01 11:54:54 +11:00
Colin Davidson b66e756135 fix parsing issue around utc/localtime split 2024-12-01 11:54:54 +11:00
jakubtomsu a119a6f33e Fix a bug in hxa decoder found by the new check 2024-12-01 11:54:54 +11:00
Dudejoe870 76d689a601 Fix typo in Quaternion dot product 2024-12-01 11:54:54 +11:00
Laytan Laats 460e2629bd sys/posix: add MAP_ANONYMOUS 2024-12-01 11:54:54 +11:00
Laytan Laats 468c0b573a add missing macos version 2024-12-01 11:54:54 +11:00
Laytan Laats ed8aede369 os2: skip dir test when unsupported 2024-12-01 11:54:54 +11:00
Laytan Laats d94ef8d27a sys/posix: fix dirfd on netbsd 2024-12-01 11:54:54 +11:00
Laytan Laats ac2c9ac713 os2: fix file type detection in dir_windows 2024-12-01 11:54:54 +11:00
Laytan Laats 0c64129aad os2: fix leak in dir_windows 2024-12-01 11:54:54 +11:00
NicknEma f8ba86e0a6 Fix integer type
Change int to i32 so it is the correct size
2024-12-01 11:54:54 +11:00
gingerBill 6963b0f3f2 Check for more errors in json.unmarshal 2024-12-01 11:54:54 +11:00
A1029384756 9e520c38db core:sys/linux - prefixing + moved IN_CLOSE/IN_MOVE to constants 2024-12-01 11:54:54 +11:00
A1029384756 59adcf6c46 core:sys/linux - flags, spacing, inotify_init 2024-12-01 11:54:54 +11:00
A1029384756 f6b0ea160b core:sys/linux - fixed vet errors 2024-12-01 11:54:54 +11:00
A1029384756 be66d4bd8b core:sys/linux - implemented inotify
core:sys/linux - added constants and spacing
2024-12-01 11:54:53 +11:00
gingerBill 5d38eb9d81 Remove relative types from json marshaller 2024-12-01 11:54:53 +11:00
Alex Overstreet 357d6212d0 Use tabs instead of spaces 2024-12-01 11:54:53 +11:00