Commit Graph
100 Commits
Author SHA1 Message Date
LaytanandGitHub 5ebc31edcb Merge pull request #4580 from tf2spi/4485-fix-exact-value-float
Fix parsing of integer w/ 'e' notation
2025-01-29 07:28:40 +01:00
Laytan Laats 34aa326d99 put FILE in core:c and use that in bindings to fix wasm 2025-01-27 19:00:04 +01:00
LaytanandGitHub 17f017ed87 Merge pull request #4758 from laytan/fix-duplicate-linker-warning
fix duplicate linker warning on macos
2025-01-25 01:04:54 +01:00
Laytan Laats f957542cd3 fix duplicate linker warning on macos
Fixes #4747
2025-01-25 00:50:57 +01:00
LaytanandGitHub 4d3fe34c88 Merge pull request #4754 from laytan/fix-separate-modules-objc
Fix separate modules objc
2025-01-24 20:25:54 +01:00
Laytan Laats 9dc17f4c47 optimize fix 2025-01-24 19:33:57 +01:00
Laytan Laats b2aaf90f88 fix separate modules with objc code 2025-01-24 19:23:49 +01:00
Laytan Laats d54de6704a os/os2: use proc_pidpath for executable path on darwin 2025-01-22 18:40:06 +01:00
Laytan Laats f1b0b19710 os/os2: get_executable_path and working directory on wasi 2025-01-21 19:14:15 +01:00
Laytan Laats b673642412 os/os2: add get_executable_path and get_executable_directory 2025-01-21 18:54:45 +01:00
LaytanandGitHub 68653081be Merge pull request #4732 from zen3ger/os2-process-incorrect-working-dir
os/os2: Properly update CWD on Linux when using _process_start()
2025-01-21 00:07:32 +01:00
Laytan Laats bf58107402 os/os2: bring Linux to other impls standards by looping writes and maxing one shot RW sizes 2025-01-20 20:15:03 +01:00
Laytan Laats a5f3c1b849 container/queue: fix init_with_contents
Fixes #4729
2025-01-20 19:51:46 +01:00
LaytanandGitHub 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
LaytanandGitHub 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
LaytanandGitHub f8c2aa9316 Merge pull request #4713 from Rexicon226/matrix-errors
fix inverted error messages
2025-01-18 22:46:41 +01:00
LaytanandGitHub 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
Laytan Laats e4892f1bb2 os/os2: wasi target support 2025-01-18 22:23:44 +01: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
LaytanandGitHub 47030501ab Merge pull request #4585 from wrapperup/miniaudio-bitsets
`vendor:miniaudio`: Use bit sets for flags
2025-01-17 18:42:46 +01:00
LaytanandGitHub 8e9726866a remove other redundant constant 2025-01-17 18:31:39 +01:00
LaytanandGitHub 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
Laytan Laats aa3f0b86c1 compiler: fix align error check 2025-01-15 20:18:50 +01:00
LaytanandGitHub e55b652916 Merge pull request #4678 from clindholm/glfw_get_monitor_workarea
vendor/glfw: add GetMonitorWorkarea binding
2025-01-15 10:37:42 +01:00
LaytanandGitHub 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
LaytanandGitHub 432c49e214 Merge pull request #4689 from karl-zylinski/d3d12-tabs-fix
d3d12 bindings -vet-tabs fix
2025-01-14 06:11:57 +01:00
Laytan Laats 9d4fa39daa add ensure and ensuref to fmt and log, fix some inconsistencies 2025-01-13 20:33:49 +01:00
LaytanandGitHub 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
LaytanandGitHub 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
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
Laytan Laats 2620721128 '#no_nil' I am actually disappointed in myself 2025-01-08 21:45:59 +01:00
Laytan Laats b3c359557e #no_nil third time's the charm 2025-01-08 21:24:22 +01:00
Laytan Laats 7185a93a86 actually fix #no_nil debug info
Fixes #4664
2025-01-08 20:24:31 +01:00
Laytan Laats 2aae4cfd46 fix #no_nil in debug info
Fixes #4664
2025-01-08 18:47:32 +01:00
LaytanandGitHub b71c74a357 Merge pull request #4666 from DaveTheGameDev/sys_windows
Fix name of RI_MOUSE_LEFT_BUTTON_DOWN containing S at the end in (user32.odin)
2025-01-08 07:46:47 +01:00
Laytan Laats b136aa26c8 sys/windows: fix xinput build tag 2025-01-06 21:14:37 +01:00
Laytan Laats 0cc1dbb092 vendor/box2d: clarify wasm building 2025-01-05 19:35:37 +01:00
Laytan Laats bf0e6eaf60 vendor/raylib: fix SetVertexAttribute definition
Fixes #4596
2025-01-05 19:21:39 +01:00
LaytanandGitHub f566c5ee83 Merge pull request #4639 from flga/vulkan_xlib_xcb
`vendor:vulkan` Add support for xlib and xcb
2025-01-05 19:03:57 +01:00
LaytanandGitHub 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
LaytanandGitHub 00afd53f46 Merge pull request #4654 from obiwan87/master
Minor adjustments in documentation-only files for better LSP support
2025-01-05 18:52:19 +01:00
LaytanandGitHub b98833ce04 spacing 2025-01-05 18:42:48 +01:00
LaytanandGitHub 96513c8d5d Merge pull request #4636 from 2nafish117/update-to-cgltf-1.14
update cgltf from 1.13 to 1.14
2025-01-05 18:41:29 +01:00
laytan 834209194f rebuild windows lib 2025-01-05 17:35:40 +01:00
Laytan Laats 252b807714 update wasm blob 2025-01-05 18:22:38 +01:00
LaytanandGitHub 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
LaytanandGitHub 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
LaytanandGitHub 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
Laytan Laats 5957ff3699 vendor/raylib: fix Vector3Unproject wrong assignment
Fixes #4646
2025-01-05 13:45:01 +01:00
LaytanandGitHub 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
LaytanandGitHub 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
LaytanandGitHub 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
LaytanandGitHub c02710cce8 Merge pull request #4638 from DataResearch/master
Added proc to user32 Bindings
2024-12-30 23:53:04 +01:00
LaytanandGitHub 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
LaytanandGitHub 8b1c9b0ff5 Merge pull request #4568 from giuliano-macedo/master
docs: improved `slice.reinterpret` docstring
2024-12-14 16:46:17 +01:00
LaytanandGitHub cecd7ea0b2 Merge pull request #4572 from GonkieDev/win32_rawinput_typo_fix
Typo in windows rawinput constant's name
2024-12-11 23:02:25 +01:00
Laytan Laats c8f0d27cee compiler: remove viral #force(_no)_inline
If a procedure was marked `#force_no_inline`, any procedure calls within
it would also implicitly be. This is not expected for multiple reasons:

1. `#force(_no)_inline` on a call expr works differently than on a procedure literal.
2. Adding the attribute on it and every called proc blows up the amount
   of work for the inliner pass and may increase the time it takes.
3. Putting `#force_no_inline` on a procedure to keep executable size
   down (like we do for some map procedures), benchmark it, or find it in
   asm/ir has the added effect of slowing those procedures down significantly
   and not representing truth.
2024-12-09 19:12:42 +01: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
Laytan Laats 676fe34863 fix #4547 - wasm -out without file extension 2024-12-06 19:38:53 +01:00
Laytan Laats 402f8dd576 raylib/rlgl: fix foreign imports after update to 5.5 2024-12-06 18:54:48 +01: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
LaytanandGitHub cdb86d69b3 Merge pull request #4556 from cornishon/index_multi
improve `strings.index_multi`
2024-12-04 22:01:49 +01:00
LaytanandGitHub 910b46ebf0 Merge pull request #4555 from ycros/fix-regex-num-groups
fix: regex's match_with_preallocated_capture returning num_groups
2024-12-04 12:46:57 +01:00
LaytanandGitHub 03a53ccce2 Merge pull request #4546 from thetarnav/correct-parsing-build-tag-newlines
Correct handling newlines between build tags in `core:odin`
2024-12-01 19:13:59 +01:00
Laytan Laats 1cece52359 dynlib: unload library before loading again & add LIBRARY_FILE_EXTENSION constant 2024-11-28 21:08:08 +01:00
Laytan Laats 8050622fe6 add map_entry procedure 2024-11-28 20:07:54 +01:00
Laytan Laats fa39d87f88 properly keep track of current scope for debugging
Fixes #4519
2024-11-27 20:55:48 +01:00
Laytan Laats ad80aa6d28 sys/info & odin report: rework macos version retrieval 2024-11-26 22:28:21 +01:00
Laytan Laats ef3d51fad2 vendor/raylib: revert removal of arm64 raygui binaries and fix import paths 2024-11-26 18:59:51 +01:00
Laytan Laats 767daf4a9c add macos 15.1.1 to odin report and sys/info 2024-11-26 18:46:27 +01:00
LaytanandGitHub e607cbe930 Merge pull request #4506 from laytan/vet-cast-check-actually-castable
checker: only error with -vet-cast when it is actually castable
2024-11-21 19:30:14 +01:00
Laytan Laats 83bf0c6ab8 checker: only error with -vet-cast when it is actually castable 2024-11-21 19:18:17 +01:00
LaytanandGitHub b3b276c473 Merge pull request #4493 from Dudejoe870/quaternion-dot-fix
Fix typo in the Quaternion dot product implementation
2024-11-17 18:55:15 +01:00
Laytan Laats 20f4f378b2 sys/posix: add MAP_ANONYMOUS 2024-11-17 13:52:08 +01:00
Laytan Laats 8f2766c4dc add missing macos version 2024-11-16 15:42:13 +01:00
Laytan Laats 282d956aa7 os2: skip dir test when unsupported 2024-11-15 21:56:55 +01:00
Laytan Laats ce74325673 sys/posix: fix dirfd on netbsd 2024-11-15 21:22:23 +01:00
Laytan Laats de9d0134e4 os2: fix file type detection in dir_windows 2024-11-15 21:08:14 +01:00
Laytan Laats 71020d7642 os2: add read dir test 2024-11-15 20:47:51 +01:00
Laytan Laats b3c2f5cb12 os2: fix leak in dir_windows 2024-11-15 20:47:34 +01:00
LaytanandGitHub 7cec3044db Merge pull request #4484 from spahnke/add-bindings
Add NSApplication bindings for `mainWindow` and `keyWindow`
2024-11-13 20:18:23 +01:00
LaytanandGitHub bed6828ea3 Merge pull request #4454 from amekusa/fix-build-sh
Fix: `build_odin.sh` always runs demo regardless of argument
2024-11-11 19:02:57 +01:00
Laytan Laats 9c374b4d02 reflect: add enum_value_has_name proc
Easy way to check if the current value has a defined name/member in the
enum type.
2024-11-11 18:56:59 +01:00
LaytanandGitHub e03f998c27 Merge pull request #4462 from A1029384756/master
Added Unlinking Section to Posix Socket Binding Documentation
2024-11-07 21:37:50 +01:00
LaytanandGitHub fd442b8678 Merge pull request #4461 from nickk-dv/master
Fix random sequence bindings in vendor raylib
2024-11-06 22:31:00 +01:00
LaytanandGitHub 7cfaf0b181 Merge pull request #4415 from p2jason/master
Remove the event queue from odin.js and directly invoke callbacks so they are executed in context where prevent default is possible
2024-11-01 19:48:36 +01:00
Laytan Laats 8b5492dd4d fix tabs 2024-11-01 18:10:20 +01:00
Laytan Laats 92bc3a5b4d add time/timezone to docs 2024-11-01 18:01:49 +01:00
Laytan Laats 80393cb708 add CoreFoundation and Security to docs 2024-11-01 16:47:48 +01:00
Laytan Laats 7fd32a74c5 add kqueue to docs 2024-11-01 16:42:06 +01:00
Laytan Laats f798f0b446 testing: separate the posix import into target files
This is needed for the docs generator to generate all the docs for the
posix package, if it is imported like it was on Windows it would
generate docs for the Windows version of the package which has much less
symbols exposed.
2024-11-01 16:27:45 +01:00
LaytanandGitHub d4d546a63a Merge pull request #4438 from laytan/fixing-threads
fix thread_unix for Darwin after pthread corrections in posix package
2024-10-30 16:10:34 +01:00