Commit Graph

8418 Commits

Author SHA1 Message Date
gingerBill
2fda3cf988 Remove os dependency in primitives_openbsd.odin 2023-05-25 12:17:39 +01:00
gingerBill
03b7194c97 Remove os dependency for futex_openbsd.odin 2023-05-25 12:05:58 +01:00
gingerBill
39bff40a75 Make many core:unicode/utf8 procedures "contextless" 2023-05-25 11:58:42 +01:00
gingerBill
3dc6edfd2d Merge branch 'master' of https://github.com/odin-lang/Odin 2023-05-25 11:58:09 +01:00
gingerBill
762747273e Add mutex to mem.Tracking_Allocator 2023-05-25 11:58:02 +01:00
gingerBill
0f392a95ae Merge pull request #2549 from NoahR02/update-vulkan
Update Vulkan
2023-05-24 23:17:06 +01:00
gingerBill
29786b0024 Merge pull request #2555 from ryhor-spivak/fix_windowplacement
Remove rcDevice field from WINDOWPLACEMENT
2023-05-24 23:14:42 +01:00
gingerBill
32ca50a097 Fix special printing for certain named types with fmt.printf related procedures 2023-05-24 20:54:30 +01:00
Ryhor Spivak
8012e6fa43 Remove rcDevice field from WINDOWPLACEMENT. Add WaitMessage and SetWindowPlacement.
rcDevice is under #ifdef _MAC in WinUser.h and _MAC is defined only for PowerPC Mac builds.
2023-05-24 15:14:30 +03:00
gingerBill
54b7cefb09 Fix lua.MAXSTACK 2023-05-24 10:21:53 +01:00
gingerBill
3a61350f4b Add debug messages to docs_writer.cpp 2023-05-22 21:48:32 +01:00
gingerBill
bdbbaf6c88 Disable stable_type_cache for the time being 2023-05-22 21:34:20 +01:00
gingerBill
24a1a8a626 Keep -vet happy 2023-05-22 20:48:49 +01:00
gingerBill
38b64dc5df Improve doc_writer.cpp performance 2023-05-22 20:48:13 +01:00
gingerBill
e3360a0e5d Merge branch 'master' of https://github.com/odin-lang/Odin 2023-05-22 20:44:07 +01:00
gingerBill
4181444734 Add vendor:darwin/MetalKit to examples/all 2023-05-22 20:44:01 +01:00
gingerBill
7958708641 Add missing class method to NS.Number 2023-05-22 20:43:41 +01:00
gingerBill
40a8ed535a Add @(require_results) to core:math/ease 2023-05-22 20:43:19 +01:00
Jeroen van Rijn
c7d571f0b5 Merge pull request #2553 from laytan/fix-2550-json-unicode-issue
fix #2550 json encoding should use surrogate pairs per RFC7159
2023-05-22 18:28:59 +02:00
Laytan Laats
5d54b710e7 fix #2550 json encoding should use surrogate pairs per RFC7159 2023-05-22 17:22:33 +02:00
gingerBill
248f14a1ef Correct entity flag generation 2023-05-22 15:29:01 +01:00
gingerBill
b76fc58543 Inline are_types_identical_unique_tuples to improve odin_doc_type performance 2023-05-22 15:23:24 +01:00
gingerBill
9fc9981a9e Update calling convention to the most appropriate
- "odin" if the `context` is needed for `assert`
- "contextless" if multiple return values are needed (better for optimizations)
- "c" otherwise
2023-05-22 15:04:33 +01:00
gingerBill
8f563df7c5 Use proc "c" calling convention in NS Foundation package 2023-05-22 14:59:24 +01:00
gingerBill
730192adc4 Add procedure groups for Device_newBuffer and Texture_newTextureView 2023-05-22 14:51:46 +01:00
gingerBill
8bf32ac697 Minor change to handling of propagation of errors with --- as a value 2023-05-22 12:53:29 +01:00
gingerBill
540f724b1f Fix --- on variable declarations 2023-05-22 12:42:02 +01:00
gingerBill
d5a8f2298e Restrict --- to variable declarations only 2023-05-22 12:37:26 +01:00
gingerBill
18c5a53685 Add @(require_results) and contextless to procedures in core:math/bits 2023-05-22 12:13:44 +01:00
gingerBill
a1172d31f4 Add @(require_results) to core:math/fixed 2023-05-22 12:11:53 +01:00
gingerBill
396debb9cb Add @(require_results) to core:math/linalg's glsl and hlsl packages 2023-05-22 12:11:18 +01:00
gingerBill
c4cb2f2378 Add "contextless" to core:math/linalg procedures 2023-05-22 12:07:37 +01:00
gingerBill
74ce99e0d7 Add @(require_results) core:math/linalg procedures 2023-05-22 12:05:56 +01:00
gingerBill
89a233ccd2 Add @(require_results) to core:math/noise 2023-05-22 12:00:17 +01:00
gingerBill
2df6cabee0 Add @(require_results) to core:math/rand 2023-05-22 11:59:44 +01:00
gingerBill
82023cd629 Add @(require_results) to core:math procedures 2023-05-22 11:58:01 +01:00
gingerBill
1e17f44991 Improve error handling for resize and reserve procedures 2023-05-22 11:47:36 +01:00
gingerBill
600c97cc0f Add missing Allocator_Error and @(require_results) to many procedures 2023-05-22 11:34:38 +01:00
gingerBill
7298054974 Add require_results to make builtin procedures 2023-05-22 11:19:13 +01:00
NoahR02
87788142bf Generate the new vulkan files 2023-05-20 19:15:32 -04:00
NoahR02
f0b08a6c67 Add required metal types 2023-05-20 19:14:19 -04:00
NoahR02
a144a49a9a Parse vulkan video constants in seperate section and
add MAX_SHADER_MODULE_IDENTIFIER_SIZE_EXT to the base constants
2023-05-20 19:07:34 -04:00
NoahR02
2167f1b567 Make sure the 's' is after Flags and not the ext name 2023-05-20 18:58:40 -04:00
NoahR02
c5c723b80c Parse C bit fields in parse_structs 2023-05-20 18:42:49 -04:00
NoahR02
66461c9dbc Parse Vulkan Video headers 2023-05-20 18:28:39 -04:00
NoahR02
d77103e53e Add MicromapUsageEXT** to convert_type
We should probably parse this in parse_structs.
2023-05-20 18:18:50 -04:00
Jeroen van Rijn
963908e508 Merge pull request #2548 from ntn9995/fix_stb_truetype
add missing fields to fontinfo
2023-05-20 15:33:11 +02:00
ikarus
9e5677ab02 add missing fields to fontinfo 2023-05-20 20:07:41 +07:00
gingerBill
46bb9bc5c7 Enforce an icmp when casting to i1 to correct behaviour for booleans which are not 0 or 1 2023-05-20 12:41:30 +01:00
Jeroen van Rijn
118ab60588 Merge pull request #2521 from elusivePorpoise/main
remove misleading defer if example
2023-05-19 22:01:13 +02:00