Delyan Angelov
|
fbdc992b30
|
net.http, veb, vweb, x.vweb: add mime type text/x-vlang , for .v and .vsh file extensions (#21851)
|
2024-07-12 14:23:50 +03:00 |
|
yuyi
|
209063ffd0
|
fmt: implement wrapping function's super long arguments (fix #15545, fix #21643) (#21782)
|
2024-07-02 23:10:00 +03:00 |
|
FNEOSLDI
|
094c30c347
|
net.http: correct Response.status() method comment, to indicate returning of a Status enum field, instead of struct (#21735)
|
2024-06-26 07:45:16 +03:00 |
|
Turiiya
|
5b9358279a
|
vlib: simplify byte character conditions by using methods like is_capital, is_lower, is_letter etc (#21725)
|
2024-06-25 09:55:08 +03:00 |
|
Delyan Angelov
|
8504beaaab
|
net.http: implement http.download_file_with_progress/2, saving each chunk, as it is received, without growing the memory usage (#21633)
|
2024-06-02 10:26:37 +03:00 |
|
Delyan Angelov
|
a1ad658d27
|
net.http: change default http.Server listening address to :9009, to avoid conflicts with tools, that start their own http servers on 8080 like bytehound (#21570)
|
2024-05-25 14:30:10 +03:00 |
|
Delyan Angelov
|
dbc6b50cda
|
vlib: make ./v -Wimpure-v -W test vlib/ pass on Linux (#21554)
|
2024-05-23 16:21:01 +03:00 |
|
Turiiya
|
8dafca126f
|
test, ci: fix network tests; update and activate tests in periodic ci (#21339)
|
2024-04-25 02:15:22 +03:00 |
|
Delyan Angelov
|
354b21003a
|
net.http.file: fix usage examples (add closing apostrophes)
|
2024-04-23 17:20:05 +03:00 |
|
Delyan Angelov
|
4f0a8b5ee2
|
net.http.file: support index_file (index.html by default), and auto_index (true by default) parameters to file.serve()
|
2024-04-22 08:28:51 +03:00 |
|
Turiiya
|
8aa9314a99
|
vlib: refactor empty string checks to use s == '' or s != '' , instead of s.len == 0 (#21300)
|
2024-04-18 02:44:31 +03:00 |
|
Turiiya
|
1a35a783f1
|
breaking,checker: disallow initializing private struct fields outside structs module (#21183)
|
2024-04-12 13:53:02 +03:00 |
|
Turiiya
|
be0986dc52
|
net.http: fix panic on empty addr, cleanup listen_and_serve Server method (#21164)
|
2024-04-02 11:12:43 +03:00 |
|
Alexander Medvednikov
|
acf0107493
|
builtin: str.last_index(); pref: hide-auto-str;
|
2024-03-28 18:26:30 +03:00 |
|
Turiiya
|
f77bb32044
|
all: fix typos (#21089)
|
2024-03-25 12:18:27 +02:00 |
|
Alexander Medvednikov
|
b2df3264a7
|
gg: fix empty circle in native; http: post_form_with_cookies; veb: print veb action in html errors
|
2024-03-11 18:21:06 +03:00 |
|
GGRei
|
2c6a8c536c
|
net.http: add a temporary fix for the intermittent segfault with http.get_ text/1 and -prod -cc gcc 13.2.0 (fix #20506) (#20660)
|
2024-01-26 11:33:09 +02:00 |
|
Delyan Angelov
|
856984aa14
|
cleanup: turn .microseconds() ... us to .microseconds() ... µs (#20588)
|
2024-01-20 07:16:24 +02:00 |
|
Anton
|
763f94388b
|
all: update copyright year (#20334)
|
2024-01-01 23:29:54 +02:00 |
|
koplenov
|
76e1ac3db3
|
net.http: support -d no_vschannel on windows, to fix long waits, while connecting on some systems (#20265)
|
2023-12-28 11:49:25 +02:00 |
|
el-gringo
|
5be5cd9be1
|
websocket: enable using an already existing connection (from vweb or another http server) (#20103)
|
2023-12-19 14:16:07 +02:00 |
|
Delyan Angelov
|
de3b2b00a3
|
os, net.http.file: add a folder listing to the http static file server, started by file.serve/1 (#20192)
|
2023-12-16 08:06:30 +02:00 |
|
Delyan Angelov
|
687b33a137
|
net.http.file: fix oneline usage examples in the comments of file.serve/1
|
2023-12-15 20:34:12 +02:00 |
|
Swastik Baranwal
|
6e47782bdd
|
net.http: remove unused read_set_cookies function (#20187)
|
2023-12-15 16:53:40 +02:00 |
|
Felipe Pena
|
42a8c7e16b
|
net.http: fix http.delete() checking (#20131)
|
2023-12-10 14:32:30 +02:00 |
|
Alexander Medvednikov
|
f09826e928
|
all: unwrap const() blocks
|
2023-11-25 10:02:51 +03:00 |
|
Turiiya
|
09ed7d74aa
|
vlib, tools: make minor improvements, cleanup (#19950)
|
2023-11-21 17:45:45 +02:00 |
|
Joe C
|
1e3d38255f
|
parser: deprecate old attribute syntax & update remaining (missed) attributes (#19879)
|
2023-11-15 13:07:59 +02:00 |
|
Joe C
|
757929392e
|
all: update attributes to use new syntax
|
2023-11-15 16:16:01 +11:00 |
|
Alexander Medvednikov
|
e7cad4f55d
|
net,vweb: reduce allocations by ~80%
|
2023-11-11 01:10:34 +03:00 |
|
Roman
|
e4f55fb299
|
net.http: add socks5|http(s) proxy support [Linux] (#19676)
|
2023-11-09 23:56:16 +02:00 |
|
JalonSolov
|
29d60280c4
|
net.http: increase max_redirects to 16 (#19743)
|
2023-11-03 06:57:16 +02:00 |
|
yuyi
|
7681a0b46d
|
checker: check error of implementing other module private interface (fix #19620) (#19688)
|
2023-10-29 14:20:16 +02:00 |
|
shove
|
b3b68e418d
|
net.http: add a retry mechanism to http.fetch(), when the socket inevitably errors (#19660)
|
2023-10-27 12:27:54 +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 |
|
Turiiya
|
9051ac8921
|
all: fix typos (#19634)
|
2023-10-23 21:21:15 +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 |
|
shove
|
07390ef4c4
|
net, net.http: fix C.FD_ISSET declaration (#19594)
|
2023-10-19 11:29:13 +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 |
|
Alexander Medvednikov
|
c947c140ee
|
builtin: windows definitions
|
2023-10-15 07:43:57 +03:00 |
|
Delyan Angelov
|
d93488b141
|
vlib: add net.http.file, allowing for v -e "import net.http.file; file.serve()" (#19348)
|
2023-09-15 00:45:02 +03:00 |
|
shuankio
|
a0490f2b67
|
net.http: fix post error with https on windows (#19334)
|
2023-09-12 15:43:13 +03:00 |
|
yuyi
|
55ca8d8d8e
|
fmt: align the custom values of the enum fields (#19331)
|
2023-09-12 14:44:38 +03:00 |
|
Delyan Angelov
|
c7ebc477b0
|
net.http: default explicitly to Method.get for http.Request and http.FetchConfig too
|
2023-09-06 12:03:19 +03:00 |
|
Delyan Angelov
|
330dda59c8
|
net.http: fix http.fetch(), without explicit method (default again to .get, not to .acl)
|
2023-09-06 11:59:47 +03:00 |
|
Turiiya
|
f755118e7c
|
vlib: update doc comments (#19231)
|
2023-08-30 08:50:00 +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 |
|
shove
|
11a8a46ade
|
tests: cleanup test cases (#19104)
|
2023-08-13 13:36:08 +03:00 |
|
Delyan Angelov
|
41f99c1abf
|
tools: add cmd/tools/show_ancient_deprecations.v, to cleanup ancient functionality, deprecated over an year ago (#18946)
|
2023-07-22 19:13:58 +03:00 |
|