16331 Commits

Author SHA1 Message Date
Turiiya
a1063bd63d
vcreate: fix v init with project names containing dashes (#19619) 2023-10-25 20:39:14 +03:00
Delyan Angelov
f5c4864db8
tools: print an error message, when make is needed, but is missing on unix 2023-10-25 20:23:07 +03:00
shove
8394b358d8
os: add a convenient way to ignore certain system signals (#19639) 2023-10-25 17:15:26 +03:00
Turiiya
90ac5dc354
builtin: fix doc comments of string split methods (#19643) 2023-10-25 17:13:54 +03:00
ayushrakesh
96a26745c3
readme: fix grammar mistakes (#19650) 2023-10-25 16:39:32 +03:00
shove
0187b8e86a
net: ignore the SIGNPIPE signal at the socket level on macos (#19642) 2023-10-25 15:56:00 +03:00
Larpon
95509cf8fb
all: make all struct C.XYZ -> pub struct C.XYZ (#19651) 2023-10-25 15:01:50 +03:00
Roman
99e0832f17
net.http: support passing an HTTP proxy server in http.fetch (#19606) 2023-10-25 11:41:52 +03:00
BigBlack
714a64daa0
os: fix os.ls(folder) on windows, when a protected folder can not be opened (#19647) 2023-10-25 11:21:58 +03:00
Turiiya
f98bb863ab
vlib: fix typos and formatting (#19649) 2023-10-25 11:19:56 +03:00
Turiiya
fc2e75503f
log: use fn param names that differ from the imported module names in log_test.v (#19646) 2023-10-25 10:28:20 +03:00
Delyan Angelov
25f54669e2
ci: use an unique group name prefix for bootstrapping_works_ci.yml; code-ci- is already used 2023-10-24 12:45:18 +03:00
Tim Marston
6974b113e4
orm: make is_null/is_not_null unary ops; don't bind null in where (#19635) 2023-10-24 12:40:03 +03:00
yuyi
82d2dd59d4
checker, cgen: fix for c stmt with option or result calls (#19641) 2023-10-24 12:32:35 +03:00
Delyan Angelov
6ef4c347a8
ci: add a second stage verification, that the generated v.c is viable in bootstrapping_works_ci.yml (#19640) 2023-10-24 12:01:28 +03:00
Delyan Angelov
a7b9518ce5
ci: use actions/upload-artifact@v3 for .github/workflows/binary_artifact.yml 2023-10-24 11:13:09 +03:00
Alexander Medvednikov
b39b0927d1
Revert "os: add a convenient way to ignore certain system signals (#19632)" (#19637) weekly.2023.43 2023-10-24 03:06:57 +03:00
shove
0c92c31406
os: add a convenient way to ignore certain system signals (#19632) 2023-10-23 23:48:39 +03:00
Turiiya
9051ac8921
all: fix typos (#19634) 2023-10-23 21:21:15 +03:00
Sanyam Jain
407adaa3c1
doc: update packaging_v_for_distributions.md (#19631) 2023-10-23 20:57:47 +03:00
Turiiya
6437d82ee1
checker: warn about byte deprecation, when used as a fn parameter (#19629) 2023-10-23 20:54:28 +03:00
Turiiya
8a8129cd5c
vdoc: add hr style, use prettier version 3 in the CI (#19628) 2023-10-23 10:30:34 +03:00
Turiiya
a132345e08
parser: fix vet bad top level statement error for one file programs (#19613) 2023-10-23 09:54:08 +03:00
shove
166604f775
net, net.http: fixed some ssl library call return values judgment and handling (#19614) 2023-10-23 09:53:19 +03:00
Turiiya
65d71269da
checker: minor cleanup of fn_decl check (#19627) 2023-10-23 03:34:45 +03:00
Delyan Angelov
9982fa4241
ci: v fmt -w vlib/math/stats/stats.v 2023-10-23 03:30:53 +03:00
Turiiya
ee05bb5400
make.bat: use uniform indentation throughout file (#19612) 2023-10-22 23:52:25 +03:00
shove
9ece982fed
parser: minor cleanup in struct_decl (#19622) 2023-10-22 23:48:00 +03:00
Delyan Angelov
af7a2135b7
strings: add Bulder.write_decimal/1 method (write a decimal number, without additional allocations) (#19625) 2023-10-22 23:46:25 +03:00
Delyan Angelov
39310a2177
pref,builder: add support for -macosx-version-min 10.2 and -macosx-version-min 0 (with default of 10.7) (#19626) 2023-10-22 23:04:35 +03:00
Sudoer
65dd69c5d9
math: add missing docstrings for vlib/math functions (#19617) 2023-10-22 22:31:12 +03:00
Ikko Eltociear Ashimine
c526c6f3a2
pref: fix typo in pref.v (#19624) 2023-10-22 22:26:54 +03:00
Delyan Angelov
34cf5221e1
ci: workaround vlib/gg/draw_fns_api_test.v failure with tcc on windows 2023-10-22 18:32:13 +03:00
Turiiya
48a1d6cc6c
github: refine voting info (#19611) 2023-10-21 05:31:25 +03:00
Delyan Angelov
561fd9471f
builtin: fix typos in builtin_writeln_should_write_at_once and builtin_writeln_should_write_at_once user defines 2023-10-20 20:27:31 +03:00
Delyan Angelov
b5cf06f5d6
.gitignore: ignore tags and TAGS files (generated files for vim and emacs) 2023-10-20 19:30:48 +03:00
Sudoer
7e2d737a55
math.unsigned: add missing docstrings for the functions and methods in unint256.v (#19604) 2023-10-20 07:55:14 +03:00
Delyan Angelov
9cb8eac48a
net: use conv.hton* consistently, instead of $if tinyc { conv.hton16(port) } $else { u16(C.htons(port)) } 2023-10-20 06:52:03 +03:00
Felipe Pena
b3d1b041f8
cgen: fix generated code for assignments of if ternary non-opt values to an option struct member (#19485) 2023-10-20 04:51:42 +03:00
Delyan Angelov
90f6010ef7
ci,vweb: fix v check-md vlib/vweb/ 2023-10-20 04:39:36 +03:00
Delyan Angelov
2766c8b4be
vweb: cleanup run_at 2023-10-20 04:07:15 +03:00
Delyan Angelov
93ff40aeed
checker,vweb: reduce noise for private generic methods, while compiling gitly 2023-10-20 03:35:23 +03:00
Sudoer
20a1af3abc
math.unsigned: add missing docstrings for the functions in unint128.v (#19597) 2023-10-19 18:09:09 +03:00
Delyan Angelov
79b068bd2e
ast: check receivers of callexprs too in ast.Table.dependent_names_in_expr (used for finding the constants, that another constant depends on) (#19601) 2023-10-19 17:33:55 +03:00
shove
772eb1ed12
net: fix handling of spurious wake-up signals, lost when calling select() in mbedtls and openssl (continue on C.EINTR) (#19600) 2023-10-19 16:19:37 +03:00
yuyi
29511bcc49
ast: fix segfault while formatting a struct declaration with a nested struct (#19592) 2023-10-19 12:40:04 +03:00
shove
07390ef4c4
net, net.http: fix C.FD_ISSET declaration (#19594) 2023-10-19 11:29:13 +03:00
shove
092358fd24
reflection: fix a panic on reflection.type_of(ptr) like c strings, etc (fix #19595) (#19599) 2023-10-19 11:02:02 +03:00
Delyan Angelov
0a89f3082d
net.http: support passing on_running, on_stopped, on_closed callback functions to http.Server{}, as well as show_startup_message: false. (#19591) 2023-10-18 09:00:42 +03:00
shove
69d62e458b
math.big: fix incorrect division with negative numbers (fix #19585) (#19587) 2023-10-18 00:37:37 +03:00