59378dce46 
								
							
								 
							
						 
						
							
							
								
								compiler/vlib: replace substr/left/right with `[start..end]` everywhere  
							
							
							
						 
						
							2019-10-27 10:03:15 +03:00  
				
					
						
							
							
								 
						
							
							
								ed55826686 
								
							
								 
							
						 
						
							
							
								
								log/net: switch => match  
							
							
							
						 
						
							2019-10-27 09:45:03 +03:00  
				
					
						
							
							
								 
						
							
							
								a83aa28a67 
								
							
								 
							
						 
						
							
							
								
								urllib: switch => match  
							
							
							
						 
						
							2019-10-25 17:54:34 +03:00  
				
					
						
							
							
								 
						
							
							
								892d1c6aab 
								
							
								 
							
						 
						
							
							
								
								vweb: first step to revive it  
							
							
							
						 
						
							2019-10-24 22:46:58 +03:00  
				
					
						
							
							
								 
						
							
							
								3d6bdc2dc3 
								
							
								 
							
						 
						
							
							
								
								public enums + more public structs (libs/examples/tests)  
							
							
							
						 
						
							2019-10-24 13:24:50 +03:00  
				
					
						
							
							
								 
						
							
							
								a06e2298f0 
								
							
								 
							
						 
						
							
							
								
								compiler: detect and error on public init function & remove empty init functions  
							
							
							
						 
						
							2019-10-12 13:54:58 +03:00  
				
					
						
							
							
								 
						
							
							
								51388fea75 
								
							
								 
							
						 
						
							
							
								
								compiler: module init function & init consts for cached modules  
							
							
							
						 
						
							2019-10-12 01:17:37 +03:00  
				
					
						
							
							
								 
						
							
							
								a5ccc4673b 
								
							
								 
							
						 
						
							
							
								
								http: handle and print socket errors  
							
							
							
						 
						
							2019-10-10 20:24:36 +03:00  
				
					
						
							
							
								 
						
							
							
								f86a52aae6 
								
							
								 
							
						 
						
							
							
								
								socket: reuse socket parameters in addrinfo hints  
							
							
							
						 
						
							2019-10-10 20:09:43 +03:00  
				
					
						
							
							
								 
						
							
							
								f8fefd5a60 
								
							
								 
							
						 
						
							
							
								
								urllib: rem underscore methods from; add strings index_bytes  
							
							
							
						 
						
							2019-10-10 20:04:11 +03:00  
				
					
						
							
							
								 
						
							
							
								0796e1dd69 
								
							
								 
							
						 
						
							
							
								
								socket: no need to initialize WinSock on each request  
							
							
							
						 
						
							2019-10-09 21:01:31 +03:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								8974aa4513 
								
							
								 
							
						 
						
							
							
								
								compiler/vlib: change `_ :=` to `_ =` and disable `_ :=`  
							
							
							
						 
						
							2019-09-25 15:10:45 +03:00  
				
					
						
							
							
								 
						
							
							
								d2d75f3824 
								
							
								 
							
						 
						
							
							
								
								parser: do not allow "int?", only "?int"  
							
							
							
						 
						
							2019-09-23 23:17:06 +03:00  
				
					
						
							
							
								 
						
							
							
								0e39df24d4 
								
							
								 
							
						 
						
							
							
								
								net: make socket.recv return the allocated buffer and the message length  
							
							
							
						 
						
							2019-09-23 19:48:18 +03:00  
				
					
						
							
							
								 
						
							
							
								f1d5f8e2bf 
								
							
								 
							
						 
						
							
							
								
								parser: allow `!` only with bools  
							
							
							
						 
						
							2019-09-21 18:21:45 +03:00  
				
					
						
							
							
								 
						
							
							
								a42b4e219c 
								
							
								 
							
						 
						
							
							
								
								net.socket: windows fixes and test  
							
							... 
							
							
							
							* added missing ai_canonname in addrinfo structure
* ai_canonname, ai_addr and ai_addrlen must be zeroed before getaddrinfo call
* write() must not be used on windows sockets
* added (Socket).get_port() function which is useful when socket was initialized with 0 (random) port
* tests is fixed, test server started listening on random port to avoid conflicts 
							
						 
						
							2019-09-20 17:04:39 +03:00  
				
					
						
							
							
								 
						
							
							
								f077fbd32d 
								
							
								 
							
						 
						
							
							
								
								vlib: change `[0;n]` to `[0].repeat(n)`  
							
							
							
						 
						
							2019-09-15 12:26:05 +03:00  
				
					
						
							
							
								 
						
							
							
								7fc678c961 
								
							
								 
							
						 
						
							
							
								
								fix urllib_test.v  
							
							
							
						 
						
							2019-09-09 14:21:18 +03:00  
				
					
						
							
							
								 
						
							
							
								db110759ab 
								
							
								 
							
						 
						
							
							
								
								vweb: fix warnings  
							
							
							
						 
						
							2019-09-03 19:10:56 +03:00  
				
					
						
							
							
								 
						
							
							
								3db50f724b 
								
							
								 
							
						 
						
							
							
								
								net.urllib: Update with latest changes from go lib  
							
							
							
						 
						
							2019-08-27 22:44:41 +03:00  
				
					
						
							
							
								 
						
							
							
								7fd9827318 
								
							
								 
							
						 
						
							
							
								
								all: add missing includes  
							
							
							
						 
						
							2019-08-24 02:48:47 +03:00  
				
					
						
							
							
								 
						
							
							
								f61b14584a 
								
							
								 
							
						 
						
							
							
								
								remove "import const" everywhere  
							
							
							
						 
						
							2019-08-23 00:09:03 +03:00  
				
					
						
							
							
								 
						
							
							
								ffb6c6f5b4 
								
							
								 
							
						 
						
							
							
								
								net: add udp socket support and a simple udp server example.  
							
							
							
						 
						
							2019-08-22 04:01:04 +03:00  
				
					
						
							
							
								 
						
							
							
								51818346df 
								
							
								 
							
						 
						
							
							
								
								http: support plain http protocol  
							
							
							
						 
						
							2019-08-21 20:04:06 +03:00  
				
					
						
							
							
								 
						
							
							
								cf23c289ec 
								
							
								 
							
						 
						
							
							
								
								tests: cleanup  
							
							
							
						 
						
							2019-08-20 11:18:12 +03:00  
				
					
						
							
							
								 
						
							
							
								49205dcce3 
								
							
								 
							
						 
						
							
							
								
								examples: fix maps warnings  
							
							
							
						 
						
							2019-08-17 02:55:11 +03:00  
				
					
						
							
							
								 
						
							
							
								a5af903362 
								
							
								 
							
						 
						
							
							
								
								Fixed typo  
							
							
							
						 
						
							2019-08-16 09:02:09 +03:00  
				
					
						
							
							
								 
						
							
							
								8a2714b35a 
								
							
								 
							
						 
						
							
							
								
								fix typo  
							
							
							
						 
						
							2019-08-12 11:03:49 +03:00  
				
					
						
							
							
								 
						
							
							
								0bcc53c366 
								
							
								 
							
						 
						
							
							
								
								vlib: fix mutable args  
							
							
							
						 
						
							2019-08-07 09:53:33 +02:00  
				
					
						
							
							
								 
						
							
							
								34e0b164eb 
								
							
								 
							
						 
						
							
							
								
								make function arguments immutable by default  
							
							
							
						 
						
							2019-08-07 08:59:00 +02:00  
				
					
						
							
							
								 
						
							
							
								69932758db 
								
							
								 
							
						 
						
							
							
								
								net.urllib: update enum / const style  
							
							
							
						 
						
							2019-08-06 13:01:05 +02:00  
				
					
						
							
							
								 
						
							
							
								43b81688f6 
								
							
								 
							
						 
						
							
							
								
								socket: WSACleanup should not be called on socket close  
							
							
							
						 
						
							2019-08-06 01:50:45 +02:00  
				
					
						
							
							
								 
						
							
							
								8d3617b3de 
								
							
								 
							
						 
						
							
							
								
								fix fn_test.v and urllib.v  
							
							
							
						 
						
							2019-08-05 03:31:22 +02:00  
				
					
						
							
							
								 
						
							
							
								f306fbb2f0 
								
							
								 
							
						 
						
							
							
								
								net connect: fix error/return type  
							
							
							
						 
						
							2019-08-04 01:46:55 +02:00  
				
					
						
							
							
								 
						
							
							
								9e76d8a638 
								
							
								 
							
						 
						
							
							
								
								net.urllib: fix values (used for query string/form data)  
							
							
							
						 
						
							2019-08-02 23:28:55 +02:00  
				
					
						
							
							
								 
						
							
							
								7bf1c7f005 
								
							
								 
							
						 
						
							
							
								
								net.urllib: change confusing name of internal method  
							
							
							
						 
						
							2019-08-02 08:52:37 +02:00  
				
					
						
							
							
								 
						
							
							
								be0796ce14 
								
							
								 
							
						 
						
							
							
								
								urllib: fix error message  
							
							
							
						 
						
							2019-08-02 06:00:34 +02:00  
				
					
						
							
							
								 
						
							
							
								8369525d8a 
								
							
								 
							
						 
						
							
							
								
								net.urllib: fix unescape  
							
							
							
						 
						
							2019-08-02 00:31:47 +02:00  
				
					
						
							
							
								 
						
							
							
								d3c89273e8 
								
							
								 
							
						 
						
							
							
								
								net.urllib module  
							
							
							
						 
						
							2019-08-01 15:01:03 +02:00  
				
					
						
							
							
								 
						
							
							
								207bab5f79 
								
							
								 
							
						 
						
							
							
								
								generics, vweb, comptime codegen, etc  
							
							
							
						 
						
							2019-07-29 18:24:48 +02:00  
				
					
						
							
							
								 
						
							
							
								d72c859bf9 
								
							
								 
							
						 
						
							
							
								
								net: socket error handling  
							
							
							
						 
						
							2019-07-24 00:31:39 +02:00  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								d6ddfa124d 
								
							
								 
							
						 
						
							
							
								
								Fixed get_error_msg for *nix  
							
							... 
							
							
							
							* Fixed undefined: get_error_msg 
							
						 
						
							2019-07-18 20:21:48 +02:00  
				
					
						
							
							
								 
						
							
							
								9d4b4df54f 
								
							
								 
							
						 
						
							
							
								
								net : fix error msg  
							
							... 
							
							
							
							from 
os.hostname() cannot get the host name
to
net.hostname() cannot get the host name 
							
						 
						
							2019-07-17 18:42:10 +02:00  
				
					
						
							
							
								 
						
							
							
								251e32948e 
								
							
								 
							
						 
						
							
							
								
								fix Windows build: move hostname to net/  
							
							
							
						 
						
							2019-07-17 13:50:58 +02:00  
				
					
						
							
							
								 
						
							
							
								449fd372f9 
								
							
								 
							
						 
						
							
							
								
								*_nix.v support  
							
							
							
						 
						
							2019-07-15 19:23:09 +02:00  
				
					
						
							
							
								 
						
							
							
								5dfd5fa3e7 
								
							
								 
							
						 
						
							
							
								
								net: add windows socket support  
							
							
							
						 
						
							2019-07-14 00:04:45 +02:00  
				
					
						
							
							
								 
						
							
							
								5e0ae9a429 
								
							
								 
							
						 
						
							
							
								
								net: added listen_backlog to enable custom backlog  
							
							
							
						 
						
							2019-07-03 16:13:02 +02:00  
				
					
						
							
							
								 
						
							
							
								53e439bc99 
								
							
								 
							
						 
						
							
							
								
								setsockopt arg optvalue supposed to be ptr  
							
							
							
						 
						
							2019-07-02 21:49:05 +02:00  
				
					
						
							
							
								 
						
							
							
								859c8ffdb8 
								
							
								 
							
						 
						
							
							
								
								net: socket send and recv  
							
							
							
						 
						
							2019-07-02 19:45:38 +02:00  
				
					
						
							
							
								 
						
							
							
								571410dd48 
								
							
								 
							
						 
						
							
							
								
								net: low level socket api  
							
							
							
						 
						
							2019-07-01 17:31:38 +02:00  
				
					
						
							
							
								 
						
							
							
								fde0e39abf 
								
							
								 
							
						 
						
							
							
								
								net: clean up  
							
							
							
						 
						
							2019-06-30 21:00:22 +02:00  
				
					
						
							
							
								 
						
							
							
								6a1b16c72c 
								
							
								 
							
						 
						
							
							
								
								net: listen and accept  
							
							
							
						 
						
							2019-06-30 20:57:25 +02:00  
				
					
						
							
							
								 
						
							
							
								9062338cb4 
								
							
								 
							
						 
						
							
							
								
								fix compilation  
							
							
							
						 
						
							2019-06-30 20:48:26 +02:00  
				
					
						
							
							
								 
						
							
							
								61b51f6149 
								
							
								 
							
						 
						
							
							
								
								os.File clean up + socket.v (dial())  
							
							
							
						 
						
							2019-06-30 20:28:50 +02:00