Alexander Medvednikov
|
9b1937a871
|
V 0.4.10
|
2025-03-20 14:42:00 +03:00 |
|
Kim Shrier
|
e1b9054a27
|
cli: account for initial indent on subcommands (#23985)
|
2025-03-20 13:33:27 +02:00 |
|
Kim Shrier
|
ff43cd5a20
|
builtin: fix minor typo in join_lines description (#23984)
|
2025-03-20 13:32:34 +02:00 |
|
Delyan Angelov
|
86bb2d72ea
|
thirdparty: add thirdparty/build_scripts/ to prepare for prebuilt tcc upgrades (#23981)
|
2025-03-19 22:41:17 +02:00 |
|
kbkpbot
|
87b1de8218
|
db.mysql: add SSL support; turn ConnectionFlag into @[flag] (#23975)
|
2025-03-19 15:03:40 +02:00 |
|
Delyan Angelov
|
4b68dffa49
|
v.util: shorten the V paths used in the C #line directives with tcc (the ../../../.. etc is no longer needed with newer tcc) (#23974)
|
2025-03-19 14:50:16 +02:00 |
|
Delyan Angelov
|
b528395039
|
builtin,markused,pref,cgen: improve markused for small programs
|
2025-03-18 21:05:04 +02:00 |
|
Delyan Angelov
|
90c638e649
|
cgen,v.builder: cleanup const generation/checks; fix cross compilation of .dll files from linux->windows (#23971)
|
2025-03-18 18:18:50 +02:00 |
|
Felipe Pena
|
d44d9fa0fb
|
checker,cgen: add T.key_type , typeof(expr).key_type , T.value_type , typeof(expr).value_type , T.element_type , typeof(expr).element_type for getting Map[K]V and []T types (fix #23914) (#23962)
|
2025-03-18 16:29:28 +02:00 |
|
Alexander Medvednikov
|
a959501e99
|
readme: add a link to pvs
|
2025-03-18 13:52:02 +03:00 |
|
Delyan Angelov
|
0893a72792
|
tools: support v doctor -skip-github to fully skip the fetching step, in places that have limited connectivity (alternative fix/workaround for #23955)
|
2025-03-18 11:11:19 +02:00 |
|
Delyan Angelov
|
9a8961f9e6
|
tools: add a custom timeout of 5s for the network using command git -C . fetch V_REPO in v doctor (it normally takes <1s) (fix #23955)
|
2025-03-18 11:07:40 +02:00 |
|
Delyan Angelov
|
7c42822f77
|
tools: add v timeout to be able to later use v timeout 5.1 git -C . fetch V_REPO in v doctor and other tools.
|
2025-03-18 10:57:36 +02:00 |
|
Delyan Angelov
|
e6f027dfa0
|
examples: fix v should-compile-all examples/
|
2025-03-18 09:49:41 +02:00 |
|
Delyan Angelov
|
ef0d5caaf8
|
examples: remove the generic alias type overloaded operator workaround, after 29e60da
|
2025-03-18 09:27:56 +02:00 |
|
Swastik Baranwal
|
29e60da614
|
checker,cgen: implement alias operator overloading for generic struct parent type (fix #23965) (#23967)
|
2025-03-18 09:23:48 +02:00 |
|
kbkpbot
|
bd2ec679f0
|
cgen,dl: remove workaround in dl , generate a DllMain() in cgen instead for -shared on windows (#23961)
|
2025-03-17 17:04:10 +02:00 |
|
Felipe Pena
|
ebfa7d86cf
|
checker: fix typeof evaluation for generic reference (fix #23951) (fix #23952) (#23958)
|
2025-03-17 16:52:59 +02:00 |
|
Swastik Baranwal
|
2a3dc5c068
|
parser: disallow invalid expr in comptime $for (fix #23953) (#23959)
|
2025-03-17 16:44:26 +02:00 |
|
blackshirt
|
1e5c812540
|
crypto.ecdsa: improve internal sign_digest routine (#23960)
|
2025-03-17 16:40:52 +02:00 |
|
Felipe Pena
|
cb4d16ff3a
|
fmt: fix comment handling on ending of struct decl (fix #23947) (#23948)
|
2025-03-17 16:32:29 +02:00 |
|
Delyan Angelov
|
5978cbcfbf
|
examples: add an asteroids game (it is currently < 400 lines of V, using gg)
|
2025-03-17 15:41:50 +02:00 |
|
Mr. Doge
|
21874f93dc
|
x.json2: fix "\\" scanner bug, disallow (ch < 0x20) unescaped control characters (#23954)
|
2025-03-16 13:38:40 +02:00 |
|
Felipe Pena
|
b2ff9d5d08
|
ast: fix the registration of fixed arrays, when size_expr is a const (fix #23946) (#23949)
|
2025-03-16 13:28:01 +02:00 |
|
Swastik Baranwal
|
e1ce57dd73
|
tests: add an edge test case, in which the array was initialised with an expression without commas, to enum_on_array_init_test.v (#23945)
|
2025-03-16 13:17:03 +02:00 |
|
Felipe Pena
|
1f10a65515
|
cgen: fix codegen for generic structinit and generic array return (fix #23916) (#23943)
|
2025-03-16 13:09:56 +02:00 |
|
Felipe Pena
|
e995d991f1
|
checker: disallow references to constants (fix #23935) (#23942)
|
2025-03-16 13:03:12 +02:00 |
|
Felipe Pena
|
725e25991d
|
parser: fix enum value parsing inside array initialization (fix #23937) (#23941)
|
2025-03-15 17:27:43 +02:00 |
|
kbkpbot
|
d16aa2547b
|
tools: add --check flag to v ast (#23938)
|
2025-03-15 11:54:07 +02:00 |
|
ChAoS_UnItY (Kyle Lin)
|
c69b125162
|
markused: fix markused behavior on struct field's default expression (fix #23909) (#23933)
|
2025-03-15 07:35:34 +02:00 |
|
Swastik Baranwal
|
a22a3f7760
|
checker: check if next() method infers generic type correctly (fix #23927) (#23932)
|
2025-03-14 19:47:52 +02:00 |
|
kbkpbot
|
e8c6922580
|
datatypes: optimize linkedlist (fix #23928) (#23934)
|
2025-03-14 19:47:13 +02:00 |
|
ChAoS_UnItY (Kyle Lin)
|
1ca7157b81
|
markused: fix markused behavior on array / map index getter / setter / slice (#23931)
|
2025-03-14 15:45:01 +02:00 |
|
Delyan Angelov
|
2c3e278d3e
|
v.builder: support -d trace_parsed_files
|
2025-03-14 10:14:06 +02:00 |
|
Delyan Angelov
|
37c3f6578c
|
v.util.version: centralise the use of @VCURRENTHASH , to minimise the vlang/vc diffs for each commit
|
2025-03-14 10:07:28 +02:00 |
|
Felipe Pena
|
dc222b6ca6
|
checker: add missing check for casting generic type to literal values (#23915)
|
2025-03-14 09:22:54 +02:00 |
|
Delyan Angelov
|
d6ac5b5caf
|
ci,vc: use the full V repo commit hash, when generating vlang/vc commit messages
|
2025-03-14 09:17:48 +02:00 |
|
Delyan Angelov
|
a826febf5e
|
v.builder: remove forgotten b.show_parsed_files/0 call
|
2025-03-14 08:39:29 +02:00 |
|
Delyan Angelov
|
e6f7c2ad6c
|
v.builder: extract Builder.show_parsed_files/0 to make it easier to debug import/parsing issues
|
2025-03-14 08:38:41 +02:00 |
|
Delyan Angelov
|
5dbb808ef0
|
tools: make v repeat -R 5 -r 10 "v run examples/hello_world.v" also show the time it took for all runs in each repeat
|
2025-03-14 08:17:43 +02:00 |
|
Delyan Angelov
|
23d4754f2c
|
tools: make v repeat failing_cmd show the error output *just once*, but also still measure the time it took to execute
|
2025-03-14 07:49:59 +02:00 |
|
Delyan Angelov
|
8c92e3d0c5
|
v.markused: improve stability (avoid runtime crash) when processing generic functions (partial fix for #23927)
|
2025-03-14 07:02:53 +02:00 |
|
Delyan Angelov
|
62ba811534
|
tests: cleanup warnings in the autofree code samples in vlib/v/slow_tests/valgrind/ (#23929)
|
2025-03-14 06:56:16 +02:00 |
|
Delyan Angelov
|
a80bc23314
|
tools: cleanup entries from the hardcoded skip_files list in common.v (used by v test , v test-self etc); use the new // vtest build: syntax to mark the tests instead (#23918)
|
2025-03-13 19:51:51 +02:00 |
|
ChAoS_UnItY (Kyle Lin)
|
9f3f1291e8
|
checker: fix signed integer literal overflow error, when most significant bit occupies signed bit (fix #23782) (#23919)
|
2025-03-13 17:29:44 +02:00 |
|
Felipe Pena
|
734fde89e8
|
checker: add fntype casting validations (#23872)
|
2025-03-13 16:38:12 +03:00 |
|
Alexander Medvednikov
|
e006b65944
|
parser: remove table dep for script main check
|
2025-03-13 16:01:45 +03:00 |
|
Delyan Angelov
|
17695801ea
|
gg: add is_key_down/1 helper method
|
2025-03-13 11:40:39 +02:00 |
|
blackshirt
|
2fd3b7e881
|
crypto.ecdsa: improve the performance of the .public_key method of PrivateKey (#23920)
|
2025-03-13 10:21:36 +02:00 |
|
Delyan Angelov
|
0321c3f544
|
Revert "math.bits: port changes from e66e996 , so that -cstrict -cc gcc-11 passes for markdown as well"
This reverts commit 41a846a534 .
|
2025-03-13 00:08:57 +02:00 |
|