Delyan Angelov
|
a133f038bd
|
sync: only run channel_select_test.v when VTEST_RUN_FLAKY=1
|
2022-05-17 10:03:11 +02:00 |
Daniel Däschle
|
54bbc00493
|
fmt: remove space in front of ? and ! (#14366)
|
2022-05-13 10:10:39 +02:00 |
Delyan Angelov
|
76c67952e6
|
tests: support for marking _test.v files with `// vtest flaky: true`, to reduce false positives from the CI
|
2022-04-30 16:26:28 +02:00 |
spaceface
|
64625b8bff
|
cgen: rewrite the closure implementation (#14223)
|
2022-04-30 16:26:28 +02:00 |
Nick Treleaven
|
13902a827b
|
checker: error if smaller signed == unsigned (#14078)
|
2022-04-25 19:07:30 +02:00 |
Delyan Angelov
|
20ded157bf
|
ci: bump vtest retry to 6 for channel_select_test.v (fails sporadically in the windows-gcc job)
|
2022-04-25 19:07:28 +02:00 |
Delyan Angelov
|
13e2d73339
|
bootstrap: remove -I ./thirdparty/stdatomic/nix from make files (#14111)
|
2022-04-21 10:34:58 +02:00 |
Delyan Angelov
|
f3ce968124
|
sync: use #insert for atomic.h, so that bootstrapping can be simplified
|
2022-04-21 10:34:33 +02:00 |
Alexander Medvednikov
|
80b35fe0c6
|
all: ~500 more byte=>u8
|
2022-04-17 12:14:29 +02:00 |
Alexander Medvednikov
|
7ecbca345f
|
all: byte => u8
|
2022-04-17 12:14:27 +02:00 |
Alexander Medvednikov
|
2a84f6db95
|
all: byte => u8
|
2022-04-17 12:14:26 +02:00 |
Delyan Angelov
|
f1f75897b3
|
sync: use asserts in channel code only when `-d debug` is passed
|
2022-04-14 14:00:57 +03:00 |
Delyan Angelov
|
5b668dba2b
|
sync: document sync.thread_id()
|
2022-03-23 19:52:20 +02:00 |
Delyan Angelov
|
ce576d01c4
|
sync: add `sync.thread_id() u64 {` (#13810)
|
2022-03-23 19:19:14 +03:00 |
Alexander Medvednikov
|
36ec47cd20
|
all: replace "NB:" with "Note:" (docs/comments)
|
2022-03-06 20:01:22 +03:00 |
Delyan Angelov
|
b0f651bf81
|
sync: enable tcc compilation of sync programs on Amazon Linux 2 (and other Red Hat distros like CentOS) by default (#13664)
|
2022-03-05 19:13:47 +02:00 |
Subhomoy Haldar
|
114a341f5f
|
rand: simplify rand.PRNG, move to optional types for error handling (#13570)
|
2022-02-23 12:36:14 +02:00 |
Delyan Angelov
|
a74d28ae5f
|
sync,ci: bump vtest retry for channel_select_6_test.v
|
2022-02-12 19:22:27 +02:00 |
Tim Basel
|
9d0a5942ac
|
builtin: change IError `msg` and `code` to methods + fix vlib, add a deprecation notice for the old usages (#13041)
|
2022-02-11 15:52:33 +02:00 |
Delyan Angelov
|
dd835acb8d
|
sync: add Once.do_with_param/2 method in addition to the existing Once.do/1 (workaround the absence of closures on windows)
|
2022-02-08 17:15:28 +02:00 |
Delyan Angelov
|
eb765f975c
|
ci: add a small delay between failed test retries. bump retries for channel_select_6_test.v to 8
|
2022-01-27 17:43:55 +02:00 |
jeffmikels
|
a60b381d5e
|
docs: adding skeleton README.md files for all vlib modules (#13034)
|
2022-01-05 18:06:08 +02:00 |
Alexander Medvednikov
|
59ed4be49a
|
all: update copyright year
|
2022-01-04 12:21:12 +03:00 |
Delyan Angelov
|
730b2a9263
|
sync: move sync.atomic2 to sync.stdatomic, cleanup
|
2021-12-28 10:16:22 +02:00 |
Delyan Angelov
|
5f1eaaf3b1
|
ci: retry more channel_select_6_test.v
|
2021-12-16 20:12:40 +02:00 |
Taillook
|
7d1dec5b44
|
sync: add sync.ManyTimes (#12729)
|
2021-12-05 19:44:25 +02:00 |
Taillook
|
0c713f6edc
|
sync.once: add Once (#12722)
|
2021-12-05 18:56:03 +02:00 |
Delyan Angelov
|
79cb303a6c
|
sync: improve compatibility with -Wimpure-v
|
2021-12-01 11:24:51 +02:00 |
Delyan Angelov
|
a7d4236337
|
sync,strings,cgen: reduce memory consumption in cgen
|
2021-10-29 22:29:56 +03:00 |
playX
|
c1aa782a6c
|
js,checker: fix some modules build for `v -b js self`, fix `or block` check in ast.CallExpr (#12231)
|
2021-10-19 12:11:54 +03:00 |
Delyan Angelov
|
97eb0fc74f
|
ci: workaround linking on macos (missing sem_timedwait)
|
2021-09-28 11:27:47 +03:00 |
Delyan Angelov
|
9e2607db57
|
sync: rename sync_macos.c.v to sync_darwin.c.v
|
2021-09-28 11:12:03 +03:00 |
crthpl
|
85b58b03a3
|
cgen: parallelize (#10844)
|
2021-09-28 10:28:04 +03:00 |
yuyi
|
4d078edb72
|
scanner: no longer allow `1.` float literals (#11301)
|
2021-08-25 14:39:37 +03:00 |
Miccah
|
e98817e5ce
|
sync: only release semaphore in WaitGroup when there are waiters (#10967)
|
2021-07-27 15:49:51 +03:00 |
Uwe Krüger
|
1e5627e777
|
parser: don't require unary `>` prefix for `select` timeout (#10928)
|
2021-07-23 23:24:27 +03:00 |
Daniel Däschle
|
ad3835b598
|
parser: deprecate short struct init (#10842)
|
2021-07-20 11:17:08 +03:00 |
crthpl
|
5089eb4a84
|
parser: fix pointer cast expressions hack (#10777)
|
2021-07-13 12:01:24 +03:00 |
Uwe Krüger
|
72358833e0
|
time: use `Duration(C.INT64_MAX)` as infinite (#10539)
|
2021-06-22 12:17:44 +03:00 |
Uwe Krüger
|
3f5aa5e634
|
sync: make `Semaphore.*wait()` robust against interrupts by signals (#10491)
|
2021-06-18 12:44:18 +03:00 |
Uwe Krüger
|
a8437584aa
|
gc: extend optimized mode to channel buffers (#10443)
|
2021-06-14 18:12:47 +03:00 |
Delyan Angelov
|
2ff0f62866
|
v: fix passing `-arch arm64` to `$if arm64{}`
|
2021-06-13 01:15:35 +03:00 |
Delyan Angelov
|
b7f9bc2a96
|
sync: support linking with libatomic with tcc on ubuntu aarch64
|
2021-06-12 20:34:45 +03:00 |
Delyan Angelov
|
5cb2683e97
|
v.gen.c,v.markused: fix `println(ch)` when ch is a channel
|
2021-06-01 13:46:59 +03:00 |
Alexander Medvednikov
|
f09a5135e9
|
checker: handle builtin enum init correctly
|
2021-05-20 03:14:32 +03:00 |
Delyan Angelov
|
20a22453cf
|
v.builder: remove default link flags -lm, -ldl, -lpthread (use module specific link flags instead) (#10099)
|
2021-05-14 14:28:53 +03:00 |
Delyan Angelov
|
8a380f4699
|
tools: make `v test-cleancode` test everything by default (#10050)
|
2021-05-08 13:32:29 +03:00 |
Uwe Krüger
|
3c0a368af3
|
all: automatically move (some) referenced objects to heap (#9873)
|
2021-04-25 21:40:38 +03:00 |
zakuro
|
7443179cc8
|
checker: make use of private enum from outside module an error. (#9821)
|
2021-04-22 07:07:56 +03:00 |
Delyan Angelov
|
d4f31412b7
|
v: deprecate `@VROOT` in favour of `@VMODROOT` (#9795)
|
2021-04-19 19:01:47 +03:00 |