16545 Commits

Author SHA1 Message Date
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) weekly.2023.42 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
Alexander Medvednikov
82a3e67d3f time: use C.BOOL again on Windows 2023-10-14 22:21:19 +03:00
Alexander Medvednikov
8f76a062dd checker: remove time_t hack now that C aliases are supported 2023-10-14 18:50:15 +03:00
Alexander Medvednikov
545ee1ae23 checker: stricter rules for C types; C aliases; sokol fixes 2023-10-14 18:31:44 +03:00
pomid
5f1e6815cd
examples: fix net_udp_server_and_client.v with latest V and latest net module (listen on 0.0.0.0, and dial to 127.0.0.1) (#19564) 2023-10-14 17:08:26 +03:00
Turiiya
d851bbbdca
ci: extract all time zone testing, into a separate time_ci.yml (#19563) 2023-10-14 17:01:49 +03:00
Turiiya
d30cbdb351
ci: update c2v workflow, translate doom on macOS (#19562) 2023-10-14 16:56:40 +03:00
Marco Santos
a8743e1c51
benchmark: add new methods b.record_measure/1 and b.all_recorded_measures/0 (#19561) 2023-10-13 18:55:28 +03:00
Delyan Angelov
2af135d716
gg: fix the alignment of the bottom border of draw_rounded_rect_empty on macos and linux 2023-10-13 01:40:34 +03:00
Delyan Angelov
e0e0987117
vweb: add mime type support for static .md files 2023-10-12 13:41:56 +03:00
Turiiya
06fb8f0ffa
vcreate: don't use template names as project descriptions (#19439) 2023-10-12 07:10:28 +03:00
Adam Oates
11e67a1a5f
gg: fix draw_rounded_rect_empty (fixes #19470) (#19552) 2023-10-12 03:18:42 +03:00
yuyi
02434807f3
ast: fix error in is_int() (#19551) 2023-10-12 03:17:00 +03:00
Turiiya
2332c17bea
tools: fix typos (#19546) weekly.2023.41 2023-10-11 03:16:59 +03:00
Swastik Baranwal
491b5f7614
math.fractions: use operator overloading and deprecate old functions (#19547) 2023-10-11 03:16:11 +03:00
Turiiya
c360e03780
ci: fix other_ci.yml (#19545) 2023-10-10 21:45:08 +03:00
Turiiya
3e50ba0856
ci: update and cleanup the ci related code (#19541) 2023-10-10 21:39:00 +03:00
Turiiya
c4ee940047
tests: fix input tests with expect, not covering false negatives (#19518) 2023-10-10 20:37:21 +03:00
Wertzui123
a1c16a76be
term.ui: fix exception thrown in GetConsoleMode on windows (stop abusing consts as globals) (#19529) 2023-10-10 20:34:06 +03:00
felixmaker
2ce209dac5
json: update the example in the module's README.md (#19544) 2023-10-10 20:26:55 +03:00
yuyi
192d7dba04
markused: cleanup in mark_used(), use robust index names, instead of the much more brittle integer values (#19543) 2023-10-10 16:42:12 +03:00
yuyi
582d593a79
all: fix new int type promotion rules and cleanup native gen() (#19535) 2023-10-10 09:13:09 +03:00