Daniel Daudysh
9d4233dde5
docs: add note about OS threads ( #19225 )
weekly.2023.35
2023-08-28 08:51:51 +03:00
Xavier Mitault
007519e130
cli: add attribute doc for Flag.global ( #19224 )
2023-08-27 14:34:25 +03:00
Turiiya
981ff192e4
os: update doc comment for input_opt
return ( #19223 )
2023-08-27 13:40:21 +03:00
yuyi
adf10f88cf
cgen: fix array sort with fn call parameter ( fix #19220 ) ( #19221 )
2023-08-26 18:50:06 +03:00
Delyan Angelov
c85232ef1f
tools: make performance_compare.v more robust and easier to use, by allowing v run cmd/tools/performance_compare.v
too
2023-08-26 10:40:16 +03:00
Delyan Angelov
806f071a11
tools: improve oldv windows support, make it use -municode for windows builds, after 53ffee1 2020-05-18
2023-08-26 09:51:50 +03:00
Delyan Angelov
636aae243c
tools: improve windows support in oldv (it now can run in cmd.exe, not just in a Git Bash shell)
2023-08-26 09:07:14 +03:00
yuyi
570a12da8d
cgen: fix generic struct with option fn field ( #19218 )
2023-08-25 22:50:53 +03:00
Delyan Angelov
7add6e7d51
tools: make repeated runs of oldv SAME_COMMIT -c "./v file.v"
, not use the network at all
2023-08-25 20:39:01 +03:00
yuyi
7028a9df83
checker: cleanup in check_expr_opt_call() ( #19216 )
2023-08-25 20:15:52 +03:00
yuyi
d417bba432
checker: check error for or_expr inside infix expression ( #19213 )
2023-08-25 20:00:58 +03:00
Swastik Baranwal
11337e7621
checker: disallow thread
as var name ( #19174 )
2023-08-25 19:56:39 +03:00
pancake
45e6e7d763
http: add support for stream connections, and custom .on_redirect, .on_progress, .on_finish callbacks to http.fetch() ( #19184 )
2023-08-23 20:42:05 +03:00
Turiiya
d60c8171ee
vpm: implement multithreading ( #19208 )
2023-08-23 11:05:16 +03:00
Felipe Pena
5cafdea7d0
cgen: allow using a const as enum value ( #19193 )
2023-08-23 09:53:14 +03:00
Delyan Angelov
c9e46d34aa
math.big: fix notice for compilation with latest v
2023-08-23 08:10:55 +03:00
Brama Udi
8a1077a689
vweb: add a user_agent utility method to the vweb context ( #19204 )
2023-08-22 21:40:07 +03:00
Ikko Eltociear Ashimine
ffea6eb52d
vweb: fix typo in README.md ( #19206 )
...
usefull -> useful
2023-08-22 21:34:24 +03:00
Delyan Angelov
c0950873a4
docs: add a note about using VAUTOFIX=1 v check-md file.md
2023-08-22 21:30:14 +03:00
Delyan Angelov
30dbda6e65
help: make find vlib/v/help/ -name *.txt |xargs v check-md
pass as well
2023-08-22 21:27:28 +03:00
Delyan Angelov
29b035bd01
help: add link to the TESTS.md at the bottom of v help test
2023-08-22 21:14:01 +03:00
Delyan Angelov
9a6bebb9ca
v.builder: show the number of files as well, when a program is compiled with -stats
2023-08-22 15:30:37 +03:00
Delyan Angelov
f4e9aa8e8b
tools: fix find vlib/ -name "*.vv" | xtime xargs v -g run cmd/tools/measure/parser_speed.v
2023-08-22 15:10:54 +03:00
Keito Tobichi
b6c7104d9e
regex: fix typo in README.md ( #19201 )
2023-08-22 14:24:53 +03:00
Delyan Angelov
644c68ce94
tools: improve the output of parser_speed.v and scanner_speed.v
2023-08-22 14:23:47 +03:00
Delyan Angelov
5e0ebba183
v.builder: show the number of types, and number of modules too, when a program is compiled with -stats
2023-08-22 12:39:59 +03:00
Delyan Angelov
0ba562b5c9
cmd: fix permissions of .v source files to just 644
2023-08-22 11:24:16 +03:00
Mustafa Ateş Uzun
8b0a1e2c71
gg, sokol.sapp: fix typo (.files_droped -> .files_dropped), add deprecation tags for the old value ( #19190 )
2023-08-21 22:32:24 +03:00
Delyan Angelov
bf1a982273
x.ttf: fix a compiler notice for vlib/x/ttf/text_block.v
2023-08-21 18:08:28 +03:00
Felipe Pena
f183ec3f69
cgen: fix comptime assign with generic result return type ( #19192 )
2023-08-21 16:16:03 +03:00
yuyi
ccb14382b9
fmt: change return_with_comments_input/expected.vv to return_with_comments_keep.vv ( #19197 )
2023-08-21 16:14:30 +03:00
Delyan Angelov
00868ab4e2
Move the reproduction field to the top in bug-report.yml
...
It is confusing to have one of the most important fields buried below others.
Moving it to the top makes reviewing bug reports easier and faster.
2023-08-21 11:18:20 +03:00
Turiiya
d748b212d4
vdoc: optimize generated pages ( #19185 )
2023-08-21 10:55:37 +03:00
yuyi
01cb30c023
ast, parser, fmt: fix formatting return with comments in parentheses ( #19188 )
2023-08-21 10:51:40 +03:00
yuyi
c3be85e87d
cgen: fix match with comptime if expr in branch ( #19189 )
2023-08-21 10:46:40 +03:00
Adam Oates
2ce7109b30
docs: add undocumented behavior ( #19177 )
2023-08-21 10:45:37 +03:00
Delyan Angelov
50ed7316eb
scanner,checker,parser: tag some frequently called functions with [direct_array_access]
2023-08-19 23:57:20 +03:00
yuyi
52e481ad1a
checker: check error for sumtype in array ( #19183 )
2023-08-19 19:32:38 +03:00
Casper Küthe
6b3ffe8574
orm: add OR in where on update and delete ( #19172 )
2023-08-19 19:31:55 +03:00
Jaume
c9e6c672fa
vweb: avoid the controllers having to be defined in specific order ( #19182 )
2023-08-19 13:18:00 +03:00
Delyan Angelov
5c35e9b902
tests: fix compiler notices for the REPL test runner, use encoding.hex
instead of the compress
module in import_alias.repl
2023-08-19 11:30:21 +03:00
yuyi
8b96175303
checker: fix const from comptime if expr ( #19179 )
2023-08-19 11:18:20 +03:00
Delyan Angelov
5f595a60f7
tests: improve formatting of enum_bitfield_64bit_test.v
2023-08-19 07:38:28 +03:00
Alexander Medvednikov
aef83bae62
all: @[attr]
syntax
2023-08-18 18:29:15 +03:00
yuyi
f4eede8d23
cgen: fix using custom enum static from_string() ( #19171 )
2023-08-18 18:12:34 +03:00
Delyan Angelov
56644b2b52
tools: add SKIP_TESTS env variable support for parser_speed.v and scanner_speed.v
2023-08-18 09:19:27 +03:00
Delyan Angelov
68d962f6b3
v: make all .trace() methods generic on the type of the passed expression
...
That is more efficient, than always converting the expression to a string
at the callsites, since most of the times the file selector will not match,
and in those cases, the expression will not have to be converted to a string at all.
2023-08-18 09:01:29 +03:00
Swastik Baranwal
c862394358
parser: disallow an empty chan
type ( #19167 )
2023-08-17 23:11:02 +03:00
Turiiya
4908ec57e2
checker: disallow taking the address of consts with int literal values ( #19160 )
2023-08-17 22:00:14 +03:00
yuyi
757d26cd89
checker: check enum static from_string arguments errors ( #19163 )
2023-08-17 21:49:45 +03:00