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)
weekly.2024.31
|
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 |
|
yuyi
|
8af19ece2c
|
fmt: allow align threshold to be parametrized in calls to add_new_info (#21942)
|
2024-07-27 14:47:06 +03:00 |
|
Delyan Angelov
|
1b7b8123ca
|
vrepl: suppress the welcome message, if VQUIET is set (#21941)
|
2024-07-27 11:34:42 +03:00 |
|
Delyan Angelov
|
935ecc3289
|
ci: do not trigger v_apps_and_modules_compile_ci.yml for changes to vrepl.v
|
2024-07-27 11:24:37 +03:00 |
|
Swastik Baranwal
|
0ef2501216
|
parser: improve the error for keyword lock , used as a variable name (#21937)
|
2024-07-27 11:07:25 +03:00 |
|
Roman
|
52fe7c09b8
|
encoding.base58: fix notice for slice creation (#21935)
|
2024-07-26 10:28:17 +03:00 |
|
Alexander Medvednikov
|
7baff15c39
|
V 0.4.7
0.4.7
|
2024-07-26 07:41:00 +03:00 |
|
Delyan Angelov
|
97432c3593
|
v.scanner: use table lookups for very frequently done character checks (#21931)
|
2024-07-25 11:34:59 +03:00 |
|
yuyi
|
581c5c7eeb
|
readline: fix s := read_line('Message\nName:') on unix/linux (#21930)
|
2024-07-25 10:44:59 +03:00 |
|
Swastik Baranwal
|
b2a38346e2
|
checker: allow embed of type alias anon struct (#21928)
|
2024-07-25 05:21:23 +03:00 |
|
Felipe Pena
|
eb63cda0a9
|
cgen: fix generic option/result reference return (#21922)
|
2024-07-24 18:56:49 +03:00 |
|
Wertzui123
|
ec7ee482f4
|
readme: fix wrong X handle being displayed (missing _ ), due to missing URL escaping (#21925)
|
2024-07-24 18:55:20 +03:00 |
|
yuyi
|
3f1ba3d64f
|
checker: check enum field value duplicate 2 (#21924)
|
2024-07-24 18:40:42 +03:00 |
|
Felipe Pena
|
d186c3946f
|
arrays: fix arrays.fold, when the init value in the call, is an array (#21921)
|
2024-07-24 16:37:20 +03:00 |
|
yuyi
|
b5ba466488
|
checker: check enum field value duplicate (#21920)
|
2024-07-24 14:32:19 +03:00 |
|
yuyi
|
38ea5dcc44
|
cgen: fix enum with const value (#21919)
|
2024-07-24 14:25:45 +03:00 |
|