Commit Graph
100 Commits
Author SHA1 Message Date
LaytanandGitHub 2dedb199b8 Merge pull request #5052 from harold-b/hb/fix-ns-dictionary-selectors
Fix 2 selectors in NSDictionary
2025-04-17 21:28:10 +02:00
LaytanandGitHub 09c8477bd3 Merge pull request #5041 from mtarik34b/remove-redundant-code-in-string-justify
Remove redundant `builder_init()` calls from `strings.left_justify()` and `strings.right_justify()`
2025-04-17 00:01:59 +02:00
Laytan 8efeaef40b fix not resolving to alias in a recursive declaration 2025-04-16 22:55:25 +02:00
Laytan 990cc56974 sdl3: fix not allowing nil for SetWindowMouseRect 2025-04-15 20:13:51 +02:00
Laytan 11da543f26 net: add ECONNRESET to the error handling of recv 2025-04-14 21:17:22 +02:00
LaytanandGitHub ddcd7a368b Merge pull request #5033 from jasonKercher/fix-dirent-name
Fix linux.dirent_name
2025-04-13 18:14:02 +02:00
Laytan Laats 74a66f7794 os2: fix get_executable_path() on FreeBSD including the nil-terminator 2025-04-12 21:33:44 +02:00
LaytanandGitHub 23a2821353 Merge pull request #5028 from Feoramund/fix-macos-version-reporting
Fix Darwin version reporting for older macOS
2025-04-10 22:37:45 +02:00
Laytan Laats ff7d55a8e1 net: rework errors to be cross-platform 2025-04-05 17:35:19 +02:00
LaytanandGitHub c77131dd7a Merge pull request #4992 from laytan/llvm20-releases
ci: update to LLVM 20 on MacOS and Linux CI and releases
2025-04-02 21:51:37 +02:00
Laytan 4eef57c6f1 ci: ok, had to brew update, can we now request @20 directly? 2025-04-02 21:24:12 +02:00
Laytan 85b3a79a25 ci: brew update? 2025-04-02 21:22:18 +02:00
Laytan cab3239760 ci: fix macos llvm 20 2025-04-02 21:17:45 +02:00
Laytan b0316b7076 ci: update to LLVM 20 on MacOS and Linux CI and releases 2025-04-02 21:13:10 +02:00
LaytanandGitHub cc61fdd90e Merge pull request #4989 from SlateyDev/patch-1
Fix depth stencil not working on wgpu wasm_js build
2025-04-01 16:40:21 +02:00
Laytan Laats 327d9f134d net: drop core:os dependency for Darwin 2025-03-29 23:27:03 +01:00
LaytanandGitHub 2e64f5f639 Merge pull request #4960 from jimhub/wgpu-js-fixes
Bug fixes for wgpu.js
2025-03-23 17:01:49 +01:00
LaytanandGitHub 7ffbb68fff Merge pull request #4955 from wisonye/master
Fixed #4892: 'EPoll_Event.events' should be bit set.
2025-03-22 12:59:32 +01:00
Laytan Laats e4bc9677af fix unmarshalling bit sets in json
Fixes #4761
2025-03-22 00:20:00 +01:00
Laytan Laats cf0f73e0cf fix typo for freebsd arm64 MINSIGSTKSZ
Fixes #4878
2025-03-21 23:52:52 +01:00
Laytan Laats 73fd564634 fix tabs 2025-03-21 23:02:00 +01:00
Laytan Laats f85db012b8 fix off by one temp cstring and put objc names on permanent allocator to be safe
Fixes #4922
2025-03-21 22:56:19 +01:00
Laytan Laats 057144dea3 fix linux release trying to use non-existant llvm 20 package 2025-03-21 21:47:40 +01:00
Laytan Laats badd2c90f9 drop llvm 19 feature/microarch table
There was a bug in LLVM 19 introduced in https://github.com/llvm/llvm-project/pull/96249 and fixed in https://github.com/llvm/llvm-project/pull/118581.

Lets just use the LLVM 18 table for LLVM 19.
2025-03-20 16:51:27 +01:00
Laytan Laats f80e73e036 few llvm 20 changes 2025-03-19 21:22:55 +01:00
Laytan Laats 140c902eff vendor/libc: a bunch of additions
All these additions are to allow Dear ImGui to be compiled natively.
2025-03-12 19:25:35 +01:00
Laytan Laats 6691acfa03 core/sys/wasm/js: add open binding to window.open 2025-03-12 18:43:03 +01:00
Laytan Laats b76fd84084 webgl: add BlendEquationSeparate and GetParameter4i
`GetParameter4i` can be used to retrieve the current scissor rect, or
the curent viewport, which was previously impossible.

Also adds `BlendEquationSeparate` which seemed to be missing.

Also removes an instance of `do`.
2025-03-12 18:39:57 +01:00
Laytan Laats 00ac48c06c core/sys/wasm/js: add pointer event info and add charCode to keyboard events 2025-03-12 18:37:42 +01:00
Laytan Laats d349c96071 core/sys/wasm/js: improve gamepad API
1. Properly set `id` and `mapping` on the `get_gamepad_state` result
2. Increase `id` limit to 96 bytes, connecting my DualShock 4 made it crash
3. If an `id` or `mapping` is longer than the limits, slice it and add `...`
2025-03-12 18:32:51 +01:00
LaytanandGitHub 7d26edb83c Merge pull request #4910 from Feoramund/fix-strings-clone-2x-slice
Remove unneeded slicing in `strings.clone`
2025-03-05 20:15:30 +01:00
Laytan Laats 71eb26ef15 wgpu: fix link in doc.odin 2025-03-03 22:18:44 +01:00
Laytan Laats 52dd651aed wgpu: device lost callback device by pointer in JS 2025-03-03 22:15:35 +01:00
LaytanandGitHub 19d176c2c7 Merge pull request #4899 from Valakor/wgpu
wgpu: Some small fixes after update to v24.0.0.2
2025-03-03 21:58:27 +01:00
LaytanandGitHub 2dbf8d0f37 Merge pull request #4904 from laytan/move-wgpu-examples-to-examples-repo
wgpu: move examples to examples repo
2025-03-03 21:30:23 +01:00
Laytan Laats 7fc55eb92a wgpu: move examples to examples repo 2025-03-03 21:22:59 +01:00
Laytan Laats 189b4782fb dynlib: fix initialize_symbols when there is no field for the handle in the struct 2025-03-03 20:33:33 +01:00
Laytan Laats 05add96fc8 sys/windows: fix tabs 2025-03-03 19:30:22 +01:00
Laytan Laats 66540b75f5 fix hidden linkage applied to foreign symbols 2025-03-01 16:06:32 +01:00
LaytanandGitHub bb20b03f2e Merge pull request #4887 from Skytrias/skytrias-orca-ui-update
Update to newest orca bindings (UI Update)
2025-03-01 13:58:55 +01:00
Laytan Laats 76bf7875f5 wgpu: update to v24.0.0.2 2025-02-28 18:38:51 +01:00
Laytan Laats 94152ca701 misc/featuregen: fix script 2025-02-27 22:45:34 +01:00
Laytan Laats a9d4cb96b0 wgpu: stringView -> StringView typo 2025-02-27 22:29:51 +01:00
Laytan Laats 1223b3e260 wgpu: fix mode which is u64 not unwrapping big int 2025-02-27 22:29:32 +01:00
Laytan Laats b6f34332fe wgpu: copy over gpu contents to cpu side when mapping 2025-02-27 22:28:49 +01:00
Laytan Laats 19b70f5ef7 wgpu: layout left blank should set it to "auto" in JS 2025-02-27 22:28:15 +01:00
Laytan Laats 1942a538d8 wgpu: fix wrapper and add more wrappers 2025-02-27 18:39:29 +01:00
Laytan Laats 1cb28f7f73 wgpu: remove mode field of uncaptured error callback info 2025-02-27 18:31:32 +01:00
Laytan Laats 30f65372de wgpu: add missing libs on Windows 2025-02-27 18:27:31 +01:00
Laytan Laats 22ab8935c4 slice: use card in bitset_to_enum_slice_with_make
Fixes #4870
2025-02-24 21:10:12 +01:00
Laytan Laats 77c7087de3 wgpu: update release 2025-02-24 20:52:14 +01:00
Laytan Laats 0e4140a602 os/os2: recursive directory walker, expose errors in read_directory, file clone
Adds a directory walker, a method of exposing and retrieving errors from
the existing read directory iterator, allows reusing of the existing
read directory iterator, and adds a file clone procedure
2025-02-24 20:40:44 +01:00
Laytan Laats cae3f13d9f mem/virtual: specify max protection on mmap call in NetBSD and FreeBSD 2025-02-18 18:33:19 +01:00
Laytan Laats ae9388c013 wgpu: update to v24.0.0 2025-02-17 19:55:44 +01:00
LaytanandGitHub f0b1357132 Merge pull request #4848 from dozn/master
[core:flags] Add Missing `allocator` and `loc` Params on Call to `parse()`
2025-02-15 18:02:19 +01:00
Laytan Laats 435f77b16b fix space indentations 2025-02-12 19:33:41 +01:00
Laytan Laats 55302280d8 fix addrinfo struct def
Fixes #4816
2025-02-12 19:24:27 +01:00
Laytan Laats ae0f69fbe2 cleanup test arenas 2025-02-12 19:13:16 +01:00
Laytan Laats 7df5be2131 fix wrong out of memory in edge cases, just try allocate from block for one source of truth 2025-02-12 19:09:21 +01:00
Laytan Laats 5defddffd0 reorganize tests and handle endian 2025-02-06 21:44:34 +01:00
Laytan Laats 9241d7c698 add tests for abs() on floats 2025-02-06 21:20:15 +01:00
Laytan Laats de83ad2a25 apply abs fix to constant system too 2025-02-06 21:19:54 +01:00
Laytan Laats 1053ec3051 make corrected linkage with -use-separate-modules apply hidden visibility
Fixes #4798

The DLL was using the type info of the host/exe, causing crashes.
This PR tries fixing by applying hidden visibility to these corrected
symbols which makes sure that the DLL can't see the type table of the host/exe.
2025-02-06 20:45:58 +01:00
Laytan Laats 80d09774b4 fix not using RTLD_LOCAL on darwin 2025-02-06 19:15:12 +01:00
Laytan Laats b1068c7f2e improve abs() on floats for more correct and faster results 2025-02-05 21:17:48 +01:00
Laytan Laats b86d2c30b6 fix odin report macos version reporting unknown when release isn't a 3 point 2025-02-05 20:16:24 +01:00
Laytan Laats b77430bea8 -obfuscate-source-code-locations on bounds checks and type assertions 2025-02-05 19:42:20 +01:00
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