16774 Commits

Author SHA1 Message Date
Delyan Angelov
eedf5876b9
scanner: change -d debugscanner to -d trace_scanner for uniformity with the other tracing options, described in CONTRIBUTING.md 2023-12-28 17:58:31 +02:00
Juan de Bruin
02c0f3f1d4
docs: update null convention in ORM example, since @[nonull] is no longer needed (#20286) 2023-12-28 15:36:27 +02:00
shove
3345a17f6b
cgen: fix initialization of const string arrays on msvc (fix #20287) (#20289) 2023-12-28 13:35:35 +02:00
shove
57cc00df22
cgen: fix generating callexpr to string is actually called twice (fix #20282) (#20288) 2023-12-28 12:47:45 +02:00
koplenov
76e1ac3db3
net.http: support -d no_vschannel on windows, to fix long waits, while connecting on some systems (#20265) 2023-12-28 11:49:25 +02:00
Felipe Pena
b944927f09
v: unwrap an option value automatically, inside if o != none { (#20275) 2023-12-27 21:22:44 +02:00
Sudoer
34858c3265
ast, math.complex: add missing docstrings for the methods in types.v (#20281) 2023-12-27 21:18:46 +02:00
Swastik Baranwal
6a04febbf8
math.bits: remove deprecated max32 and max64 const (#20277) 2023-12-27 13:55:55 +02:00
Delyan Angelov
426e471988
sokol: fix JS runtime error about _glBindSampler, for the gg examples, when compiled with -os wasm32_emscripten 2023-12-27 02:04:23 +02:00
Delyan Angelov
57a33c313b
pref: support VNORUN=1, to enable running of tests, vsh files etc (i.e. just compile them, for debugging later) 2023-12-26 13:29:33 +02:00
shove
1aad481c29
checker: fix mismatch checking when a function returns sumtype as an argument (fix #19325) (#20264) weekly.2023.52 2023-12-26 07:03:50 +02:00
yuyi
101a4614ed
parser: fix parse_vet_file() with vfmt off/on flag (#20273) 2023-12-26 07:01:54 +02:00
shove
bcc311b336
cgen: fix in expression with mut and ref (fix #20268) (#20271) 2023-12-26 06:59:29 +02:00
Delyan Angelov
30d6f7b294
crypto: fix notices/errors for v -N test vlib/crypto 2023-12-25 20:00:35 +02:00
Felipe Pena
5a9800b993
cgen: fix function generated code, when returning from match (#20263) 2023-12-25 19:21:57 +02:00
Swastik Baranwal
2301132662
checker: update generic syntax for error message (#20269) 2023-12-25 16:09:28 +02:00
yuyi
113da285d3
parser: fix fn call with newline opening brace (fix #20258) (#20267) 2023-12-25 15:23:29 +02:00
shove
053a7a9863
ast, checker: add a notice, for accessing by key, map values, that contain pointers (to use unsafe or an or {} block) (#20266) 2023-12-25 13:57:52 +02:00
Felipe Pena
8e47c21c46
cgen: fix if guard stmts return generated code + fix auto generated option map comparison code (#20169) 2023-12-25 13:53:16 +02:00
Felipe Pena
55061e40c7
cgen: fix fixed array return when returning fixed array initialization (#20262) 2023-12-25 13:49:01 +02:00
Kim Shrier
c7ce72f314
encoding.binary: fix u32 little endian comments (#20256) 2023-12-23 15:26:17 +02:00
Dialga
1b6d68187b
thirdparty: update zip to 0.3.0 (#20255) 2023-12-23 10:46:34 +02:00
shove
dda2b56854
checker: remove unnecessary struct ref field initialization checks and notifications at map initializing(fix #20245) (#20251) 2023-12-22 13:01:42 +02:00
Delyan Angelov
cedf631860
.github: temporary fix for v bug only working for members of the vlang organisation 2023-12-22 12:03:39 +02:00
yuyi
7ec0d1cbac
cgen: cleanup assign_stmt() (#20250) 2023-12-22 10:16:25 +02:00
yuyi
380a33af12
cgen: cleanup index.v (#20252) 2023-12-22 10:13:33 +02:00
Felipe Pena
5043e14e35
v: allow comptime-for to iterate over comptime variables, add $string comptime type, cleanup (#20233) 2023-12-22 10:08:40 +02:00
shove
869bac13f7
cgen: fix cgen for thread wrappers, when spawning fns with with anon-fn array args and mut interfaces (fix #19425) (#20241) 2023-12-22 09:55:01 +02:00
Casper Küthe
ada9efd825
x.vweb: fix fsanitize-address test for SSE, improve documentation on the usage of takeover_conn (#20249) 2023-12-22 09:53:27 +02:00
jacksonmowry
06a536eff2
db.pg: fix invalid memory access in res_to_rows (#20248) 2023-12-22 02:02:31 +02:00
Delyan Angelov
944b9554bd
x.json2: fix encoding of 💀🐈 etc emojis (fix #20243) (#20247) 2023-12-21 23:44:49 +02:00
Irving Montalvo
ed754cfc31
js.dom: add querySelector[All] and NodeList (#20240) 2023-12-21 15:27:17 +02:00
yuyi
c0321c81a8
checker: fix generic array method call with multi-types (#20237) 2023-12-21 12:32:49 +02:00
Delyan Angelov
7a16a72cc5
github: remove the copilot:summary and copilot:walkthrough tags
The tags got deprecated, see https://githubnext.com/copilot-for-prs-sunset
2023-12-21 11:29:45 +02:00
Kim Shrier
062cc3f59f
crypto.blake2b: fix erroneous comment in unit tests (#20235) 2023-12-21 11:25:27 +02:00
Delyan Angelov
5306469712
datatypes.fsm: cleanup notices for fsm.v 2023-12-20 17:52:13 +02:00
Swastik Baranwal
94d288197e
x.json2: add encoder support for time.Time (#20228) 2023-12-20 17:31:20 +02:00
Delyan Angelov
2b74b64de4
cgen: cleanup code repetition in json.v 2023-12-20 15:00:08 +02:00
shove
85c5c86894
cgen: fix comparing interface values of structs containing optional ref interface fields (fix #20212) (#20221) 2023-12-20 14:38:26 +02:00
yuyi
ecb1dc1cb0
cgen: fix infix expr in method of mut receiver variable (#20225) 2023-12-20 14:34:04 +02:00
Delyan Angelov
a64b87204f
vdoc: make the vdoc html output less dense, and more easily diffable 2023-12-20 14:26:23 +02:00
Delyan Angelov
818744e381
vdoc: filter testdata and tests folders by default, reduce filesystem stats calls 2023-12-20 13:54:08 +02:00
Delyan Angelov
23ed1e9ae8
vdoc: extract files.v and highlight.v from utils.v 2023-12-20 11:55:15 +02:00
Delyan Angelov
eb728277e6
vdoc: ignore vlib/wasm/tests too 2023-12-20 11:35:46 +02:00
Delyan Angelov
b9f0557c0f
vdoc: ignore x/vweb/tests too 2023-12-20 11:31:05 +02:00
Felipe Pena
9c4e494383
v: comptime refactor and cleanup (#20196) 2023-12-19 23:57:03 +02:00
Turiiya
9ea039e6fc
tools.vpm: improve detection of already parsed modules (#20223) 2023-12-19 23:47:37 +02:00
Turiiya
4bab3e700e
builtin: add @[direct_array_access] to js string trim_right method (#20222) 2023-12-19 23:31:30 +02:00
yuyi
93756d2027
cgen: fix array insert for a variadic arg parameter (#20217) weekly.2023.51 2023-12-19 14:20:40 +02:00
Delyan Angelov
ef03767602
v.trace_calls: fix notice for C.BOOL for v -trace-calls file.v (#20219) 2023-12-19 14:18:55 +02:00