17665 Commits

Author SHA1 Message Date
Turiiya
b088f43033
os: update comments (#19989) 2023-11-26 09:39:51 +03:00
xn0px90
8da8027a68
doc: update --web flag (#19991) 2023-11-26 09:39:38 +03:00
Alexander Medvednikov
643589ab88 fmt: handle new vweb.html(path) 2023-11-26 07:12:35 +03:00
Alexander Medvednikov
51bb2768ca vweb: .html('custom_template.html') 2023-11-26 03:01:48 +03:00
Delyan Angelov
c532ee6162
parser: fix new timeout in the parser-silent job 2023-11-26 01:16:45 +02:00
Delyan Angelov
e1a474e184
tools: remove unused variable in vbin2v.v 2023-11-25 15:37:03 +02:00
Delyan Angelov
37767cfa8d
fmt: fix comments.v 2023-11-25 10:49:37 +02:00
Delyan Angelov
820f53caa3
tools,fmt: fix vbin2v.v; extract fmt_bin2v_test.v from fmt_keep_test.v 2023-11-25 10:40:10 +02:00
Delyan Angelov
5e37798560
ci: run VAUTOFIX=1 ./v check-md -hide-warnings . to fix doc failures 2023-11-25 09:34:46 +02:00
Delyan Angelov
c963dc619e tools: fox cmd/tools/vbump_test.v 2023-11-25 09:10:58 +02:00
Alexander Medvednikov
f09826e928 all: unwrap const() blocks 2023-11-25 10:02:51 +03:00
Alexander Medvednikov
399af6768d gg: fn (data voidptr, e &Event) for events, allows methods 2023-11-25 01:19:39 +03:00
Alexander Medvednikov
fc69b2fdb1
tutorials: minor vweb blog updates 2023-11-25 00:49:22 +03:00
shove
febd54b77c
checker: disallow directly indexing sumtype and interface, when using as parameters(fix #19811) (#19982) 2023-11-24 20:26:02 +02:00
Felipe Pena
90d3523a26
parser: fix infix expr handling with cast on left side of << operator (#19985) 2023-11-24 20:24:11 +02:00
Swastik Baranwal
67fabddcaf
datatypes: make Direction pub and fix and add tests for push_many (#19983) 2023-11-24 16:10:00 +02:00
Delyan Angelov
43709e9c58
tests,ci: add a retry loop for the tasks done by vlib/v/compiler_errors_test.v, to reduce false positives for alpine-docker-musl-gcc 2023-11-24 12:06:10 +02:00
Odai Alghamdi
e8ce02b50a
datatypes: add push_many for doubly and singly linked list + add insert_many for heap (#19975) 2023-11-24 09:40:08 +02:00
Kim Shrier
be544d73f3
net.openssl: correctly assign nil to reference values after the recent notice about it (#19981) 2023-11-24 09:38:05 +02:00
Turiiya
eeb8d27c6d
tools.vpm: cleanup, extract parsing into parse.v (#19979) 2023-11-24 09:36:55 +02:00
Swastik Baranwal
2884ec52de
checker: disallow casting strings to pointers outside unsafe (#19977) 2023-11-24 09:32:05 +02:00
shove
65089eee41
checker: add a qualification to array elements ref initialization checks (#19980) 2023-11-24 08:05:01 +02:00
Felipe Pena
043ebb855a
cgen: fix const array of struct initiatization on msvc (#19969) 2023-11-23 19:59:09 +02:00
Felipe Pena
9ca4c22043
cgen: fix auto str for interface struct member which implements str method (#19970) 2023-11-23 19:52:35 +02:00
shove
bb77707c19
checker: fix ref elements of an array must be initialized right away (fix #14958) (#19971) 2023-11-23 17:34:48 +02:00
Turiiya
29eda896a1
tools.vpm: fix installing of modules with conflicting names, extend tests (#19961) 2023-11-23 16:07:00 +02:00
Turiiya
fb9382833c
v.doc: fix handling of multiline doc contents (#19938) 2023-11-23 13:38:56 +02:00
Turiiya
c80515465e
docs: update deprecated blockquote highlight syntax (#19974) 2023-11-23 13:33:33 +02:00
shove
2a6c1d9074
all: assigning 0 to reference fields now requires unsafe blocks (fix #14911) (#19955) 2023-11-23 11:16:26 +02:00
Felipe Pena
9d7fe51b6e
sync: add a FreeBSD specific version of vlib/sync/sync_default.c.v (#19962) 2023-11-23 11:13:30 +02:00
☠ ✈︎
cd145b2467
tools: fix v up, by not deleting ./v when missing a .git folder (#19965) 2023-11-22 22:27:08 +02:00
shove
d577e54152
cgen: fix ref and deref when an interface is used as a function parameter (fix #19947) (#19966) 2023-11-22 15:34:43 +02:00
Turiiya
980912dc96
doc: update linebreak logic, handle "highlight-comments" (#19967) 2023-11-22 15:27:31 +02:00
shove
25e90165ea
checker: check element and its children for ref uninitialized fields (fix #19864) (#19944) 2023-11-22 15:13:36 +02:00
Joe C
7519f915ff
v2: initial move of tinyv code to main repo (#19963) 2023-11-22 07:29:03 +03:00
Alexander Medvednikov
01e6f6473b gg: set_window_title; macos img fix; gx: color fixes; strings: Builder.writeln_string 2023-11-22 03:10:34 +03:00
Felipe Pena
8cc82164d8
v: implement @[aligned] and @[aligned:8] attributes for structs and unions (#19915) 2023-11-22 01:26:45 +02:00
Turiiya
b60ef550bd
tools.vpm: add support for env variable VPM_FAIL_ON_PROMPT, to prevent getting stuck in test scenarios with conflicting module dir names (#19960) 2023-11-22 00:50:51 +02:00
Delyan Angelov
e3d306d1d2
parser: fix panic for struct field with new style @[attribute], with an enum default value after it 2023-11-21 22:45:47 +02:00
Turiiya
09ed7d74aa
vlib, tools: make minor improvements, cleanup (#19950) 2023-11-21 17:45:45 +02:00
Felipe Pena
e5fcf358b8
checker: fix anonymous enum evaluation value (part 2) (fix #19925) (#19958) 2023-11-21 17:30:52 +02:00
Kim Shrier
bbb712a42d
strconv: fix byte type to u8 type in the documented examples in format.md (#19952) 2023-11-21 14:19:24 +02:00
Turiiya
16b07a191a
szip: update CompressionLevel fields to use their named C values (#19957) 2023-11-21 14:15:57 +02:00
Turiiya
db1cdba411
sync: fix compilation of bench many_writers_and_receivers_on_1_channel.v (#19956) 2023-11-21 11:48:29 +02:00
Kim Shrier
be8e911d61
semver: replace use of .eq method with == (#19953) 2023-11-21 09:38:23 +02:00
Turiiya
f8ed96a2e0
tools.vpm: validate VCS during parsing (#19943) 2023-11-21 05:14:45 +03:00
yuyi
0966fd3b9f
cgen: fix variable name conflict, when using a C reserved name (#19942) 2023-11-20 17:58:14 +02:00
Turiiya
8c1da9ba94
net.openssl: use actual C values for the SSLError enum (#19945) 2023-11-20 17:57:35 +02:00
Turiiya
1beeb6d039
builtin: remove unused array.c.v file (#19948) 2023-11-20 17:56:54 +02:00
Felipe Pena
b66447cf11
ast: fix flagged enum value evaluation in find_enum_field_val (#19939) 2023-11-20 11:21:20 +02:00