Commit Graph

13584 Commits

Author SHA1 Message Date
dozn
dfd826ed86 Fix Times Which Support DST on Windows 2025-01-20 03:57:36 -08:00
gingerBill
00a3a8dc81 Merge pull request #4714 from laytan/fix-map-entry-wrong-key-ptr
fix map_entry sometimes giving wrong key pointer
2025-01-20 07:41:47 +00:00
Laytan
bca016ae94 Merge pull request #4720 from jasonKercher/remove-custom-heap-allocator
os2/heap_linux point to runtime._heap_allocator_proc
2025-01-19 13:34:11 +01:00
jason
27998e0d21 os2/heap_linux point to runtime._heap_allocator_proc 2025-01-19 06:05:55 -05:00
Laytan
20fa9fbd61 Merge pull request #4717 from LineuVale/fixDrawRectangleRoundedLines
Fix raylib DrawRectangleRoundedLines
2025-01-18 22:55:51 +01:00
Laytan Laats
5622fb583c math/rand: add @(require_results) to create 2025-01-18 22:52:13 +01:00
Laytan
f8c2aa9316 Merge pull request #4713 from Rexicon226/matrix-errors
fix inverted error messages
2025-01-18 22:46:41 +01:00
Laytan
6f24eb87c0 Merge pull request #4697 from JamesDSource/master
Allow captures in gfind and gmatch to be used in-loop
2025-01-18 22:36:19 +01:00
LineuVale
21e4888934 Fix raylib DrawRectangleRoundedLines 2025-01-18 18:22:16 -03:00
Laytan Laats
4de5911a15 fix map_entry sometimes giving wrong key pointer
`map_desired_position` does not return the actual position, probing must
be done afterwards to figure out the real position. `map_entry` did not
do this for the returned key pointer so it could point to the wrong key
if probing was done.
2025-01-18 14:02:27 +01:00
David Rubin
5951c25f71 fix inverted error messages 2025-01-18 02:04:35 -08:00
Laytan
47030501ab Merge pull request #4585 from wrapperup/miniaudio-bitsets
`vendor:miniaudio`: Use bit sets for flags
2025-01-17 18:42:46 +01:00
Laytan
8e9726866a remove other redundant constant 2025-01-17 18:31:39 +01:00
gingerBill
328d70e244 Merge pull request #4696 from alektron/ArenaBug
Non-zeroed memory after Arena free
2025-01-17 14:20:28 +00:00
gingerBill
ed18f539c7 Merge pull request #4698 from 4teapo/mem-additions
Add SoA make/delete to core:mem
2025-01-17 14:20:02 +00:00
gingerBill
b9bf5b1496 Merge pull request #4703 from flysand7/4685-range-stack-overflow
Do not warn about stack overflow in range loops 'by reference'
2025-01-17 13:23:15 +00:00
gingerBill
fcd3cf7fa8 Merge pull request #4704 from flysand7/4614-thread-locals
Error if `-no-crt` is used without `-no-thread-locals`
2025-01-17 13:22:47 +00:00
flysand7
3f20b63243 Error if -no-thread-local is used in presence of -no-crt on Unix 2025-01-17 02:51:22 +03:00
flysand7
4f0206ce08 Added compile-time checks for thread locals with -no-crt
Now using any thread-local variables with -no-crt enabled
will cause a compiler error, unless -no-thread-local is
given.

Also fixed a minor typo in a comment.
2025-01-17 01:12:23 +03:00
flysand7
87b590c99b Do not warn about stack overflow in range loops 'by reference' 2025-01-16 22:11:30 +03:00
Laytan
16eca1ded1 Merge pull request #4702 from flysand7/4632-futex-windows
[sync]: Fix typos in comments and remove my note.
2025-01-16 18:05:51 +01:00
flysand7
9da144157e [sync]: Fix typos in comments and remove my note. 2025-01-16 19:33:09 +03:00
James Duran
13640620ce Fix captures not begin zeroed when haystack length is 0 2025-01-15 15:56:40 -08:00
Laytan Laats
aa3f0b86c1 compiler: fix align error check 2025-01-15 20:18:50 +01:00
teapo
4895065afb Add SoA make/delete to core:mem 2025-01-15 20:16:57 +01:00
James Duran
a7971f9f6f Allow captures in gfind and gmatch to be used in-loop 2025-01-15 11:02:46 -08:00
alektron
32d747cf8b Merge branch 'master' into ArenaBug 2025-01-15 18:00:29 +01:00
alektron
a0c20023fc Fix: Issue with non-zeroed memory after arena_temp_and;
Fix: total_used field of growing Arena was not decremented correctly in arena_temp_end;
2025-01-15 17:59:30 +01:00
Laytan
e55b652916 Merge pull request #4678 from clindholm/glfw_get_monitor_workarea
vendor/glfw: add GetMonitorWorkarea binding
2025-01-15 10:37:42 +01:00
Laytan
0cb04f5153 Merge pull request #4691 from harold-b/fix-unused-define-crash-when-ignore-warnins
Fixes crash when unused defines are used in conjunction with `-ignore-warnings`
2025-01-15 10:37:15 +01:00
Harold Brenes
794e812932 Fixes crash when unused defines are used in conjunction with -ignore-warnings. 2025-01-15 02:04:49 -05:00
Laytan
432c49e214 Merge pull request #4689 from karl-zylinski/d3d12-tabs-fix
d3d12 bindings -vet-tabs fix
2025-01-14 06:11:57 +01:00
Karl Zylinski
1613728a64 d3d12 bindings -vet-tabs fix 2025-01-13 23:37:36 +01:00
gingerBill
440acc42a9 Merge pull request #4686 from laytan/ensuref-and-other-fixes
add ensure and ensuref to fmt and log, fix some inconsistencies
2025-01-13 20:38:36 +00:00
Laytan Laats
9d4fa39daa add ensure and ensuref to fmt and log, fix some inconsistencies 2025-01-13 20:33:49 +01:00
gingerBill
48a7ed01f8 Merge pull request #4675 from jasonKercher/os2-dir-linux
Implement os2 dir linux
2025-01-13 11:04:55 +00:00
Jeroen van Rijn
600e0ebed0 Fix stray space vs. tab 2025-01-12 12:13:29 +01:00
clindholm
93e8f5024e vendor/glfw: add GetMonitorWorkarea binding 2025-01-11 15:03:12 +01:00
jason
c11dccf210 make -vet happy 2025-01-10 20:59:48 -05:00
jason
fa7ef28acf Implement _read_directory_iterator in os2.
Also, fix minor bug in linux.dirent_name.
2025-01-10 20:54:09 -05:00
Laytan
cd93e2f6f8 Merge pull request #4672 from shizeeg/master
add os.exists() to FreeBSD
2025-01-11 01:03:36 +01:00
Laytan Laats
896319d0d5 ci: test issues on windows 2025-01-11 01:00:15 +01:00
Laytan Laats
e3c0cc9dfc time: add haiku 2025-01-11 00:18:36 +01:00
Laytan
e4ae832775 Merge pull request #4603 from avanspector/master
Haiku: fix build and add initial `core:sys/posix` support
2025-01-11 00:06:29 +01:00
avanspector
cc50fab8e3 Merge branch 'odin-lang:master' into master 2025-01-10 22:47:44 +01:00
avanspector
ab7b5a5445 Haiku: change uintptr to uint where appropriate 2025-01-10 15:14:03 +01:00
gingerBill
328d893cb5 #unroll(N) for 2025-01-10 12:22:18 +00:00
gingerBill
4a2b13f1c2 Fix foreign import names 2025-01-10 10:18:30 +00:00
gingerBill
b377ac182c Keep -vet happy 2025-01-10 10:15:15 +00:00
gingerBill
fd058dff46 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-01-10 10:12:42 +00:00