Travis Staloch
8bbc906b59
Package: support gitlab tarball urls
...
Allows the package manager to download gitlab tarballs from urls such as
https://gitlab.com/ <namespace>/<project>/-/archive/<sha>/<project>-<sha>.tar.gz
Such http requests have headers Content-Type=application/octet-stream
and Content-Disposition='attachment; filename="<project>-<sha>.tar.gz"'.
The package manager doesn't yet support these headers. This patch
doesn't attempt to properly parse the content-disposition header.
Instead it checks that it starts with 'attachment;' and ends with
'.tar.gz"'.
2023-05-15 22:44:32 -07:00
Andrew Kelley
4ba61a2191
Merge pull request #15704 from Vexu/fix-memcpyset
...
`@mem{cpy,set}` fixes
2023-05-15 22:39:45 -07:00
Ali Chraghi
6fca3f8b72
spirv: lower ptrtoint & ignore dbg_inline instructions
2023-05-15 22:04:42 +03:30
Ali Chraghi
f8de4db873
spirv: implement arithmeticTypeInfo for Enum (@intToEnum)
2023-05-15 14:22:40 +03:30
Veikka Tuominen
0bc5e7b523
Sema: use elemPtrOneLayerOnly in zirMemCpy
...
Closes #15633
2023-05-15 10:31:24 +03:00
Veikka Tuominen
2703db3b40
Sema: add more type checks to @mem{cpy,set}
...
Closes #15634
Co-authored-by: Dima Afanasyev <dimaafanasev@example.com>
2023-05-15 10:31:24 +03:00
Veikka Tuominen
ab5a72f6ca
Sema: ensure dest ptr of memcpy has length
...
Closes #15513
2023-05-15 10:31:24 +03:00
Jacob Young
cea9ac772a
x86_64: implement integer vector min/max
2023-05-15 03:07:51 -04:00
Jacob Young
40457a3696
x86_64: implement integer vector bitwise operations
2023-05-15 03:07:51 -04:00
Jacob Young
f39ff6cc68
x86_64: implement integer vector mul
2023-05-15 03:07:51 -04:00
Jacob Young
bd771bec49
x86_64: implement integer vector add/sub
2023-05-15 03:07:51 -04:00
Jacob Young
42d9789f46
x86_64: fix sysv vector argument passing
2023-05-15 03:07:51 -04:00
Jacob Young
77a8cb5728
x86_64: fix @clz and @ctz of u8
2023-05-15 03:07:51 -04:00
Jacob Young
37ccf35ff2
x86_64: fix struct_field_val crash
2023-05-15 03:07:51 -04:00
Jacob Young
037bf1a580
x86_64: enable integer vector registers
2023-05-15 03:07:51 -04:00
Jacob Young
6c6d8d67cf
x86_64: redo movement, float negation, and @fabs
2023-05-15 03:07:51 -04:00
Jacob Young
b6d6102850
x86_64: reimplement @floatToInt
2023-05-15 03:07:51 -04:00
Jacob Young
e08eab6648
x86_64: add missing encoding feature requirements
2023-05-15 03:07:51 -04:00
Jacob Young
72b4657053
Dwarf: fix overflow write byte_size
2023-05-15 03:07:51 -04:00
Jacob Young
904ffb41de
x86_64: implement calling function references
2023-05-15 03:07:51 -04:00
Jacob Young
57c38f6433
x86_64: implement global payload pointers
2023-05-15 03:07:51 -04:00
Jacob Young
2cbd442a9d
x86_64: implement integer vector movement
2023-05-15 03:07:51 -04:00
Jacob Young
f83ebd8e6c
x86_64: implement stack probing
2023-05-15 03:07:51 -04:00
Jacob Young
3681da25f8
x86_64: remove scratch data tags
2023-05-15 03:07:51 -04:00
Jacob Young
c23e80e671
x86_64: implement @splat
2023-05-15 03:07:51 -04:00
Jacob Young
1336619979
x86_64: fix field_ptr nonsense
2023-05-15 03:07:51 -04:00
Jacob Young
81664f17d5
codegen: implement global enum_numbered
2023-05-15 03:07:51 -04:00
Jacob Young
e36e9323f4
x86_64: implement union_init
2023-05-15 03:07:51 -04:00
Jacob Young
1667e831cf
x86_64: fix issues with getting float fields
2023-05-15 03:07:51 -04:00
Jacob Young
e98e58691f
x86_64: fix crash with logging enabled
2023-05-15 03:07:51 -04:00
Jacob Young
019c884481
x86_64: add missing multply of f16
2023-05-15 03:07:51 -04:00
wrongnull
2516d8671f
correct error note and check type of extern variables
2023-05-15 04:52:02 +03:00
Ali Chraghi
9c550721e4
spirv: lower float_to_int and int_to_float
2023-05-15 03:04:17 +03:30
DraagrenKirneh
87de8212ad
Improve error handling on dependency download ( #15661 )
...
verify ok status on response. improve error messages
2023-05-13 17:41:11 -04:00
Ryan Liptak
104f4053a2
std.mem: Rename splitFull/tokenizeFull to splitSequence/tokenizeSequence
...
I think this makes the name less ambiguous and more obvious that the suffix applies to the `delimiter`.
2023-05-13 13:45:05 -07:00
Ryan Liptak
2129f28953
Update all std.mem.split calls to their appropriate function
...
Everywhere that can now use `splitScalar` should get a nice little performance boost.
2023-05-13 13:45:05 -07:00
Ryan Liptak
815e53b147
Update all std.mem.tokenize calls to their appropriate function
...
Everywhere that can now use `tokenizeScalar` should get a nice little performance boost.
2023-05-13 13:45:04 -07:00
Ryan Liptak
ce9f3ec990
Fix SplitIterator and TokenIterator type instantiation
2023-05-13 13:43:50 -07:00
Simon A. Nielsen Knights
4697b30ba0
add application/tar+gzip unblocking sr.ht packages
2023-05-13 12:11:23 -07:00
Josh Wolfe
018b743c7a
std: Rewrite low-level json api to support streaming ( #15602 )
2023-05-13 14:31:53 -04:00
Veikka Tuominen
68bacad804
Merge pull request #15643 from Vexu/fixes
...
make `@call` compile errors match regular calls
2023-05-13 12:52:16 +03:00
Andrew Kelley
88d275199c
Merge pull request #15240 from Snektron/spirv-basic
...
spirv: attempting to get the 'basic' behavior tests running
2023-05-12 14:46:20 -07:00
Veikka Tuominen
5aa9628de3
Sema: handle recursive inferred errors better in analyzeIsNonErrComptimeOnly
...
Closes #15669
2023-05-12 14:59:26 +03:00
shwqf
e46d7a3699
Optimize access of array member in a structure.
2023-05-12 09:04:03 +03:00
mlugg
214f2fc395
Liveness: simplify logic
...
`branch_deaths` was a relic from before I had a full understanding of
AIR's control flow structure, and so was unnecessary. This change
simplifies Liveness, fixes a bug exposed by #15235 , and likely improves
performance (due to cloning hashmaps less often).
2023-05-12 00:01:52 +03:00
Ali Chraghi
d61dc3a5a2
spirv: lower store_safe, trunc and trap
2023-05-11 20:31:52 +02:00
Ali Chraghi
ccc490ef68
setup spirv backend in behavior tests
2023-05-11 20:31:52 +02:00
Robin Voetter
e26d8d0604
spirv: make decl deps a hash map instead of an arraylist
...
The same declaration can be added to the dependency set multiple
times, and in this case we still need to emit it once. By making
this list a hash map instead, we can do that quite easily.
This commit also introduces some additional debug logging regarding
decls.
2023-05-11 20:31:51 +02:00
Robin Voetter
d961b11cde
spirv: lower wrap_optional
...
This implements the wrap_optional AIR instruction.
2023-05-11 20:31:51 +02:00
Robin Voetter
6c16465d45
spirv: lower air optional_payload
...
Implements lowering the AIR tag optional_payload.
Also fixes an issue with lowering constant ints.
2023-05-11 20:31:51 +02:00