playX
b842e89acc
all: initial implementation of compile-time types ( #13549 )
2022-02-21 17:42:54 +02:00
yuyi
83cdd8bedd
ast: add comments for struct 'StructInit' and 'StructInitField' ( #13551 )
2022-02-21 12:48:53 +02:00
simon place
8ba4a3dd01
math.complex: make mutable the Complex.re and Complex.im fields ( #13540 )
2022-02-21 12:39:45 +02:00
kahsa
809772db4e
gg: improve Context scale for Android ( #13545 )
2022-02-21 12:12:21 +02:00
gcxfd
8b033c3993
tools: add a `-theme-dir folder/` parameter to `v doc` ( #13550 )
2022-02-21 12:08:46 +02:00
yuyi
04654ed518
parser: check error for defer propagate ( fix #13534 ) ( #13536 )
2022-02-20 12:29:08 +02:00
yuyi
75ebac006d
cgen: fix struct init with multi nested embed update expr ( #13529 )
2022-02-19 20:46:44 +02:00
gcxfd
dbae2d6af4
net: add UdpSocket.address() method ( #13524 )
2022-02-19 20:45:55 +02:00
yuyi
09f08e1fee
cgen: fix error for interface and embedded struct build ( #13530 )
2022-02-19 20:43:40 +02:00
eyun
67e33bf9bc
checker: make public the valid_comptime_if_os list ( #13518 )
2022-02-19 15:22:33 +02:00
eyun
2b974cdb97
docs: rename exec -> execute ( #13514 )
2022-02-19 15:20:46 +02:00
yuyi
0236931c78
cgen: fix generics with reference generic arguments ( #13525 )
2022-02-19 15:19:50 +02:00
Alexander Medvednikov
3fa6622ee8
doc: simplify the `filter/map` example a bit
2022-02-19 12:10:12 +03:00
Dialga
bcc4de19fc
v.builder: fix cross compiling directory with spaces ( #13522 )
2022-02-19 10:08:41 +02:00
yuyi
0208e9672d
checker: check array sort_with_compare callback function parameters ( #13511 )
2022-02-19 10:06:36 +02:00
Milo
4cdb244151
docs: update urls in roadmap ( #13509 )
2022-02-18 14:19:06 +02:00
Delyan Angelov
d86b18844e
net.unix: use byte() instead of u16() cast for addr.sun_family
2022-02-18 13:47:12 +02:00
Delyan Angelov
fad254dcce
ci: skip use_net_and_net_unix_together_test.v on windows
2022-02-18 12:45:32 +02:00
Delyan Angelov
3c38abc56e
rand: fix rand.uuid_v4()'s clock_seq_hi_and_reserved field
2022-02-18 12:43:38 +02:00
Delyan Angelov
c9867a9ae4
net: ensure that `net` and `net.unix` can be imported together in the same program
2022-02-18 11:47:56 +02:00
yuyi
14073ac0fe
checker: fix error for array of sumtype init ( #13501 )
2022-02-18 11:47:24 +02:00
Subhomoy Haldar
072480352c
math.big: add get_bit, set_bit, big_mod_pow ( #13507 )
2022-02-18 11:53:39 +03:00
Delyan Angelov
a886242700
ci: extract ubuntu-docker-musl and alpine-docker-musl-gcc to containers_ci.yml, so they can be easily turned on/off in private github actions
2022-02-18 10:31:01 +02:00
Delyan Angelov
3bcd11260f
ci: move alpine-docker-musl-gcc and ubuntu-docker-musl to other_ci.yml
2022-02-18 10:25:04 +02:00
Delyan Angelov
ef5ea0ef21
ci: fix vweb failures (restore the ability to *force* vweb to listen to *only* local interfaces)
2022-02-18 10:18:04 +02:00
Alexander Medvednikov
3d46005195
tools/fast: bring back -usecache
2022-02-18 10:41:53 +03:00
Joe Conigliaro
f4051e0252
checker: make sure generic struct instantiation uses a known type. closes #13506
2022-02-18 17:54:52 +11:00
Anton Zavodchikov
da9331f8ff
vweb: support ipv6 ( #13498 )
2022-02-17 23:13:36 +03:00
Delyan Angelov
eb45a321a5
tools: add cmd/tools/regress.v to simplify bisecting for regression bugs/features:
...
Support finding which commit introduced a regression:
./v run cmd/tools/regress.v --old COMMIT --command './v run /abs/path/to/regression_bug.v'
Support also finding which commit introduced a feature (or made code compile/run):
./v run cmd/tools/regress.v --old COMMIT --command '! ./v run /abs/path/to/feature.v'
NB: the '! ' is a POSIX shell feature. It may not work on Windows outside of WSL.
Its meaning is to invert the exit code for the next command, i.e. 0 -> 1, non 0 -> 0
If it does not work for you, you need to write a more explicit script that will exit
with 0 code for all commits, where the feature does NOT work, and with non 0 code for
all commits, where the feature does work.
2022-02-17 18:07:28 +02:00
Joe Conigliaro
d739abbb3f
cgen: move var decl out of loop in global_decl()
2022-02-18 00:42:54 +11:00
Delyan Angelov
ebb66aa82c
tools: support `git bisect run cmd/tools/oldv --bisect --command "./v run /abs/path/to/regression.v"`
2022-02-17 15:34:55 +02:00
Delyan Angelov
554a689213
ci: be more verbose when running make.bat on the CI
2022-02-17 13:26:23 +02:00
Joe Conigliaro
07b15a209a
cgen: fix for prev commit - get usecache working with clang (fix duplicate symbols)
2022-02-17 22:24:58 +11:00
Joe Conigliaro
6fc654821f
cgen: get usecache working with clang (fix duplicate symbols)
2022-02-17 22:17:07 +11:00
Delyan Angelov
245b70cabc
checker: bump iface_level_cutoff_limit to 100 (fix ci)
2022-02-17 11:46:04 +02:00
Delyan Angelov
230dc26858
checker: bump iface_level_cutoff_limit to 99 (fix ci)
2022-02-17 11:42:34 +02:00
yuyi
4f9039991f
parser: cleanup in check_undefined_variables() ( #13496 )
2022-02-17 10:16:52 +02:00
Delyan Angelov
901a4d8b84
checker: restrict too deep recursion, to prevent stackoverflows on windows
...
For v itself, the nesting levels do not exceed 15, so a limit of 40 seems reasonable.
2022-02-17 10:04:11 +02:00
yuyi
842fd7a27e
parser: check assign expr with undefined variables of struct_init ( #13495 )
2022-02-17 10:21:03 +03:00
Delyan Angelov
89b99ad4c3
scanner: remove the restriction for \x00 in strings ( #13493 )
2022-02-16 23:41:05 +02:00
blackshirt
54b10e99a1
ed25519: make public ed25519.internal.edwars25519.Element ( #13488 )
2022-02-16 22:56:14 +02:00
Tarcisio Gruppi
f68144774d
fmt: fix map missing a comma after enum keys, leading to non parsable code ( #13481 )
2022-02-16 21:08:29 +02:00
Delyan Angelov
d3b8ac2e46
ci: remove the -silent flag for CI jobs (the failing tests are listed at the end of the run anyway)
2022-02-16 21:02:36 +02:00
yuyi
f8b8950b96
checker: check mut interface arguments ( #13479 )
2022-02-16 11:53:41 +02:00
Alexander Medvednikov
5a14748e7c
cgen: c2v enum fix
2022-02-16 12:05:32 +03:00
Delyan Angelov
9c24d09dc3
strconv: bug fix for "${239.5:0.0f}" ( #13483 )
2022-02-16 11:33:29 +03:00
starryskye
6d2a88e31f
net.smtp: add STARTTLS and implicit SSL support ( #13473 )
2022-02-16 09:18:51 +02:00
vyrus001
d4fc8601e0
builder: fix clang failing to link on windows due to an -ftlo error ( #13470 )
2022-02-16 09:13:26 +02:00
Mihai Galos
b8d656b308
examples: enhance the call_v_from_python example, with a fn accepting 2 f64 params ( #13480 )
2022-02-16 09:12:49 +02:00
blackshirt
3ac4155f0c
crypto: add an ed25519 digital signature module ( #13476 )
2022-02-15 21:28:14 +02:00