yuyi
|
481b842fb6
|
tools: fix vtest-self.v on Windows and tcc compiler (#22110)
|
2024-08-24 17:13:59 +03:00 |
|
Delyan Angelov
|
27ef543983
|
examples: add examples/gg/draw_unicode_text_with_gg.v, for easy comparison of how different fonts and unicode texts will look, when rendered by gg
|
2024-08-24 09:06:53 +03:00 |
|
Swastik Baranwal
|
4b799fd81d
|
checker: disallow using a preexisting const name in a for loop, as either a key or value ident (#22108)
|
2024-08-24 02:16:28 +03:00 |
|
Delyan Angelov
|
19c567047e
|
ast: improve Type and TypeFlag related operations (#22107)
|
2024-08-23 20:58:57 +03:00 |
|
Delyan Angelov
|
637291da16
|
cgen: return early from autofree related functions, when -autofree is not used
|
2024-08-23 20:32:12 +03:00 |
|
Felipe Pena
|
484cd83477
|
v: fix generic lambda type binding and resolution (#22083)
|
2024-08-23 19:01:15 +03:00 |
|
yuyi
|
16b1ff814e
|
util: cleanup check_module_is_installed(), do not automatically update already installed modules, just because their v.mod is present (#22106)
|
2024-08-23 18:46:25 +03:00 |
|
Alexander Medvednikov
|
4e7f94272f
|
roadmap: add shared compiled libs
|
2024-08-23 15:34:54 +03:00 |
|
Martin Skou
|
f435e9aaf3
|
time: update parse_format comment description in parse.c.v (#22104)
|
2024-08-23 14:33:48 +03:00 |
|
Delyan Angelov
|
2bf59b14d1
|
ast: cache ident lookups for consts in ast Expr str (#22101)
|
2024-08-23 13:40:38 +03:00 |
|
yuyi
|
c788c08d36
|
parser: cleanup using token.is_next_to() (#22102)
|
2024-08-23 12:32:27 +03:00 |
|
Delyan Angelov
|
1777bcc69c
|
tools: improve the help screen for v repeat -h , add detailed example for using -t and -p to produce a matrix of 24 permutation runs
|
2024-08-23 12:22:48 +03:00 |
|
Martin Skou
|
7baee04727
|
docs: add an example on how to use Options/Results, when returning multiple values from a function (#22099)
|
2024-08-23 10:16:31 +03:00 |
|
Delyan Angelov
|
89d0743fd6
|
tools: improve the output of v repeat command , by coloring the faster/slower label
|
2024-08-23 09:59:35 +03:00 |
|
yuyi
|
971feb8f89
|
builtin: cleanup u8.repeat() and rune.repeat() (#22100)
|
2024-08-23 08:24:35 +03:00 |
|
Delyan Angelov
|
e3ceb5881a
|
parser,ast: protect against more overflows/panics, by forcing early returns on deeply nested expressions and scopes (#22098)
|
2024-08-23 03:39:12 +03:00 |
|
Felipe Pena
|
d0ef4e31c0
|
cgen: fix auto free method for option map (fix #22081) (#22094)
|
2024-08-22 21:29:59 +03:00 |
|
Delyan Angelov
|
c4ba0d6863
|
ci: add step that verifies that -cc msvc -gc boehm continues to work on windows (boehm is not the default with msvc yet for some reason)
|
2024-08-22 20:26:45 +03:00 |
|
Delyan Angelov
|
38ca2e5bcb
|
ci: skip radamsa_too_many_nested_generic_types_vfmt_off.vv temporarily, until we update tcc on windows
|
2024-08-22 20:18:09 +03:00 |
|
Delyan Angelov
|
6834ccb2d5
|
builtin,thirdparty: fix compilation of libgc with -cc msvc -gc boehm (thanks to @Ekopalypse)
|
2024-08-22 18:43:45 +03:00 |
|
Delyan Angelov
|
31e698f5b5
|
v.builder: show the thirdparty object compilation commands too, when using -showcc (when the cache is empty)
|
2024-08-22 17:00:36 +03:00 |
|
yuyi
|
18f89991ef
|
parser: check too many layers embedded generic type (fix #22089) (#22091)
|
2024-08-22 13:28:56 +03:00 |
|
Delyan Angelov
|
423a94aa58
|
examples: prevent cliping of long font names in draw_static_text.v
|
2024-08-22 12:49:27 +03:00 |
|
Delyan Angelov
|
3f8e92bc6d
|
examples: make draw_static_text.v show the font name too, for easier comparisons
|
2024-08-22 12:38:42 +03:00 |
|
Delyan Angelov
|
e6b8162bfa
|
examples: add examples/ttf_font/draw_static_text.v, to make it easier to test x.ttf with different fonts, and texts
|
2024-08-22 11:59:49 +03:00 |
|
Delyan Angelov
|
75d65a005e
|
ci, checker, pref: extract .github/workflows/run_sanitizers.sh to ease local testing with different options
|
2024-08-21 13:18:21 +03:00 |
|
Delyan Angelov
|
0117c7f30b
|
ci,ast: fix errors with -fsanitize=thread after 7d81633
|
2024-08-21 10:19:17 +03:00 |
|
yuyi
|
fdc3a9c11c
|
builtin,fmt: cleanup alignment using string.repeat() instead of strings.repeat() (#22087)
|
2024-08-21 09:18:10 +03:00 |
|
Delyan Angelov
|
a98a0290a0
|
tools: use separate .autofuzz.log files too for the separate invocations of fuzz_v_parser_with_radamsa.sh
|
2024-08-20 22:16:52 +03:00 |
|
Delyan Angelov
|
a23ebcba97
|
tools: allow passing parameters to fuzz_v_parser_with_radamsa.sh, so that it could be run in several processes from the same folder
|
2024-08-20 22:07:09 +03:00 |
|
Delyan Angelov
|
7d81633912
|
ast: protect against too deep recursion in Expr.pos() calls
|
2024-08-20 19:52:50 +03:00 |
|
Delyan Angelov
|
911428cd5f
|
parser: fix another panic, affecting recast_as_pointer (discovered by fuzzing with radamsa)
|
2024-08-20 19:15:29 +03:00 |
|
Delyan Angelov
|
60a8468dde
|
parser: fix another parser panic, discovered through fuzzing with radamsa
|
2024-08-20 18:48:13 +03:00 |
|
Delyan Angelov
|
6dbf9c9155
|
parser: fix more edge case panics on fuzzed V source code in vlib/v/parser/testdata/silent/
|
2024-08-20 16:11:59 +03:00 |
|
Delyan Angelov
|
c92577e6ed
|
parser,scanner,ast: make the scanner and parser more robust, by implementing more limits (preventing panics, discovered by fuzzing)
|
2024-08-20 15:15:24 +03:00 |
|
yuyi
|
50457647de
|
tests: add like_operator_outside_orm_error.vv/.out (related #22075) (#22079)
|
2024-08-20 13:58:07 +03:00 |
|
Felipe Pena
|
cf0fb835e0
|
cgen,checker: fix map generic fn arg passing (#22071)
|
2024-08-20 03:40:37 +03:00 |
|
Carlos Esquerdo Bernat
|
8afadfc605
|
bechmark: add min, max & avg to recorded measurements (#22078)
|
2024-08-19 23:04:01 +03:00 |
|
Felipe Pena
|
e7c2295f64
|
cgen: fix free method for option fields (#22070)
|
2024-08-19 17:25:07 +03:00 |
|
yuyi
|
fbc34741cc
|
parser: check fn call args without comma between them (related #22021) (#22075)
|
2024-08-19 17:16:04 +03:00 |
|
Carlos Esquerdo Bernat
|
4188deb96d
|
x.json2: support @[skip] as well (#22077)
|
2024-08-19 15:49:31 +03:00 |
|
Carlos Esquerdo Bernat
|
c8dc145468
|
arrays: simplify arrays.sum and arrays.reduce (#22076)
|
2024-08-19 15:32:50 +03:00 |
|
Delyan Angelov
|
3965a6c54f
|
docs: streamline the installation instructions and notes for Windows and Ubuntu
weekly.2024.34
|
2024-08-18 21:17:54 +03:00 |
|
Delyan Angelov
|
18eee344f3
|
cgen: fix typo (build-essentials -> build-essential ) in error messages
|
2024-08-18 21:04:22 +03:00 |
|
Alexander Medvednikov
|
ae1b9ed571
|
veb: deprecate x.vweb in favor of veb; checker: show missing variants in the sumtype error
|
2024-08-18 17:27:08 +03:00 |
|
Swastik Baranwal
|
ceac4baf87
|
checker: add infix checks for nil (#22045)
|
2024-08-18 16:15:05 +03:00 |
|
Delyan Angelov
|
acf04a270c
|
eval: fix ./v interpret examples/hanoi.v
|
2024-08-17 20:56:40 +03:00 |
|
Felipe Pena
|
d58cd9c672
|
checker: add error when initializing sumtype with struct as first type (#22067)
|
2024-08-17 18:16:21 +03:00 |
|
Felipe Pena
|
76d37f6595
|
cgen: fix for loop with array fixed returned from fn (#22069)
|
2024-08-17 17:02:38 +03:00 |
|
yuyi
|
e9c9580370
|
all: remove the obsolete .code and .msg fields of IError (#22066)
|
2024-08-17 14:34:42 +03:00 |
|