Commit Graph

  • e0face1ac8 Make types like bit_set[$T] have their upper and lower bits overwritten by upper/lower from the source types when checking if polymorphic type is assignable. This fixes an issue where an i8 was always generated for bit_sets with generic elements, because it couldn't figure out upper/lower when check_bit_set_type was run. Fixes #2860 Karl Zylinski 2024-06-30 20:36:51 +02:00
  • 8b915aae5e Update code for new -vet Feoramund 2024-06-30 11:13:35 -04:00
  • f0cf1052d0 Fix FreeBSD recvfrom Feoramund 2024-06-30 10:17:32 -04:00
  • 4fbd22b668 Merge pull request #3840 from H0mTanks/master Jeroen van Rijn 2024-06-30 11:29:31 +02:00
  • 2b615b09f0 fixed whitespace h0mtanks 2024-06-30 13:47:11 +05:30
  • d1603ebac4 added missing would_block enum member h0mtanks 2024-06-30 13:42:55 +05:30
  • 561b96b20d [sys/windows]: Fix the value for TH32CS_SNAPPROCESS constant flysand7 2024-06-30 13:34:08 +11:00
  • afe24a0d4d Merge pull request #3838 from flysand7/windows-tlhelp gingerBill 2024-06-30 02:52:35 +01:00
  • 2737ccab3d [core/windows]: Bind tlhelp.h functions from kernel32.dll flysand7 2024-06-30 12:35:42 +11:00
  • 8ed5cb283b Re-implement the error squiggles with visual width Feoramund 2024-06-29 18:17:44 -04:00
  • 8b305a4c67 Add UCG library to Odin compiler Feoramund 2024-06-29 18:03:32 -04:00
  • 80592f0f51 Add -disallow-do in CI gingerBill 2024-06-29 22:50:23 +01:00
  • af3401631a Remove the -disallow-do aspect from -strict-style gingerBill 2024-06-29 22:48:43 +01:00
  • 5637ed9ecd Merge pull request #3836 from laytan/run-wasi-demo-in-ci gingerBill 2024-06-29 22:30:31 +01:00
  • 604551eb2d wasi: make the demo run on wasi and run it in CI Laytan Laats 2024-06-29 23:09:49 +02:00
  • 476d0087c8 Fix bug in div3 fast path. Jeroen van Rijn 2024-06-29 23:14:12 +02:00
  • 34fce83d66 Improve -strict-style rules for if-else statements gingerBill 2024-06-29 20:04:34 +01:00
  • b1a1da6618 Add -vet-tabs gingerBill 2024-06-29 19:54:31 +01:00
  • e296d6fb90 Fix loads of indentation issues with mixing spaces and tabs gingerBill 2024-06-29 19:50:51 +01:00
  • 90244a0849 Fix accidental deletion in the -strict-style help comment gingerBill 2024-06-29 19:41:45 +01:00
  • f4abdf716e Move microarch stuff to a separate file gingerBill 2024-06-29 19:29:20 +01:00
  • f64d1df90b Add note regarding -strict-style gingerBill 2024-06-29 19:27:26 +01:00
  • 888bf28076 -strict-style implies -disallow-do gingerBill 2024-06-29 19:26:11 +01:00
  • 103eccf104 More style improvements gingerBill 2024-06-29 19:23:58 +01:00
  • 663661db53 Update core to -strict-style gingerBill 2024-06-29 19:16:32 +01:00
  • 835e8bf87a Update -strict-style gingerBill 2024-06-29 19:15:33 +01:00
  • 2187f3e7ff -strict-style enforce 1TBS (mostly) gingerBill 2024-06-29 19:14:24 +01:00
  • 5413a8b744 Even more style fixes gingerBill 2024-06-29 19:11:36 +01:00
  • 3f9a58808c More style improvements gingerBill 2024-06-29 19:07:34 +01:00
  • e8517e2694 -strict-style: enforce case to be in the same column as switch gingerBill 2024-06-29 18:56:45 +01:00
  • 96330996a6 Fix indentation gingerBill 2024-06-29 18:51:39 +01:00
  • b0cbda4ee0 Fix indentation of tests gingerBill 2024-06-29 18:51:28 +01:00
  • 930c929294 Indentation fixes gingerBill 2024-06-29 18:49:57 +01:00
  • 7f05b4caf2 Fix generation for unicode entities gingerBill 2024-06-29 18:43:09 +01:00
  • 6db748b4a4 Remove debug message gingerBill 2024-06-29 16:18:43 +01:00
  • a935ade0d2 Keep -sanitize:address happy with bit_field loads gingerBill 2024-06-29 16:18:07 +01:00
  • ff2d042313 Remove unneeded transmute gingerBill 2024-06-29 13:54:15 +01:00
  • 913c08a33e Add bit_field to demo.odin gingerBill 2024-06-29 12:56:46 +01:00
  • c88a1bef91 Add another -vet-cast check gingerBill 2024-06-29 12:40:04 +01:00
  • 706adb1232 Update for transmute -vet-cast gingerBill 2024-06-29 12:16:43 +01:00
  • b9861a0cf6 cast to transmute gingerBill 2024-06-29 12:14:21 +01:00
  • e46d772b6d Add check for integer casts gingerBill 2024-06-29 12:13:41 +01:00
  • c18c0a3364 Adhere to -vet-cast gingerBill 2024-06-29 12:07:21 +01:00
  • d6b8544f50 Add internal flag for testing stuff gingerBill 2024-06-29 12:04:31 +01:00
  • 4b71c47fd5 Check for unneeded transmute with -vet-cast gingerBill 2024-06-29 12:02:31 +01:00
  • 704530497b Rename -vet-identical-cast to -vet-cast; with minor code clean up gingerBill 2024-06-29 11:44:45 +01:00
  • 4be0fc05bb Merge pull request #3832 from Feoramund/vet-identical-cast gingerBill 2024-06-29 11:37:35 +01:00
  • 52aa7085e4 Use f32 as the immediate type for addition and subtraction for complex32/quaternion64 gingerBill 2024-06-29 11:09:54 +01:00
  • 9113f389d8 Merge pull request #3831 from Feoramund/fix-darwin-test-runner-cancel gingerBill 2024-06-29 11:01:01 +01:00
  • 55e9b8d994 Use explicit calling conventions gingerBill 2024-06-29 10:48:41 +01:00
  • ee2a0c4010 Merge branch 'master' of https://github.com/odin-lang/Odin gingerBill 2024-06-29 10:47:15 +01:00
  • f974002839 Use f32 operations rather than f16 in complex32 and quaternion64 to improve accuracy and performance gingerBill 2024-06-29 10:47:09 +01:00
  • 83b575aec2 Merge pull request #3833 from karl-zylinski/consistent-default-dynamic-array-capacity gingerBill 2024-06-29 10:38:22 +01:00
  • 906afa4154 Allow for when x in y { (minor oversight in syntax) gingerBill 2024-06-29 10:13:15 +01:00
  • 679f9b4e41 Made default capacity of dynamic arrays more consistent. Karl Zylinski 2024-06-29 08:23:39 +02:00
  • b3caae6db4 Keep -vet happy Feoramund 2024-06-28 22:49:48 -04:00
  • 6496432b80 Add -vet-identical-cast Feoramund 2024-06-28 22:49:24 -04:00
  • 0ea0fac2f9 Call pthread_cancel on Darwin, with advisory comment Feoramund 2024-06-28 19:15:40 -04:00
  • 13539d3be1 Catch SIGTRAP in the test runner Feoramund 2024-06-28 19:05:20 -04:00
  • 929cc48703 Merge Darwin signals into other UNIX-likes Feoramund 2024-06-28 19:03:43 -04:00
  • 06652bebce Merge pull request #3829 from Feoramund/fix-vetted-test-name Jeroen van Rijn 2024-06-28 23:06:25 +02:00
  • 574342af6f Let -vet be used with -define:ODIN_TEST_NAMES Feoramund 2024-06-28 15:58:22 -04:00
  • fa5be93da2 re-raise signals from the odin run binary Laytan Laats 2024-06-28 19:33:34 +02:00
  • 007832488d Merge pull request #3827 from Feoramund/require-runtime-linalg-import Jeroen van Rijn 2024-06-28 17:44:10 +02:00
  • 2af121752a Require base:runtime import in core:math/linalg Feoramund 2024-06-28 11:34:35 -04:00
  • 0c8924ea85 Merge pull request #3822 from jasonKercher/os2-rebase gingerBill 2024-06-28 15:43:18 +01:00
  • 6a894195cb revert os2/process jason 2024-06-28 09:45:22 -04:00
  • dc954307d7 fix assumption about std handles in os2/file.odin jason 2024-06-28 07:55:33 -04:00
  • a15cbc474d change error strings to an enumerated array in rodata; print_error takes a file argument jason 2024-06-28 07:45:24 -04:00
  • 37afd469c6 Merge pull request #3339 from axxeny/patch-1 gingerBill 2024-06-28 12:00:34 +01:00
  • 853173a11b Merge pull request #3517 from timosperisen/patch-1 gingerBill 2024-06-28 12:00:23 +01:00
  • a1ae6f161b Merge pull request #3502 from ARtemachka/master gingerBill 2024-06-28 12:00:10 +01:00
  • 883f6c129a Merge pull request #3643 from korvahkh/fix-omitempty-comma gingerBill 2024-06-28 11:50:31 +01:00
  • 861d51b760 Merge pull request #3825 from Valakor/wgpu gingerBill 2024-06-28 11:49:35 +01:00
  • 17efb87eef Add -custom-attribute gingerBill 2024-06-28 11:44:05 +01:00
  • 1747fdc3f0 Fix signature gingerBill 2024-06-28 11:07:54 +01:00
  • bef3ca98f0 Fix signature gingerBill 2024-06-28 11:01:57 +01:00
  • e15c5c4692 Fix missing import gingerBill 2024-06-28 10:32:16 +01:00
  • 9a4ffa79db Add missing libraries to examples/all gingerBill 2024-06-28 10:17:00 +01:00
  • ec38215842 Fix #3803 gingerBill 2024-06-28 10:09:46 +01:00
  • 67e9a6fd9b Improve error reporting on "Failed to parse fail" and show the line error if possible gingerBill 2024-06-28 10:04:08 +01:00
  • 4824050c99 Merge pull request #3792 from Feoramund/core-uuid gingerBill 2024-06-28 09:49:23 +01:00
  • 35651cfc17 Improve tokenization for false integer literals but not effect possible float literals gingerBill 2024-06-28 09:24:34 +01:00
  • dde7cb6e7f Improve error message for #3754 gingerBill 2024-06-28 09:21:33 +01:00
  • 862a04376f Improve tokenizing wrong number literals gingerBill 2024-06-28 09:16:01 +01:00
  • 5a9698e8cb Properly fix #3820 gingerBill 2024-06-28 09:08:57 +01:00
  • 0c8a81d298 Fix #3819 gingerBill 2024-06-28 08:57:31 +01:00
  • 06ff08b9cf Fix #3820 gingerBill 2024-06-28 08:53:05 +01:00
  • 52ea63f89c Fix #3471 gingerBill 2024-06-28 08:43:25 +01:00
  • f883cd5053 Initialize default context in heap_allocator_other.odin gingerBill 2024-06-28 08:33:12 +01:00
  • 4bf9de7237 SupportedLimitsExtras.chain should be a ChainedStructOut to properly chain from SupportedLimits Matthew Pohlmann 2024-06-27 21:53:16 -07:00
  • 0a504c2647 Some fixes to wgpu_native. 1. LogCallback should have the "c" calling convention and takes a userdata pointer like other callbacks. 2. DevicePoll's wrappedSubmissionIndex argument is an optional in/out parameter. The previous wrapper method was broken since it passed a non-nil structure to the underlying API with invalid members. Matthew Pohlmann 2024-06-27 21:41:48 -07:00
  • d31f88bfaa Merge pull request #3823 from laytan/enforce-global-foreign-import-variables Jeroen van Rijn 2024-06-28 02:11:50 +02:00
  • b79d7e6917 disallow non-global foreign import of variables on wasm Laytan Laats 2024-06-28 01:16:26 +02:00
  • ed7d34beb0 Avoid sporadic wasm crash Jeroen van Rijn 2024-06-28 00:39:51 +02:00
  • aba274cf75 Merge pull request #3821 from Kelimion/clang_override Jeroen van Rijn 2024-06-27 23:36:39 +02:00
  • 140ee036ce wasm error is no longer relevant Jeroen van Rijn 2024-06-27 23:29:36 +02:00
  • 58cd75350b Allow ODIN_CLANG_PATH=clang-path overrides Jeroen van Rijn 2024-06-27 23:21:58 +02:00
  • f24f72c280 convert all to use sys/linux over sys/unix; new implementations for pipe, process and env jason 2024-06-27 17:14:48 -04:00
  • f22754fc90 sys/linux: fix some syscalls and types; add more to Sig_Action and Sig_Info; Pid int->i32 jason 2024-06-27 16:29:47 -04:00