1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

588 Commits

Author SHA1 Message Date
Turiiya
b2ca3ac089
net.html: fix semantic inconsistencies of tag retrieving functions (#18558) 2023-06-27 20:10:31 +03:00
Joe Koop
8b25c4c9a3
net.http: copy IANA's list of methods to the http.Method enum (#18508) 2023-06-22 09:31:34 +03:00
yuyi
126fbe8e33
scanner: fix indent error for line comment generated by vdoc (#18422) 2023-06-13 08:50:02 +03:00
Felipe Pena
54eabcb242
cgen: make the default values for all enums, be their first listed entry, even if it was enum MyEnum { first = 999 second}, not just the defaul 0 (#18388) 2023-06-11 21:57:36 +03:00
Casper Kuethe
4174048f96
vweb: add host option to controller (#18303) 2023-05-30 14:22:23 +02:00
xiusin
43bc85d3bb
http: add workers to improve the server's concurrent capacity. (#18271) 2023-05-27 01:57:32 +03:00
Alexander Medvednikov
c45c36ccce orm: improve an fkey error a bit 2023-05-24 18:30:44 +02:00
Turiiya
1be798be49
net.html: remove unnecessary comment (#18230) 2023-05-22 07:46:26 +03:00
kbkpbot
a10690b934
net.conv: use a pure v implementation instead of C.hton etc (#18226) 2023-05-22 06:59:33 +03:00
xiusin
e4c769d072
net.http: add remote-addr header (#18208) 2023-05-21 15:23:24 +02:00
Alexander Medvednikov
cc47c78f39 net.mbedtls: make compile with -prod 2023-05-18 11:31:53 +02:00
kbkpbot
c8d2098a14
net.websocket: make thread safe/concurrent (#18179) 2023-05-18 11:27:00 +02:00
Turiiya
67e3061ea1
net: fix typos (#18164) 2023-05-12 09:31:27 +03:00
Turiiya
e2e6c9660c
net.html: add &Tag get_tag methods to find first occurrence (#18139) 2023-05-09 00:22:52 +03:00
Turiiya
39ec1134fa
net.html: fix parsing of nested quoted strings in code tags (#18123) 2023-05-07 03:55:02 +03:00
Thomas Peißl
353de60158
examples: fix unset reader notice for the smtp/mail example (#17998) 2023-05-02 22:54:57 +03:00
Casper Kuethe
0898f57995
net.html: fix text parsing for inline tags (#18085) 2023-04-30 16:20:24 +03:00
SolarWolf-Code
7981d2854a
net: fix typo give => given (#17955) 2023-04-14 11:15:16 +03:00
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
Josh Montoya
51ad565ed6
vweb: implement worker pool (#17298) 2023-04-02 01:24:33 +02:00
Delyan Angelov
57aa4def62
net.html: do not inject <text> tags for text that contains only newlines and spaces 2023-03-30 23:02:57 +03:00
Alexander Medvednikov
6756d28595 all: 2023 copyright 2023-03-28 22:55:57 +02:00
Delyan Angelov
bfb0932588
net.http.mime: execute v run vlib/net/http/mime/build.vsh to update db.v with the latest official mime types 2023-03-24 08:29:32 +02:00
Brandon
aee76c5819
net: update new_request (#17618) 2023-03-17 22:17:22 +01:00
Heptalon
618c92a13b
urllib: change Values.get to return an option type (#17636) 2023-03-14 08:44:40 +02:00
Wertzui123
77b6bc1c1a
net.websocket: fix a typo (allready -> already) (#17512) 2023-03-06 10:05:17 +02:00
Delyan Angelov
4c13a4c22c
ci: make websocket_test.v more robust (wait till the websocket server are open for connections, instead of relying on fixed time.sleep delays, which are not enough on the CI) 2023-02-25 19:39:14 +02:00
Delyan Angelov
cf47a5f978
ci: fix websocket_test.v after a7ae3bf 2023-02-25 14:46:31 +02:00
Delyan Angelov
a7ae3bfa78
ci: fix all ports for the servers started in websocket_test.v 2023-02-25 14:36:54 +02:00
Ahmad Yasser
cad2cd5583
docs: fix typos using codespell (#17332) 2023-02-16 11:43:39 +02:00
starryskye
2d3508c872
net.websocket: call close event (#17300) 2023-02-13 14:28:41 +02:00
yuyi
90591eb813
checker: check nested struct field with required attr (fix #10913) (#17277) 2023-02-11 11:22:31 +02:00
Delyan Angelov
36dc7faf2c
net.openssl: add manual .str() methods for C.SSL and C.SSL_CTX, fix a bug in the V auto str generation as well. 2023-02-08 13:14:12 +02:00
Delyan Angelov
522a9f5908
net.openssl: add V side declaration for C.SSL_CTX too (fix auto .str() method generation for V structs containing references to C.SSL_CTX) 2023-02-08 12:33:21 +02:00
ChAoS_UnItY
0b7a1cd7ce
v: forbid local variable names, shadowing imported module names (#17197) 2023-02-03 09:09:41 +02:00
walking devel
8cdc554c63
net.html: fix panic in html.parse() called with empty string, remove replacement of \n in the original content (#17206) 2023-02-03 00:32:03 +02:00
Delyan Angelov
a932a8b1ea
net.http: make the errors that parse_status_line returns more informative to make diagnosing problems easier 2023-01-31 15:26:08 +02:00
Nahua
1d4fd53344
net.http: add documentation to http, method, server, and status (#17130) 2023-01-27 13:58:55 +02:00
Delyan Angelov
d2e5c721a0
net: allow more fine grained control over socket shutdowns 2023-01-25 12:34:39 +02:00
Minsoo
d850d3caba
net.html: add get_tags_by_class_name (#17024) 2023-01-18 19:00:46 +02:00
Alexander Medvednikov
aba7bcde85 checker: turn the pointer map notice into a warning and fix all code using it 2023-01-15 22:19:25 +01:00
Delyan Angelov
bfb47005c8
net.openssl, net.mbedtls: add support for -d trace_ssl, for easier tracing of binary protocol problems to https servers 2023-01-15 16:06:46 +02:00
Delyan Angelov
d4320863fe
net: fix compilation with -d trace_tcp_data_write and -d trace_tcp_data_read; add .hex() dumping too for easier diagnosing of binary protocol level problems 2023-01-15 13:25:23 +02:00
Delyan Angelov
33191e4538
ci,pg,net.openssl: fix pkgconfig paths for macos-12 2023-01-12 15:22:08 +02:00
Delyan Angelov
6a32c81070
tests: extract slow tests (prod, valgrind, inout, repl etc), from vlib/v/tests/ to vlib/v/slow_tests/ (#16892) 2023-01-09 23:47:03 +02:00
JalonSolov
aaf3e25c3f
websocket: simplify and better handle handshake (#16829) 2023-01-01 09:04:09 +02:00
Charles WANG
9dbc2afc5b
net.html: fix typo in README.MD (#16747) 2022-12-23 09:37:08 +02:00
Delyan Angelov
9f1239c56e vweb,net: fix vweb crash when the connection was closed prematurely (tested with Chrome on windows, refreshing as fast as possible) 2022-12-17 19:08:59 +02:00
yuyi
ef5be22f81
all: replace generic <> with [] - part 2 (#16536) 2022-11-26 18:23:26 +02:00
Delyan Angelov
cb336c7dc7
net.http: remove ending \r from response.status_msg, add more tests 2022-11-20 16:22:43 +02:00