Commit Graph

76 Commits (1ccd1979a4b67f265e2876a7714a22d9daa91811)

Author SHA1 Message Date
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
Alexander Medvednikov aac8503d83 http: use optionals (finally) 2019-07-31 22:15:24 +02:00
Alexander Medvednikov d3d4ee6b39 http: replace escape() with escape_url() 2019-07-31 20:57:34 +02:00
Vitaly Takmazov 550e8cd0cb http.escape and http.unescape for windows 2019-07-31 19:23:17 +02:00
Alexander Medvednikov 27d09ed514 http: make escape public on Windows 2019-07-31 04:00:43 +02:00
Delyan Angelov 4a1970a322 http: return ?string 2019-07-29 19:18:26 +02:00
Alexander Medvednikov 207bab5f79 generics, vweb, comptime codegen, etc 2019-07-29 18:24:48 +02:00
Nick Treleaven 6eb8766e59 http.new_request: Don't ignore mutated variables url, data 2019-07-24 00:32:41 +02:00
Alexander Medvednikov 390394b56b string: make substr() copy the data, like in Java and C#; remove .cstr()
this makes managing memory used by strings much easier
V strings are now fully compatible with C strings
2019-07-22 17:03:45 +02:00
Alexander Medvednikov 8aa7da1be1 http_win: fix BUF_MAX 2019-07-16 15:29:27 +02:00
Alexander Medvednikov 449fd372f9 *_nix.v support 2019-07-15 19:23:09 +02:00
Alexander Medvednikov 5a9116b697 http: make do() public 2019-07-15 16:06:23 +02:00
Nick Treleaven d8df8474bc http_win.do: Reject URL without '://'
Before it would accept 'domain/path' but set host = 'ath'.
2019-07-15 15:43:54 +02:00
Alexander Medvednikov 3b1964e9df migrate remaining code to the new maps 2019-07-14 22:26:21 +02:00
unknown-v 3281e44e84 http_win : fix buf length
Line 157 : buf[nr_read] = 0 
set the null character '\0'
2019-07-13 12:30:21 +02:00
Nick Treleaven 4c4e0c690c Fix missing rename of pos -> hpos; move `s` next to use site 2019-07-12 20:43:42 +02:00
Alexander Medvednikov 5baff9beda http: Windows fixes 2019-07-12 16:26:02 +02:00
pverghese 05ef1e0681 Removed unnecessary printf statement which corrupts output of http.get 2019-07-03 16:13:52 +02:00
Alexander Medvednikov 52f93ae45f fix http 2019-07-01 02:58:49 +02:00
Alexander Medvednikov 36d343e931 fix examples 2019-07-01 02:52:50 +02:00
Alexander Medvednikov 4594d78bd6 move all vlib modules to vlib/ 2019-06-29 12:00:31 +02:00