yuyi
|
ddb6685d8a
|
fmt: fix and simplify align of struct fields (#21995)
|
2024-08-05 20:23:39 +03:00 |
|
dasidiot
|
576a0abcc7
|
net: add net.Dialer and net.Connection interfaces, abstracting the different types of connections, already supported by the V network stack (#21657)
|
2024-08-05 18:16:06 +03:00 |
|
Kim Shrier
|
49f5ebf717
|
libgc: update libgc to commit 6d372272 (#21822)
|
2024-08-04 21:16:08 +03:00 |
|
Martin Skou
|
44d2647e2d
|
parser: document that @@ can be used to represent a literal @ in $tmpl() templates (#21983)
|
2024-08-03 22:34:28 +03:00 |
|
Coachonko
|
1a8eff8d2b
|
hash: make public the hash.Hash interface, add tests to current implementers (#21984)
|
2024-08-03 19:52:39 +03:00 |
|
Delyan Angelov
|
e906033e4e
|
ci: use docker compose instead of docker-compose (see https://github.com/orgs/community/discussions/116610) (#21992)
|
2024-08-03 19:50:52 +03:00 |
|
larpon
|
10b031b2cc
|
examples: make rotating_textured_quad.v compile and run on Android (#21987)
|
2024-08-03 17:37:26 +03:00 |
|
Swastik Baranwal
|
06cf796b21
|
checker: add support for static methods in @FN and @METHOD (#21990)
|
2024-08-03 17:36:35 +03:00 |
|
Delyan Angelov
|
3ca5bc3bcd
|
term, term.termios: update fn C.ioctl declaration (#21982)
|
2024-08-02 18:03:13 +03:00 |
|
Delyan Angelov
|
71aa3a463d
|
sokol.audio: fix ./v -cc clang-18 -gc none simple_bytebeat.v (the audio depends on threads)
|
2024-08-02 10:38:54 +03:00 |
|
Delyan Angelov
|
d94473e1d4
|
tests, tools: add short command tests in v test-all , to ensure -d trace_http_request and -d trace_http_response do not regress (#21981)
|
2024-08-02 01:17:39 +03:00 |
|
Delyan Angelov
|
faea2d97bf
|
net.http: fix a typo, affecting -d trace_http_response
|
2024-08-02 00:01:14 +03:00 |
|
Coachonko
|
a4b8768146
|
crypto.cipher: make Stream.xor_key_stream implementers require a mutable receiver (#21974)
|
2024-08-01 16:04:09 +03:00 |
|
Swastik Baranwal
|
485983ebd2
|
checker: disallow static fn call when receiver type is unknown (#21970)
|
2024-08-01 15:33:25 +03:00 |
|
tcn
|
2d43f38bf3
|
x.json2, toml: add support for Any in decode_struct , encode_struct and to_any (#21972)
|
2024-08-01 15:26:09 +03:00 |
|
Delyan Angelov
|
28103d15d5
|
thirdparty: fix GC_suspend_handler_inner in gc.c after cca6755
|
2024-08-01 15:01:14 +03:00 |
|
Delyan Angelov
|
cca6755d28
|
thirdparty: patch thirdparty/libgc/gc.c to make -cc gcc-11 -cstrict pass in more cases
|
2024-08-01 11:11:27 +03:00 |
|
Delyan Angelov
|
0b3853683b
|
examples: add a simplified bytebeat player to show how to use sokol.audio, and that does not depend on gg
|
2024-08-01 11:08:57 +03:00 |
|
Delyan Angelov
|
aa07eafb5f
|
examples: cleanup melody.v even more
|
2024-08-01 09:49:57 +03:00 |
|
Delyan Angelov
|
ab8f1ba21b
|
examples: cleanup & fix the sound produced by melody.v, to be like the original https://www.youtube.com/watch?v=V4GfkFbDojc
|
2024-08-01 09:37:17 +03:00 |
|
Delyan Angelov
|
da5dc8bb22
|
examples: cleanup obsolete unsafe{} usages in examples/sokol/sounds
|
2024-08-01 09:10:02 +03:00 |
|
Delyan Angelov
|
fdd0dab1c3
|
stbi: change Image.data from voidptr to &u8, to reduce casts (#21977)
|
2024-08-01 09:02:38 +03:00 |
|
larpon
|
ef0457d6e3
|
sokol: update to match upstream at c0e0563 (#21971)
|
2024-08-01 01:44:50 +03:00 |
|
Delyan Angelov
|
d43f0e457c
|
gg: add an optional size: parameter to the .draw_pixels and .draw_pixel methods (defaults to 1.0)
|
2024-07-31 21:54:53 +03:00 |
|
Delyan Angelov
|
340535fe06
|
docs: add more C interop notes and examples (#21965)
|
2024-07-31 16:02:55 +03:00 |
|
Delyan Angelov
|
007f76f05e
|
ci: fix tmpl_test.v
|
2024-07-31 15:12:10 +03:00 |
|
Alexander Medvednikov
|
c4a434bd7f
|
tmpl: fix an extra newline in @for; builtin: some i64 fixes
|
2024-07-31 13:30:30 +03:00 |
|
Coachonko
|
55f4412e5a
|
x.crypto.chacha20: make Cipher struct public (fix #21967) (#21968)
|
2024-07-31 10:20:31 +03:00 |
|
Delyan Angelov
|
2366582528
|
gg: deprecate gg.DrawImageConfig.rotate, in favor of gg.DrawImageConfig.rotation, improve the documentation comments (#21963)
|
2024-07-30 17:45:57 +03:00 |
|
Delyan Angelov
|
f676daceb5
|
vlib: fix C warnings/errors for v -show-c-output -cstrict -cc clang-18 run examples/gg/additive.v
|
2024-07-30 17:15:15 +03:00 |
|
Swastik Baranwal
|
4b0a35a0c1
|
checker: check if a parent generic struct has concrete types or not (#21962)
|
2024-07-30 16:56:53 +03:00 |
|
Delyan Angelov
|
4e6f6164ed
|
gg: change the type of gg.DrawImageConfig.rotate from int to f32
|
2024-07-30 16:16:04 +03:00 |
|
Delyan Angelov
|
083faa3568
|
gg: make gg.DrawImageConfig fields mutable, cleanup additive.v, extracting the common parameters, and using {...myconfig, ...} for the differences
|
2024-07-30 16:16:03 +03:00 |
|
yuyi
|
ff04683554
|
parser, checker: check comptime veb.html('index.html') (#21961)
|
2024-07-30 16:15:48 +03:00 |
|
Hitalo Souza
|
1a17a0716d
|
json: increase test cases before enabling sumtype decode in all json libraries (#21958)
|
2024-07-30 03:36:37 +03:00 |
|
yuyi
|
c9c38d5c11
|
parser: check for using comptime $veb.html()/$vweb.html(), without importing veb or vweb (#21957)
|
2024-07-29 16:55:29 +03:00 |
|
yuyi
|
5e435a7111
|
regex: fix regex.split() (fix #16876) (#21953)
|
2024-07-29 14:03:50 +03:00 |
|
Delyan Angelov
|
8fec4cec9a
|
gg: add more documentation comments for gg.Config (the parameters of gg.start and gg.new_context)
|
2024-07-29 09:51:08 +03:00 |
|
Delyan Angelov
|
cadec97427
|
gg: add a note that Context.new_streaming_image has to be called after Sokol's setup
|
2024-07-29 09:21:06 +03:00 |
|
Felipe Pena
|
104eb25a87
|
cgen: fix generic sumtype with repeated concrete type (#21948)
|
2024-07-29 07:18:47 +03:00 |
|
Felipe Pena
|
58827fa978
|
checker: fix sumtype checking for voidptr variant (#21955)
|
2024-07-29 07:11:21 +03:00 |
|
Felipe Pena
|
5d31e774d7
|
checker: fix missing struct field type checking for type mismatch (ref vs non-ref in mt sync.Mutex = sync.new_mutex() ) (fix #18088) (#21949)
|
2024-07-29 07:07:55 +03:00 |
|
Delyan Angelov
|
6f20516a34
|
builtin: panic on trying to grow arrays with capacity bigger than 2^31, instead of overflowing a.cap (partial fix for #21918) (#21947)
|
2024-07-28 23:17:59 +03:00 |
|
yuyi
|
bf04adcc81
|
builtin: fix 'aaaa'.split('aa') (fix #21936) (#21951)
|
2024-07-28 13:25:14 +03:00 |
|
Alexander Medvednikov
|
b5452e0adf
|
builtin: v_segmentation_fault_handler signal_number i32
|
2024-07-28 10:10:30 +03:00 |
|
Alexander Medvednikov
|
e560553f53
|
cgen: define a flexible vint_t type (32 bit int on 32 bit systems, 64 bit otherwise)
|
2024-07-28 02:13:21 +03:00 |
|
Felipe Pena
|
521c8156bc
|
checker: fix voidptr type checking (#21923)
|
2024-07-28 02:09:26 +03:00 |
|
Felipe Pena
|
ac136c08e6
|
cgen: fix struct ref field with no ref structinit (#21932)
|
2024-07-28 01:30:19 +03:00 |
|
Delyan Angelov
|
0bf8adb5e6
|
gg: reset ctx.mouse_d? and ctx.scroll_? at the end of each frame (fix #21945) (#21946)
|
2024-07-28 01:25:58 +03:00 |
|
Felipe Pena
|
b9b53e6cd5
|
parser: improve the error message position for invalid array attr keys (#21944)
|
2024-07-27 22:34:20 +03:00 |
|