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

70 Commits

Author SHA1 Message Date
Alexander Medvednikov
892d1c6aab vweb: first step to revive it 2019-10-24 22:46:58 +03:00
joe-conigliaro
a06e2298f0 compiler: detect and error on public init function & remove empty init functions 2019-10-12 13:54:58 +03:00
joe-conigliaro
51388fea75 compiler: module init function & init consts for cached modules 2019-10-12 01:17:37 +03:00
vitalyster
a5ccc4673b http: handle and print socket errors 2019-10-10 20:24:36 +03:00
vitalyster
a1e45e3247 darwin: use system ssl headers 2019-09-27 01:35:25 +03:00
vitalyster
9834ccfcd9 windows: Unicode and IPv6 http/sockets
cleanup schannel implementation (drop NT4.0 compatibility, use unicode strings, etc)
restore http tests
fix socket test: it did not throw before
2019-09-26 22:54:15 +03:00
Delyan Angelov
33df5edc08 http: remove const started, use _ instead 2019-09-25 23:58:32 +03:00
Delyan Angelov
ab291902d8 compiler: remove special case for http__init_module call
tmp fix until `fn init()` is supported
2019-09-25 23:28:51 +03:00
joe-conigliaro
23c84516e2 compiler: error on unused imports 2019-09-23 13:42:20 +03:00
Carlos Esquerdo Bernat
8a77d4482c vweb: fix headers 2019-09-05 15:46:24 +03:00
joe-conigliaro
cd625b04eb http: windows - make https requests work in threads 2019-08-29 12:33:20 +03:00
joe-conigliaro
836cc32d78 http: allocate memory dynamically on Windows 2019-08-25 21:27:12 +03:00
Delyan Angelov
a62e6b127a http: send headers and request data 2019-08-25 01:48:06 +03:00
Alexander Medvednikov
2eb9440095 http: disable the tests for now 2019-08-22 22:48:31 +03:00
Delyan Angelov
51818346df http: support plain http protocol 2019-08-21 20:04:06 +03:00
joe-conigliaro
22348f2245 http: add vschannel_cleanup() back 2019-08-18 13:04:17 +03:00
joe-conigliaro
547241c13c http: make do() return errors instead of panic 2019-08-17 17:02:01 +03:00
Joe Conigliaro
1274cdf0af path must start with / 2019-08-17 16:37:31 +03:00
joe-conigliaro
56566ba3d0 http: follow redirects (openssl & schannel) + fix url params 2019-08-17 15:50:47 +03:00
unknown-v
49205dcce3 examples: fix maps warnings 2019-08-17 02:55:11 +03:00
Delyan Angelov
a0c8fa5bbc http openssl: on linux, prefer newer openssl installations when available 2019-08-13 10:49:07 +03:00
Delyan Angelov
2197c210e7 http: remove superfluous new line in stdout, when making a http request. 2019-08-11 13:15:29 +02:00
Julian Schurhammer
1864e92ff4 parser: disallow statements after a return, branch check $if, $else, switch, and loops correctly 2019-08-10 10:26:42 +02:00
joe-conigliaro
a0b59783a2 vlib.http: fix http schannel & follow redirects & cleanup 2019-08-10 10:05:59 +02:00
Alexander Medvednikov
5a80d587d5 makefile: use latest v.c 2019-08-10 08:21:32 +02:00
joe-conigliaro
d9a83481a5 http: initial windows schannel http support 2019-08-09 12:52:14 +02:00
dm1try
1c38661ff7 openssl: add Brew openssl path
closes #1509
2019-08-08 06:26:28 +02:00
Alexander Medvednikov
4b69d43f9f fix examples 2019-08-07 14:16:10 +02:00
Alexander Medvednikov
b5d67f226f openssl: use system headers on non-Windows systems 2019-08-07 14:09:15 +02:00
Vitaly Takmazov
8d35649d90 openssl_backend: add MacPorts libssl path 2019-08-07 04:28:15 +02:00
Delyan Angelov
7607b00952 http: chunked decoding support 2019-08-07 03:57:47 +02:00
Alexander Medvednikov
6bde860043 http test: not today 2019-08-06 17:31:48 +02:00
Alexander Medvednikov
ac335269b3 bring back the http test 2019-08-06 17:06:44 +02:00
Alexander Medvednikov
b7a6c761b3 openssl: make compile on Linux 2019-08-06 16:35:49 +02:00
joe-conigliaro
60d206c29d http: use urllib.parse 2019-08-06 14:43:09 +02:00
Alexander Medvednikov
1b2e49be1c http: disable the test until windows is fixed 2019-08-06 14:28:27 +02:00
Alexander Medvednikov
3316968266 http: only run the get test on linux/macos for now 2019-08-06 14:15:42 +02:00
Alexander Medvednikov
8b75f2125a http: init_module() to init openssl once 2019-08-06 14:03:01 +02:00
Alexander Medvednikov
eece058f18 h1 2019-08-06 14:03:01 +02:00
Alexander Medvednikov
bea8f6d7e5 http: remove libcurl dependency; replace it with a simple OpenSSL backend 2019-08-06 13:32:09 +02:00
Alexander Medvednikov
7a7b5040e2 http: fix response headers and status code; clean up ft and gg 2019-08-06 03:06:27 +02:00
unknown-v
22eaceb17c http_win: set status_code ,remove unused var 2019-08-05 09:59:07 +02:00
Alexander Medvednikov
b57752e67e vweb: parse request headers 2019-08-01 18:51:21 +02:00
vitalyster
0197f20d47 make_tests.bat: exit with error on failed test 2019-08-01 13:23:36 +02:00
unknown-v
b124539507 Update download_win.v 2019-07-31 23:22:05 +02:00
Alexander Medvednikov
2c7e0c0257 http: fix download_win.v 2019-07-31 23:03:38 +02:00
Alexander Medvednikov
8058bf3750 http_nix.v: remove remaining C code 2019-07-31 23:01:06 +02:00
Alexander Medvednikov
448aaa36f2 http: clean up http_win.v and remove all remaining C code 2019-07-31 22:54:55 +02:00
unknown-v
46154c25b5 Update http_win.v 2019-07-31 22:45:29 +02:00
Alexander Medvednikov
54d2f9921f http: Windows fixes + clean up 2019-07-31 22:27:39 +02:00