Commit graph

16266 commits

Author SHA1 Message Date
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) 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
Delyan Angelov
dc6e31787e
builtin: fix sizeof(C.BOOL) (windows specific) (#19589) 2023-10-17 18:18:48 +03:00
Larpon
bbb4a802e6
sokol: update sokol_gfx.h to match upstream @ d98c8b9 (fixes macOS compile error) (#19590) 2023-10-17 17:58:35 +03:00
sibkod
25777bde4e
crypto.bcrypt: fix bcrypt failure for valid pass and hash (fix #19558) (#19569) 2023-10-16 14:12:57 +03:00
Adam Oates
b8d47646f0
json2: add support for nested structs (#19579) 2023-10-16 14:04:37 +03:00
pomid
7c4029c515
net.conv: add varinttou64 and u64tovarint functions, for the variable unsigned integer encoding, described in rfc9000 (for QUIC) (#19568) 2023-10-16 14:01:30 +03:00
Delyan Angelov
71e8a3f82b
checker, builder, pref: support -dump-defines - to help explore all the available user and system defines for a given program (#19576) 2023-10-16 13:59:12 +03:00
Delyan Angelov
0fb38edcb6
ci: fix vcreate_input_test.v on FreeBSD (expect is in /usr/local/bin there, if installed) (#19578) 2023-10-16 10:11:51 +03:00
Swastik Baranwal
44045c650b
checker: allow casted integeral types in match ranges (#19572) 2023-10-16 02:35:30 +03:00
Delyan Angelov
eb82a72012
ci: vfmt vlib/os/process_windows.c.v and vlib/os/os.c.v 2023-10-16 01:48:35 +03:00
Delyan Angelov
f54f156d25 clipboard: fix v -cstrict -cc gcc vlib/clipboard/clipboard_test.v 2023-10-15 21:21:29 +03:00
Alexander Medvednikov
4bc9a8f8d8 checker: fix C.xx = C.yy aliases 2023-10-15 16:18:00 +03:00
Alexander Medvednikov
c947c140ee builtin: windows definitions 2023-10-15 07:43:57 +03:00
zakuro
1efdb88c55
crypto: fix blowfish (#19567) 2023-10-15 04:43:35 +03:00
Alexander Medvednikov
536bf213be builtin: define C.BOOL on Windows 2023-10-14 23:42:17 +03:00
Alexander Medvednikov
6f79eecce0 checker: bring back pascal case check for aliases 2023-10-14 22:55:19 +03:00