Laytan Laats
bd19081543
fix nil exceptions with incomplete code parse
...
This makes the parser more fault tolerant because the different
parse_foo procs return nil when in an invalid state, which is fine most
of the time but when creating a node it would crash accessing its
position.
2023-11-12 01:53:14 +01:00
Jeroen van Rijn
70c1f9d0e1
Merge pull request #2937 from Kelimion/fix_net_split
...
Fix net.split_url
2023-11-09 17:02:48 +01:00
Jeroen van Rijn
761a079789
Fix net.split_url
...
Resolves issue #2924
2023-11-09 16:56:54 +01:00
Jeroen van Rijn
4116d66c59
Merge pull request #2936 from laytan/fix-linux-accept
...
fix linux.accept, addrlen should be a pointer to the length
2023-11-09 14:36:00 +01:00
Laytan
fc6edf65d7
fix linux.accept, addrlen should be a pointer to the length instead of the length itself
2023-11-09 14:17:22 +01:00
Jeroen van Rijn
9834ceed42
Merge pull request #2933 from flga/master
...
sys/linux: munmap was not using the correct syscall
2023-11-08 00:37:32 +01:00
flga
4266a7c166
sys/linux: munmap was not using the correct syscall
2023-11-07 23:19:14 +00:00
Jeroen van Rijn
639cc9faa8
Merge pull request #2932 from laytan/use-verb-for-fmt-bit-set
...
allow integer verbs in fmt_bit_set
2023-11-07 21:22:11 +01:00
Laytan Laats
e2cecafa66
allow integer verbs in fmt_bit_set
2023-11-07 21:09:42 +01:00
gingerBill
4bcb68a973
Merge pull request #2919 from jakubtomsu/d3d12-descriptor-heap-type-fix
...
Tiny fix to `DESCRIPTOR_HEAP_TYPE` from `vendor:directx/d3d12`
2023-11-07 10:47:43 +00:00
gingerBill
7131772754
Merge pull request #2927 from karl-zylinski/raylib-color-fixed-array
...
Raylib: use fixed array instead of struct for rl.Color
2023-11-07 10:47:28 +00:00
gingerBill
c2e5602ee5
Merge pull request #2929 from divanburger/dial_bug_fix
...
Fix use of unitialized socket in socket_linux.odin#_dial_tcp_from_endpoint
2023-11-07 10:47:07 +00:00
Jeroen van Rijn
8714fd77a0
Temporarily disable vendor tests on macOS (botan)
2023-11-06 22:24:02 +01:00
Divan Burger
c20839c461
Fix use of unitialized socket in socket_linux.odin#_dial_tcp_from_endpoint
2023-11-06 23:19:12 +02:00
Karl Zylinski
51229a29f8
Raylib: use fixed array instead of struct for rl.Color. This makes swizzling etc work, but the memory layout is still the same
2023-11-06 15:23:21 +01:00
Jeroen van Rijn
59675949da
Merge pull request #2926 from karl-zylinski/raylib-shared-use-shared-runtime
...
RAYLIB_SHARED: use /NODEFAULTLIB:msvcrt
2023-11-06 15:11:25 +01:00
gingerBill
6564ce0fb0
Merge branch 'master' of https://github.com/odin-lang/Odin
2023-11-06 13:59:12 +00:00
gingerBill
c36ac4bdfd
Bodge: fix matrix_flatten issue in Win64 ABI
2023-11-06 13:59:06 +00:00
Karl Zylinski
764ce2a4b0
RAYLIB_SHARED: use /NODEFAULTLIB:msvcrt instead of /NODEFAULTLIB:libcmt. This fixes linker errors.
2023-11-06 14:58:34 +01:00
Jeroen van Rijn
744eb7c6d8
Delete test artifact.
2023-11-04 22:47:59 +01:00
Jeroen van Rijn
1b79e2ca5f
Merge pull request #2921 from Kelimion/pow2
...
Add math.pow2_f{16,32,64}
2023-11-04 22:46:24 +01:00
Jeroen van Rijn
4cb0edc90b
Work around LLVM idiocy.
2023-11-04 22:42:32 +01:00
Jeroen van Rijn
6201280468
Add math.pow2_f{16,32,64}, fast floating point 2^x where x is an integer.
2023-11-04 22:14:44 +01:00
jakubtomsu
9e36e28217
Update d3d12.odin
2023-11-04 17:40:13 +01:00
gingerBill
5edb2c5688
Fix #2913
2023-11-04 14:53:42 +00:00
gingerBill
ce5e7998ba
Add warning for things like 1.0 / some_int
2023-11-04 11:22:06 +00:00
gingerBill
e206d6ba35
Add allocator parameter to fmt's aprint and aprintln
2023-11-03 13:26:33 +00:00
gingerBill
ef5eb4b612
A docs.odin explaining what are the required entities in core:runtime by the compiler
dev-2023-11
2023-11-01 13:59:39 +00:00
gingerBill
864b29f7f1
Add missing calls
2023-11-01 13:57:20 +00:00
Jeroen van Rijn
4d498b668a
Merge pull request #2910 from laytan/fix-empty-pass-because-trailing-comma
...
Fix empty pass because of trailing comma
2023-11-01 12:11:37 +01:00
Jeroen van Rijn
62d0b0ae72
Merge pull request #2911 from flysand7/sys-unix-net-fix
...
sys/linux: Fix EFAULT on recvfrom
2023-11-01 00:14:23 +01:00
flysand7
2c9ef2e1bc
sys/linux: Fix EFAULT on recvfrom
2023-11-01 10:06:30 +11:00
Laytan
9b68671082
Fix empty pass because of trailing comma
2023-10-31 19:29:54 +01:00
gingerBill
03ab6add5c
Merge pull request #2897 from jcmdln/editorconfig
...
editorconfig: Use 2-column spaces in YAML
2023-10-31 12:45:22 +00:00
gingerBill
052633b73c
Merge pull request #2876 from flysand7/new-sys-unix
...
sys/unix implementation
2023-10-31 12:43:28 +00:00
gingerBill
bf9a8032a1
Merge pull request #2906 from karl-zylinski/slice-clone-loc
...
Added loc := #caller_location to slice.clone and slice.clone_to_dynamic
2023-10-31 12:26:03 +00:00
gingerBill
eb261f5b28
Merge branch 'master' into new-sys-unix
2023-10-31 12:16:25 +00:00
Jeroen van Rijn
f5febb633c
Temporarily disable RTTI test on Windows.
2023-10-31 13:12:17 +01:00
Karl Zylinski
d2ac3c2228
Make slice.clone and slice.clone_to_dynamic take a loc parameter
2023-10-30 21:19:21 +01:00
gingerBill
51caa930ca
Merge pull request #2905 from odin-lang/llvm-17-custom-passes
...
Explicit Optimization Passes for LLVM-17 Passes
2023-10-30 15:00:55 +00:00
gingerBill
b7af4e7f6b
Explicitly write out the passes for each level and remove certain passes
2023-10-30 12:31:24 +00:00
Jeroen van Rijn
82cd30a145
Add test for RTTI
2023-10-30 13:06:45 +01:00
Jeroen van Rijn
8caae16113
Merge pull request #2902 from flysand7/vendor-darwin
...
Only build vendor:darwin on darwin
2023-10-30 10:12:36 +01:00
Jeroen van Rijn
dc789c43b6
Merge pull request #2904 from AquaGeneral/master
...
Fixed typo "fot" and clarified slashpath.ext
2023-10-30 10:12:19 +01:00
Jeroen van Rijn
2e73fb25af
Merge pull request #2903 from flysand7/i386-syscall-asm-fix
...
Fix-up inline asm for i386 syscalls emit
2023-10-30 10:07:56 +01:00
flysand7
1577d60d02
move darwin-specific packages in all_vendor_darwin.odin
2023-10-30 20:05:58 +11:00
Jesse Stiller
3bd1918c5e
Fixed typo "fot" and clarified slashpath.ext
2023-10-30 11:57:44 +10:00
flysand7
263b3141b5
Merge branch 'master' into vendor-darwin
2023-10-30 10:32:47 +11:00
flysand7
82263a8b38
Merge branch 'master' into i386-syscall-asm-fix
2023-10-30 10:32:11 +11:00
gingerBill
61ad2a1345
TEST: Add sroa passes back
2023-10-29 20:45:19 +00:00