Vitalii Kravchenko
fdd4ef3c59
Add NSApplication.active to Foundation bindings.
2024-04-02 02:35:00 +01:00
Jeroen van Rijn
f9f6fbfe1f
Merge pull request #3360 from laytan/debug-info-fixes
...
fix wrong type in map debug info
2024-04-01 19:12:24 +02:00
Laytan Laats
4fc96e1ca5
change unneeded permanent allocation to temporary
2024-04-01 19:06:05 +02:00
Laytan Laats
cfc85fd737
fix wrong type in map debug info
2024-04-01 18:42:10 +02:00
Jeroen van Rijn
6b7e9f0a2d
Merge pull request #3359 from Kelimion/tests_digests
...
Add SHA3-512 digests verification to test assets.
2024-04-01 18:24:36 +02:00
Jeroen van Rijn
b3580fa63a
Make it a HMAC.
2024-04-01 18:20:14 +02:00
gingerBill
406aa587e2
Merge pull request #3358 from laytan/debug-info-fixes
...
debug info fixes/refactor
2024-04-01 16:53:56 +01:00
Jeroen van Rijn
b2f432c223
Add SHA3-512 digests verification to test assets.
2024-04-01 17:18:31 +02:00
Laytan Laats
7c2352ea08
remove soa handling in debug info, fields are already added in checker
2024-04-01 16:51:16 +02:00
Laytan Laats
9647cb74ad
debug info fixes/refactor
...
This fixes (on my end) #3340 , #3117 , #2945 , #2922 , and #2762
A general refactor of debug info generation in order to fix issues and
increase stability.
What I believe is the root cause of a bunch of issues is that we use the
temporary metadata/forward declarations too much (/ hold onto them for
too long). It seems to cause problems with the reference counting inside
LLVM.
This PR reduces the use of these forward declarations to a minimum, it
creates it, fills in the fields, and resolves it, instead of waiting
until the end of generating code.
Some smaller issues I came across have also been solved.
2024-04-01 16:28:44 +02:00
gingerBill
bb72ff9c35
Fix nested ERROR_BLOCK bug
2024-04-01 14:28:11 +01:00
gingerBill
397c2aa201
Merge pull request #3318 from flysand7/os2-file-pipe-read
...
[core/os2]: Fix read_entire_file for reads from pipe and console.
2024-04-01 13:38:10 +01:00
gingerBill
b47d73c651
Fix type checking for invalid enum backing type
2024-04-01 13:34:30 +01:00
flysand7
3ee9184537
[core/os2]: Fix memory leak on read_entire_file
2024-04-01 23:32:16 +11:00
gingerBill
2938def707
Remove dead comment
2024-04-01 13:27:51 +01:00
gingerBill
84686c70c5
Error message when RTTI is disabled when iterating over an enum type or a bit_set of enum with for in
2024-04-01 13:16:49 +01:00
gingerBill
3fa02427b3
Unify error message logic for ranges over bit_set
2024-04-01 13:12:09 +01:00
gingerBill
b862691d75
Support for in with bit_set
2024-04-01 13:08:07 +01:00
gingerBill
f482cc8374
Fix error message
2024-04-01 12:33:56 +01:00
gingerBill
030b8d3f66
Merge pull request #3354 from serberoth/issue-3349
...
Patch for #3349 to address API concerns for Darwin platform in core:os
2024-04-01 12:25:17 +01:00
Jeroen van Rijn
0d8dadb084
Merge pull request #3357 from DragosPopse/win32-coinit-fix
...
Fixed windows.COINIT.MULTITHREADED declaration.
2024-03-31 20:41:13 +02:00
Dragos Popescu
d0674cb70f
Fixed windows.COINIT.MULTITHREADED declaration. It's supposed to be 0 rather than 3
2024-03-31 21:29:49 +03:00
nicola
3975b5e736
:Updated core:os for darwin to include flush function and match close to api documentation returning errno
2024-03-30 16:48:52 -04:00
gingerBill
2bdf5f58ef
Enforce error on old style for/switch l-value
2024-03-30 14:23:47 +00:00
gingerBill
8e1a2094a7
Fix debug info for map
2024-03-30 13:46:23 +00:00
gingerBill
9271372fef
Fix #field_align issues, by simplifying the LLVM struct type generation
2024-03-30 13:06:51 +00:00
gingerBill
4edcaa6124
Try storing a pointer to a fake metadata type in the debug info for a map
2024-03-30 10:29:20 +00:00
gingerBill
d84d65ba45
Merge pull request #3348 from rick-masters/fix_convert_smaller_float_endian
...
Implement endian conversions for smaller float types.
2024-03-29 22:13:58 +00:00
gingerBill
28fb1ba83d
Merge pull request #3350 from laytan/fix-gb.h-for-fsanitize-address
...
fix gb.h to be able to use -fsanitize=address
2024-03-29 22:13:32 +00:00
gingerBill
db95ed7cdd
Merge pull request #3353 from laytan/fix-incomplete-types-resize-segfault
...
fix a segfault when incomplete types array resizes while processing
2024-03-29 22:13:01 +00:00
Laytan Laats
e6a552e0ce
fix gb.h to be able to use -fsanitize=address
2024-03-29 22:51:58 +01:00
Laytan Laats
915f63b3f9
fix a segfault when incomplete types array resizes while processing
2024-03-29 22:42:12 +01:00
rick-masters
e1b545860f
Implement endian conversions for smaller float types.
2024-03-29 11:05:27 +00:00
Jeroen van Rijn
8899f42478
Merge pull request #3347 from harold-b/macos-timing-fix
...
Fix incorrect timings on macOS
2024-03-29 10:15:16 +01:00
Harold Brenes
13b8a5b73d
Reverting to calculated frequency timings method on macOS, but fixed
2024-03-29 05:04:40 -04:00
Harold Brenes
b84a660806
Fix incorrect timings on macOS
2024-03-28 21:09:37 -04:00
Jeroen van Rijn
d325c8ad23
Merge pull request #3346 from laytan/add-macos-14.4.1
...
add MacOS 14.4.1 to sys/info and odin report
2024-03-28 19:43:57 +01:00
Laytan Laats
b7fd51a251
add MacOS 14.4.1 to sys/info and odin report
2024-03-28 19:39:18 +01:00
Jeroen van Rijn
7325120ca9
Merge pull request #3345 from laytan/speed-up-path-to-fullpath
...
fix not setting ok in cached code path
2024-03-28 19:27:31 +01:00
Laytan Laats
9a5a39c07d
fix not setting ok in cached code path
2024-03-28 19:16:55 +01:00
Jeroen van Rijn
9b43aa3c94
Merge pull request #3344 from laytan/speed-up-path-to-fullpath
...
compiler: speed up path_to_fullpath on Linux/MacOS
2024-03-28 19:02:39 +01:00
Laytan Laats
63f30a8207
speed up path_to_fullpath on Linux/MacOS
...
We did some profiling for #3343 and this seems to be the biggest
problem. `realpath` is expensive, and we are locking here for no reason
that I can think of.
This improves the "check procedure bodies" timing (of the linked issue)
from 2.4s to .4s on my machine.
2024-03-28 18:44:21 +01:00
gingerBill
308e9112f2
Disable packing on ARM64 and AMD64
2024-03-28 10:58:40 +00:00
gingerBill
58d0635f48
Merge pull request #3342 from FrancisTheCat/master
...
Json: Improved unmarshalling of `using _: T` fields
2024-03-27 18:57:34 +00:00
FrancisTheCat
2ccb326a41
Merge branch 'odin-lang:master' into master
2024-03-27 17:52:29 +01:00
gingerBill
cf9bdc134c
Fix #3341
2024-03-27 16:48:51 +00:00
FrancisTheCat
29e4e85152
Merge branch 'odin-lang:master' into master
2024-03-27 16:43:02 +01:00
Franz Höltermann
a422aba578
Json: improved unmarshalling of using _: T fields.
...
`using _: T` fields will now have their members unmarshalled to their
parent types reflecting the new behaviour of json.marshall.
Example:
```go
A :: struct {
using _: B,
}
B :: struct {
field: string,
}
data := `{"field": "Hello World"}`
a: A
json.unmarshal_string(data, &a)
```
2024-03-27 15:46:44 +01:00
gingerBill
7b387fd3aa
Improve C-like syntax mistakes error messages
2024-03-27 13:10:46 +00:00
gingerBill
12ec9bce7d
Fix parsing bug on bit_set[;x]
2024-03-27 13:05:15 +00:00