Antonino Simone Di Stefano
ec1fefb3f5
Import "base:runtime" to resolve reference to type info correctly
2025-01-03 22:47:18 +01:00
Antonino Simone Di Stefano
630b1c5cdf
Remove typeid
...
seems to be a typo
2025-01-03 22:47:18 +01:00
Antonino Simone Di Stefano
d9165727f5
Make expect parameter polymorphic
2025-01-03 22:47:18 +01:00
Antonino Simone Di Stefano
6edb061061
Import "base:runtime" to make type references valid
2025-01-03 22:47:18 +01:00
gingerBill
fdd3b46c10
Merge pull request #4647 from karl-zylinski/raylib-wasm
...
Make it easier to do Raylib WASM builds
2025-01-01 21:32:08 +00:00
Karl Zylinski
dc1b75b6c3
Added WASM libs for raylib and raygui. Added them to the foreign import blocks, with optional ways to override them. These overrides can be used to use alterantive libs when using for example emscripten.
2025-01-01 22:26:11 +01:00
Laytan
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
Laytan
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
Karl Zylinski
f80c33727c
Fix for casing error in box2d/wasm.Makefile
2025-01-01 21:15:44 +01:00
Karl Zylinski
51e90e5e96
Fix for vendor:libc using wrong types for log and sin procs.
2025-01-01 21:07:44 +01:00
gingerBill
a2a0a2c8d8
Merge pull request #4611 from tf2spi/4491-max-field-align-pack
...
Add packing + aligned access w/ field_align
2025-01-01 18:03:44 +00:00
gingerBill
4882eefaf8
Merge pull request #4616 from flga/master
...
make -export-dependencies emit valid json
2025-01-01 17:46:25 +00: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
bfbcc02aff
Merge pull request #4608 from zen3ger/assignment-of-non-specialized-parapoly
...
Fix crash on assignment of parapoly proc to variable
2025-01-01 17:40:40 +00:00
gingerBill
8d400f43fd
Merge pull request #4607 from zen3ger/parapoly-proc-fixes
...
Fix crash when proc return type is undeclared parapoly variable
2025-01-01 17:40:04 +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
7b334d2bd9
Add #branch_location
2025-01-01 17:26:15 +00:00
gingerBill
1cf7a56ba7
General clean up of code
2025-01-01 15:13:46 +00:00
gingerBill
6383fddb59
Disable the os-specific code in libc so that non-OS specific platforms still work with it
2025-01-01 15:13:36 +00:00
gingerBill
049359cae4
Clean up box2d foreign import
2025-01-01 15:13:07 +00:00
gingerBill
c8ad2a4245
Support multiple paths for wasm in foreign import
2025-01-01 15:12:54 +00: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
Jeroen van Rijn
ad99d20d29
Remove outdated PNG save helpers
2024-12-23 16:33:23 +01:00
fleandro
6ff81b6e4c
make -export-dependencies:json emit valid json
2024-12-23 01:03:51 +00:00
Joao Fukuda
28e226381d
Remove extra white space
...
Got in on 0a2200f without me noticing, mb.
2024-12-22 16:09:51 -03:00
Joao Fukuda
0a2200fa12
Fix issue #4612
2024-12-22 15:53:54 -03:00
misomosi
fdf510b7b3
Pack struct when needed, use field_align metadata
2024-12-22 10:05:13 -05:00
blob1807
f07a6f463c
Fix io.write_escaped_rune not writing full value
2024-12-22 23:10:42 +10:00
Roland Kovacs
9f77f7c417
Fix crash on assignment of parapoly proc to variable
2024-12-22 12:38:37 +01:00
Roland Kovacs
f2f952b344
Fix crash when proc return type is undeclared parapoly variable
...
Disallow the declaration of new parapoly variables in return types, when
the procedure's parapoly scope is itself. This happens if e.g.:
`foo :: proc() -> $T`.
Closes #3949 , #4294 , #4563
2024-12-22 02:31:25 +01:00
chris-montero
c06f79bb36
fixed memory leak in core/prof/spall/doc.odin example code
2024-12-21 15:53:55 +02:00
jason
b73275cf42
Get arm64 up to speed in os2 linux
...
Readded open flags for arm64 to sys/linux/bits.odin. Make process_start
name based instead of descriptor based to allow running of scripts. Fix
bug in heap_linux. Fix and simplify os2.remove.
2024-12-19 17:12:07 -05:00
gingerBill
597fba7c31
Merge pull request #4597 from lodinukal/master
...
`vendor:directx`: fix pointers to multipointers and uuids
2024-12-19 13:36:36 +00:00
imlodinu
cce2cb79c9
Change single pointers to multipointers, fix UUIDs in d3d11 and d3d12
2024-12-19 12:23:00 +08:00
gingerBill
61368d942e
Merge pull request #4589 from Pariatech/add-trunc-to-linalg-glsl
...
Add trunc to glsl linalg
2024-12-18 21:20:17 +00:00
Jeroen van Rijn
d3f072835d
Merge pull request #4592 from cstrachan88/master
...
Fixes odin-lang/Odin#4591
2024-12-17 21:23:49 +01:00
Courtney Strachan
69bbd8082a
Fixed typo in wgpu.js
2024-12-17 12:13:48 -08:00
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
gingerBill
0a29d36aa3
Fix bug with comparisons with big endian types
2024-12-12 15:44:49 +00:00
Laytan
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
GonkieDev
6bcfafc3a8
typo fixed (MOUSE_ATTRIUBTTES_CHANGED -> MOUSE_ATTRIBUTES_CHANGED)
2024-12-11 21:02:43 +00:00
gingerBill
db1b67daba
Merge pull request #4558 from thebigtoona/vendor/raylib-add-rcamera-module-bindings
...
add bindings for rCamera module in vendor/raylib/raylib.odin
2024-12-11 12:32:55 +00:00
gingerBill
954adef2d4
Merge pull request #4570 from laytan/remove-viral-inlining
...
compiler: remove viral `#force(_no)_inline`
2024-12-11 12:32:47 +00: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
gingerBill
67720e3a9d
Merge pull request #4567 from 2nafish117/dxgi-multipointer-usage
...
change pointer arg to multipointer in GetDisplayModeList and GetDisplayModeList1
2024-12-09 17:10:06 +00:00