Turiiya
f755118e7c
vlib: update doc comments ( #19231 )
2023-08-30 08:50:00 +03:00
Xavier Mitault
78c34326f1
flag: remove warning in the example in the readme ( #19238 )
2023-08-30 08:47:29 +03:00
Alexander Medvednikov
c6412597ab
builder: add -fwrapv to fix UB overflow
2023-08-29 23:39:46 +03:00
Turiiya
80db36496b
time: check if a day is a valid day of its month ( #19232 )
2023-08-29 22:45:21 +03:00
yuyi
6af17a86e2
flag: cleanup in flag.v ( #19237 )
2023-08-29 18:08:14 +03:00
yuyi
34842b1bf8
v.token: add inline next_to() and cleanup related calls ( #19226 )
2023-08-28 16:06:16 +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
yuyi
570a12da8d
cgen: fix generic struct with option fn field ( #19218 )
2023-08-25 22:50:53 +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
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
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
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
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
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
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
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
squidink7
f4d2ec70a9
wasm: add a -wasm-stack-top flag to compiler ( #19157 )
2023-08-17 20:39:40 +03:00
yuyi
c5e1c8ee98
ast, checker, cgen: implement enum static from_string(name string)
( #19156 )
2023-08-17 16:53:54 +03:00
Delyan Angelov
9e0c2943e9
os: fix os.execute('x 2> stderr.txt') on windows ( #19155 )
2023-08-17 10:39:31 +03:00
Turiiya
6df8ca212b
arrays: fix examples for find_first
and find_last
( #19153 )
2023-08-17 07:15:37 +03:00
yuyi
d0e605750b
checker: fix assigning array slice in struct init ( #19150 )
2023-08-16 13:33:58 +03:00
shove
06e2bc5df2
checker: fix an inappropriate variable name ( #19148 )
2023-08-16 13:26:13 +03:00
yuyi
815439a381
checker: fix assigning an array slice ( fix #19120 ) ( #19137 )
2023-08-15 20:37:51 +03:00