Commit Graph

3883 Commits

Author SHA1 Message Date
gingerBill
cd74cdfdaf Remove switch in in favour of switch _ in 2023-08-08 14:57:25 +01:00
gingerBill
49ab935ae9 Disallow for in in favour of for _ in 2023-08-08 14:56:12 +01:00
gingerBill
9736402dfd Fix docs typo 2023-08-07 15:34:28 +01:00
gingerBill
488a38a96d Merge pull request #2649 from hchac/allow-newline-field-list-separator
Match C++ parser behavior in allowing newlines before a closing brace.
2023-08-07 11:45:08 +01:00
gingerBill
2a42dab108 Merge pull request #2661 from Beefster09/fixed-f64-conversion
Fix conversions between fixed point numbers and f64
2023-08-07 11:00:42 +01:00
gingerBill
006bd2fe17 Merge pull request #2696 from hwchen/hwchen/fix-parse-call-expr-ellipses
core:odin/parser allow args after varargs in parse_call_expr
2023-08-05 17:07:28 +01:00
gingerBill
d252768ac5 Merge pull request #2652 from ftphikari/master
[vendor:directx/d3d_compiler] Added default include file handler
2023-08-05 16:59:43 +01:00
gingerBill
c91898a888 Remove #relative slices; Replace with #relative multi-pointers 2023-08-05 16:05:39 +01:00
gingerBill
9aed26a234 Remove the use of import within when 2023-08-04 15:54:44 +01:00
Walther Chen
4b9afd787c core:odin/parser allow args after varargs in parse_call_expr 2023-08-03 22:45:21 -04:00
gingerBill
b495a302b0 Merge branch 'master' into tilde 2023-08-03 13:14:09 +01:00
gingerBill
5dba08fb3b Keep -vet happy 2023-07-31 12:19:25 +01:00
gingerBill
44ea82f845 Clean up usage of using throughout core and vendor 2023-07-31 11:46:40 +01:00
gingerBill
0de7df9eab Improve //+vet; remove using in many places; add //+vet !using-stmt where necessary 2023-07-31 11:37:14 +01:00
gingerBill
c39a360372 Update Tilde for the new TB_Passes approach 2023-07-28 14:57:04 +01:00
Jeroen van Rijn
683ee75703 Fix #2684 2023-07-28 15:53:39 +02:00
ftphikari
699aec331d Merge branch 'odin-lang:master' into master 2023-07-25 15:32:18 +03:00
gingerBill
241a939c29 Update Tilde 2023-07-24 10:27:55 +01:00
jason
f9c083073e coalesce tombstones in map insert 2023-07-21 15:44:39 -04:00
hikari
6ac2c5c6dc [core:sys/windows] Added a couple of procedures 2023-07-17 02:40:49 +03:00
Justin Snyder
d4194962b0 Update fixed.odin 2023-07-15 23:43:14 -06:00
ftphikari
7ca0b256eb [core:sys/windows] Added missing MONITORINFOEXW type 2023-07-14 23:02:56 +03:00
Eric Johnson
c6957e4e31 Fix small doc mistakes in arena.odin 2023-07-11 13:41:12 -07:00
hchac
4c0e9f1f89 Match CPP parser behavior in allowing newlines before a closing brace. 2023-07-11 16:15:06 -04:00
Jeroen van Rijn
0c80a4b836 Merge pull request #2640 from z64/z64/mutex
Improve Mutex struct documentation
2023-07-11 14:01:02 +02:00
Zac Nowicki
46f408cc9f Fixup link format 2023-07-11 07:43:36 -04:00
ryuukk
e1fae5b902 Fix attribute 2023-07-11 03:51:28 +02:00
ryuukk
20e5e95ff8 Deprecate htons, htonl, ntohl, ntohs 2023-07-11 03:45:08 +02:00
Jeroen van Rijn
5b96712ed0 Merge pull request #2642 from ryuukk/patch-4
core:sys/windows: Add definitions for network byte order conversion procs
2023-07-10 17:04:09 +02:00
ryuukk
bc43a8d38d Add CopyFileW 2023-07-10 06:02:38 +02:00
ryuukk
ccd5685cee Fix doc links 2023-07-10 05:57:12 +02:00
ryuukk
f0f8177a19 Add definitions for network byte order conversion procs 2023-07-10 05:56:26 +02:00
Zac Nowicki
363b701925 Improve Mutex struct documentation 2023-07-09 08:30:16 -04:00
ramn
5f53d815d1 fix: make -vet not complain 2023-07-09 00:15:01 +02:00
ramn
7b89f25818 Fix #2637
where testing.expect_value can't compare nils
2023-07-08 23:46:51 +02:00
gingerBill
17562e476f Remove math usage of raw LLVM intrinsic prototypes 2023-07-07 23:13:37 +01:00
Laytan Laats
38d71e668d add ADDRESS_FAMILY to darwin (currently only available in linux) 2023-07-03 19:56:56 +02:00
gingerBill
1ecb4aa9aa Begin work on core:math/cmplx
`complex*` types only at the moment, `quaternion*` types coming later
2023-06-28 13:20:23 +01:00
gingerBill
a2b3c72647 Improve accuracy of abs or complex* types 2023-06-28 13:18:36 +01:00
gingerBill
0180a4fcd4 Add math.sincos 2023-06-28 12:57:09 +01:00
gingerBill
866a9fdf19 Actually add math.hypot 2023-06-28 12:19:45 +01:00
gingerBill
20e954a864 Add math.hypot 2023-06-28 12:16:49 +01:00
gingerBill
03e40b333a Merge branch 'master' of https://github.com/odin-lang/Odin 2023-06-28 11:57:43 +01:00
gingerBill
d50a844720 Replace mem with runtime in core:slice 2023-06-28 11:04:51 +01:00
Rickard Andersson
f048ad13b5 fix(set_env): use clone_to_cstring instead of unsafe_to_cstring 2023-06-27 21:48:53 +03:00
Rickard Andersson
d03d5d8f03 style: use tabs
:[
2023-06-27 21:46:00 +03:00
Rickard Andersson
6ff0ce15e7 cleanup: remove leftover line 2023-06-27 21:42:20 +03:00
Rickard Andersson
330b393e16 fix(os): use setenv instead of putenv
`setenv` doesn't copy the value that is put, which means that the
previous code had a bug where we free'd the temporary memory and the
environment was accidentally cleared right after the function finished.
2023-06-27 21:37:10 +03:00
gingerBill
3d9328fd79 Default to panic allocator for wasm targets 2023-06-26 15:55:52 +01:00
gingerBill
6c6f9f7d25 Fix fmt implementation for js 2023-06-26 15:55:35 +01:00