Delyan Angelov
|
a64dfc776b
|
builtin: remove unsafe{} blocks from data_to_hex_string/2
|
2024-10-16 14:19:18 +03:00 |
|
Delyan Angelov
|
c5e8ad19df
|
builtin: implement a s.hex() method, allowing shortening s.bytes().hex() chains, and reducing the intermediate allocations; add tests for it (#22540)
|
2024-10-16 14:18:10 +03:00 |
|
yuyi
|
a2e478be81
|
checker: improve if expr with compound conditions (#22541)
|
2024-10-16 12:48:05 +03:00 |
|
yuyi
|
ffa79219f6
|
checker: fix if expr with compound conditions (#22539)
|
2024-10-16 11:00:23 +03:00 |
|
Alexandre Jousset
|
a5adbe8f1f
|
docs: add progressive "Task Lists" sections to CONTRIBUTING.md (#22537)
|
2024-10-16 08:45:00 +03:00 |
|
Delyan Angelov
|
df9cf27c7f
|
docs: add an Other online resources section (#22538)
|
2024-10-16 08:44:11 +03:00 |
|
Felipe Pena
|
3e697fe95d
|
cgen: fix comptime for method with $method as inherited var (fix #12657) (#22536)
|
2024-10-16 07:02:02 +03:00 |
|
Felipe Pena
|
131078128b
|
v: allow for C.va_arg(Type, va) (fix #20636) (#22530)
|
2024-10-16 06:59:33 +03:00 |
|
Jose Mendoza
|
fde951652c
|
checker: clarify error message about using empty map literal to initialize structs (fix #22498) (#22534)
|
2024-10-15 23:06:45 +03:00 |
|
Delyan Angelov
|
e4d80596a0
|
docs: add link to https://docs.vlang.io/introduction.html in doc/docs.md
|
2024-10-15 22:57:53 +03:00 |
|
Jose Mendoza
|
7b212b2e73
|
checker: disallow C/JS functions and structs to be declared as generic (#22533)
|
2024-10-15 22:07:06 +03:00 |
|
Delyan Angelov
|
947da2b811
|
ci: add .github/workflows/compare_pr_to_master.v
|
2024-10-15 20:51:19 +03:00 |
|
Felipe Pena
|
b7c6054319
|
v: allow for function scoped declaration of structs, with the same name in different fns (fix #22482) (#22520)
|
2024-10-15 19:20:23 +03:00 |
|
yuyi
|
e6d4fac5dc
|
cgen: fix sumtype aggregate with struct embeded (fix #22481) (#22532)
|
2024-10-15 18:29:02 +03:00 |
|
larpon
|
78bdeca9b1
|
thirdparty: update stb_image_resize2.h from 2.06 to 2.11 (#22529)
|
2024-10-15 15:05:57 +03:00 |
|
Delyan Angelov
|
04bd58596f
|
stbi: fix stbi.Image's nr_channels property, after a forced conversion on load (#22528)
|
2024-10-15 13:27:34 +03:00 |
|
yuyi
|
1fb9fec7fa
|
examples: change var name '@type' to 'type' in net_resolve.v (#22526)
|
2024-10-15 13:00:09 +03:00 |
|
Delyan Angelov
|
49513afd51
|
rand: tag with @[direct_array_access] some frequently used functions, that are already debugged (#22523)
|
2024-10-15 10:38:35 +03:00 |
|
Swastik Baranwal
|
4c55de5e65
|
checker: check for unwrapped results in map keys and vals (fix #22521) (#22525)
|
2024-10-15 08:29:09 +03:00 |
|
yuyi
|
7220f75b07
|
parser: allow for variable name using keyword 'type' (#22512)
|
2024-10-14 22:37:12 +03:00 |
|
Delyan Angelov
|
5c65e58fe2
|
cgen: fix err message for if _ := m[key] {
|
2024-10-14 15:06:16 +03:00 |
|
Delyan Angelov
|
e48e3c748d
|
parser: apply @[direct_array_access] to is_ident_name
|
2024-10-14 15:05:31 +03:00 |
|
Delyan Angelov
|
5786099cb0
|
token: apply @[direct_array_access] to TrieNode.add_word
|
2024-10-14 15:04:06 +03:00 |
|
Delyan Angelov
|
9a88446ee0
|
os: improve doc comments for os functions, that accept/return a size/offset in bytes (#22519)
|
2024-10-14 14:08:04 +03:00 |
|
Delyan Angelov
|
9fac8a4463
|
v.util: relax the vup tool recompilation; try an older vup tool, if it is still present; add more failure diagnostic messages (#22518)
|
2024-10-14 07:28:49 +03:00 |
|
Felipe Pena
|
df4c6ac739
|
fmt: keep C. prefix for concrete type used in a generic fn call (#22517)
|
2024-10-13 20:14:23 +03:00 |
|
JalonSolov
|
55ae30cba4
|
tools: grammar changes in oldv usage (#22515)
|
2024-10-13 18:30:22 +03:00 |
|
Delyan Angelov
|
b1142548b9
|
ast,parser,cgen: add a new ast.FnDecl field is_c_extern , set it during parsing, to be available in markused and checker too
|
2024-10-13 16:47:58 +03:00 |
|
Felipe Pena
|
c4aaa2ef4d
|
checker: fix generic lambda with late concrete type inference (fix #22497) (#22509)
|
2024-10-13 13:25:15 +03:00 |
|
alexey semenyuk
|
bb99f8b57c
|
examples: fix veb example's file_transform port typo (#22511)
|
2024-10-13 13:23:08 +03:00 |
|
Felipe Pena
|
6064c6f210
|
parser: allow static method call on match branch (#22507)
|
2024-10-13 13:21:28 +03:00 |
|
yuyi
|
da3112e545
|
all: replace fn name '@xxx' with 'xxx' (#22506)
|
2024-10-12 22:17:02 +03:00 |
|
Felipe Pena
|
45fd7ebcde
|
checker: implement option unwrapping on else branch (#22504)
|
2024-10-12 16:19:46 +03:00 |
|
yuyi
|
e1e44e32c7
|
parser: implement fn name using keyword (#22501)
|
2024-10-12 15:56:45 +03:00 |
|
Delyan Angelov
|
4fcd94a7bf
|
cgen: allow for @[c_extern] fn C.somename(param1 int, param2 &char) &char (#22502)
|
2024-10-12 15:48:18 +03:00 |
|
Felipe Pena
|
ddd5254db4
|
checker: fix missing checker for option map indexing (fix #22490) (#22495)
|
2024-10-12 11:34:18 +03:00 |
|
Delyan Angelov
|
ab862c4285
|
picoev: add -d support_wsl1 (workaround #22493)
|
2024-10-12 08:56:47 +03:00 |
|
Felipe Pena
|
0cf3a445b7
|
cgen: fix spawn generic codegen (fix #22484) (#22491)
|
2024-10-11 19:31:18 +03:00 |
|
Delyan Angelov
|
5aa6eaf38b
|
v.builder: fix cross compiling from linux to windows with -os windows -subsystem windows (#22487)
|
2024-10-11 14:41:19 +03:00 |
|
Delyan Angelov
|
11551aaf6b
|
v.builder: add support for -ldflags "" when using -cc msvc too (#22486)
|
2024-10-11 13:38:51 +03:00 |
|
yuyi
|
79786732ef
|
all: replace struct field name '@type' with 'type' (#22485)
|
2024-10-11 08:53:18 +03:00 |
|
alexey semenyuk
|
9788ae1f3e
|
veb,vweb: make the MIME type checks case insensitive (allow for serving static file.JPG) (fix #22425) (#22483)
|
2024-10-11 08:50:32 +03:00 |
|
yuyi
|
2ca3fdfa8d
|
all: replace enum field name '@xxx' with 'xxx' (#22479)
|
2024-10-11 02:09:23 +03:00 |
|
Delyan Angelov
|
1458dc38dd
|
cgen,pref,help: support explicitly passing -subsystem windows or -subsystem console on Windows, even for non GG apps (#22480)
|
2024-10-11 01:54:22 +03:00 |
|
Felipe Pena
|
19a7fbcf28
|
checker: fix wrong overload operator checking for generic aliased type (fix #22471) (#22475)
|
2024-10-10 21:33:17 +03:00 |
|
yuyi
|
f2cb462d26
|
vrepl: replace enum field name '@none' with 'none' (#22477)
|
2024-10-10 20:57:15 +03:00 |
|
Felipe Pena
|
3af35eef14
|
checker: fix missing check for empty noreturn fn (fix #22468) (#22474)
|
2024-10-10 20:52:24 +03:00 |
|
Felipe Pena
|
1a145bfff3
|
checker: reduce table.sym() calls in infix expression checks (#22476)
|
2024-10-10 20:49:35 +03:00 |
|
Delyan Angelov
|
7cdd667740
|
ci: remove the .tmp.obj files, when preparing the windows release .zip
|
2024-10-10 17:01:21 +03:00 |
|
Delyan Angelov
|
469b56ef4e
|
v.vcache: store the cache files in ~/.vmodules/.cache by default, allowing for user modules, that are named cache (fix #22459) (#22472)
|
2024-10-10 16:28:07 +03:00 |
|